static transform publisher - launch file [closed]
Hi.
I have different frames which I create with the static transform publisher in a launch file, for example:
<launch> <node pkg="tf" type="static_transform_publisher" name="kinect_base_link5" args="0 0 0 0 1.57 0 /frame1 /frame2 100"/>
</launch>
I work with a kinect and get from the kinect_aux node the actuel angle from the tilted position from the kinect back. (cur_tilt_angle) So my question is, is it possible that instead I write a fixed value like 1.57, I get this cur_tilt_angle in the launch file?
Thank you for help.
(I use ROS electric.)