Comments (2)
To change parameter values statically, you can specify camera parameter and desired value in the launch file. Launching RealsenseNodelet using modified launch file will set given parameter value in camera.
For Example, to change static color_brightness parameter value,
here is the modified preset launch file camera/launch/realsense_r200_nodelet_standalone_preset.launch with color_brightness parameter added:
<launch>
<arg name="serial_no" default="" />
<arg name="mode" default="preset" />
<arg name="enable_depth" default="true" />
<arg name="enable_color" default="true" />
<arg name="enable_pointcloud" default="true" />
<arg name="enable_tf" default="true" />
<arg name="color_brightness" default="32" />
<node pkg="nodelet" type="nodelet" name="standalone_nodelet" args="manager" output="screen"/>
<node pkg="nodelet" type="nodelet" name="RealsenseNodelet"
args="load realsense_camera/RealsenseNodelet standalone_nodelet">
<param name="serial_no" type="str" value="$(arg serial_no)" />
<param name="mode" type="str" value="$(arg mode)" />
<param name="enable_depth" type="bool" value="$(arg enable_depth)" />
<param name="enable_color" type="bool" value="$(arg enable_color)" />
<param name="enable_pointcloud" type="bool" value="$(arg enable_pointcloud)" />
<param name="enable_tf" type="bool" value="$(arg enable_tf)" />
<param name="color_brightness" type="int" value="$(arg color_brightness)" />
</node>
</launch>
Once you have RealsenseNodelet running, you can also use rqt_reconfigure to change the parameter value dynamically.
Please refer to readme for supported parameters and details on how to change parameters dynamically.
from realsense-ros.
Perfect answer, thank you!
from realsense-ros.
Related Issues (20)
- Humble apt/source conflict? HOT 10
- Ubable to transform PointCloud in rviz HOT 6
- D455 URDF HOT 6
- Understanding signal processing of L515 HOT 9
- No image received in RIVZ HOT 3
- realsense-ros-2.3.1 not building on raspi-4 HOT 7
- Building ROS2 wrapper - locating RealSense SDK 2.0 HOT 3
- WARN:frame's time domain is HARDWARE_CLOCK. Timestamps may reset periodically HOT 8
- ddynamic_reconfigure not working for ROS Noetic HOT 6
- HW not ready error after fixing an IMU issue on Jetson HOT 7
- Low IMU frequency and jitters on Jetson Nano when recording ros2 bag HOT 1
- ROS Realsense package crashes every time. HOT 5
- Health Check? HOT 5
- Turn off low light compensation? HOT 2
- Issue using realsense-ros on Raspberry Pi 4 HOT 17
- slam_toolbox with IntelRealsense publishing empty /map topic HOT 7
- CMake Error
- QOS Setting Pointcloud HOT 11
- "Segmentation fault (core dumped)" installing sdk and wrapper from ros server HOT 6
- unable to find package realsense2_camera / realsense2_camera_node HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realsense-ros.