Skip to content

Using motoros2 with rviz #251

Answered by yongpaulsit
yongpaulsit asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for answering. I was having trouble understanding why rviz was only using the /tf from motoros2 and not from joint_state_publisher edit: robot_state_publisher, after reading your response I looked into the motoros2_config.yaml file and found that I can disable motoros2 publishing to /tf. I set publish_tf to false and changed the joint names to follow the joint_1_s format (not sure if this was necessary).

my motoros2_config.yaml

publish_tf: false
joint_names: [joint_1_s, joint_2_l, joint_3_u, joint_4_r, joint_5_b, joint_6_t]

After updating the config file on YRC1000micro, rviz now shows the Motomini in real time.

Connecting it to my client, I can send joint trajectories.

rqt_graph…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@yongpaulsit
Comment options

Answer selected by yongpaulsit
@gavanderhoorn
Comment options

@yongpaulsit
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants