0
$\begingroup$

Rosanswers logo

Hi, I have a depth camera mounted on a robot and I define its position in the URDF. It works fine in RVIZ. But when RVIZ is not running, I am wondering if the system still knows depth camera position or not. Do I need to broadcast a TF to show the camera position? If yes, will it conflict with the URDF when RVIZ is running? Thanks!


Originally posted by ytosclee on ROS Answers with karma: 97 on 2019-02-21

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

"robot_state_publisher uses the URDF specified by the parameter robot_description and the joint positions from the topic joint_states to calculate the forward kinematics of the robot and publish the results via tf."

Essentially, if you can already see the robot model in RVIZ, your robot_description parameter should be set to the correct URDF. So all you need to do is launch the robot_state_publisher. In ROS tutorials, this scenario is explained here.


Originally posted by janindu with karma: 849 on 2019-02-21

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.