Open bmegli opened 10 months ago
The reason why above problem happens is using absolute paths when advertising ROS topics
Precisely /
, at the beginning of topic_name
should be removed to support relative namespaces correctly
Ok, this is bit more messed up than I thought
rostopic list
/camera/camera/color/camera_info
/camera/camera/color/image_raw
/camera/camera/depth/camera_info
/camera/camera/depth/image_raw
/camera/camera/ir/camera_info
/camera/camera/ir/image_raw
/camera/depth/points
/camera/gyro_accel/sample
/rosout
/rosout_agg
/tf
/tf_static
First camera
above would be coming from roslaunch group ns
automatically added by ROS
Second one is glued in code from camera_name
The same absolute path problem emerges for services
Launching driver under external namespace
One ends up with a mix of namespaced and non-namespaced topics