What's the way to get advanced parameter set by the json_file_path? #2812
-
So I set one of the advanced parameters via the json_file_path. How do I get it from the running node? Sample invoke: I'm looking for a way to query one of the parameters from that camera-settings.json |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @alonsnir You may be able to query the current value of a json-defined Advanced Mode parameter from ROS by writing a Python node script like the examples provided by the RealSense ROS2 wrapper at the link below. https://github.com/IntelRealSense/realsense-ros/tree/ros2-development/realsense2_camera/scripts |
Beta Was this translation helpful? Give feedback.
-
A ROS node script provides a way to interface with RealSense SDK (librealsense) settings that may not be accessible directly from the ROS wrapper. I do not know of a node script example that demonstrates retrieving Advanced Mode parameters from the ROS wrapper though, unfortunately. The Python wrapper of librealsense has an Advanced Mode example script that you could use as a foundation for working out the code for a ROS node script. I do not have a finished Advanced Mode node script for ROS to provide though. |
Beta Was this translation helpful? Give feedback.
A ROS node script provides a way to interface with RealSense SDK (librealsense) settings that may not be accessible directly from the ROS wrapper. I do not know of a node script example that demonstrates retrieving Advanced Mode parameters from the ROS wrapper though, unfortunately.
The Python wrapper of librealsense has an Advanced Mode example script that you could use as a foundation for working out the code for a ROS node script. I do not have a finished Advanced Mode node script for ROS to provide though.
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/python-rs400-advanced-mode-example.py