ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Can't use slidebar of joint_state_publisher window in Rviz

asked 2016-09-02 08:42:16 -0500

rfn123 gravatar image

I've created a xacro file for my robot arm and successfully visualized it in Rviz with the display.launch launchfile from the urdf_tutorials package. However, i can't slide left or right with the slidebar to control the joint movements in the joint_state_publisher GUI window, the only thing I can click is the randomize button below the slide bars. The robot is then moving accordingly, so I think there is no problem with my xacro file.

I have to mention though that I haven't included collision and inertia tags in the xacro file yet, could this be the reason?

Can anyone tell me why I can't use those slidebars, or how I can fix this problem? Thanks a lot!! :)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-09-29 04:57:44 -0500

rfn123 gravatar image

Problem solved. I compared the code of the joint_state_publisher python script in my local package with the code of the python script from source and realized that the part of the GUI code had some discrepancies. I then used sudo apt-get install ros-kinetic-joint-state-publisher and that fixed the problem.

edit flag offensive delete link more
0

answered 2016-09-02 15:48:56 -0500

David Lu gravatar image

A) Are you running a standard Ubuntu?

B) Are you only running the urdf tutorials launch file, or could something else be publishing joint states?

C) Does the window show the joint angle range that you expect?

edit flag offensive delete link more

Comments

Thanks for the quick reply!

A) I'm running Ubuntu 16.04 with ROS kinetic B) yes, only the launch file, nothing else, no hardware is connected, there is only the model C) The joint angles all appear to be correct, it's just the slide bar I cannot use

rfn123 gravatar image rfn123  ( 2016-09-03 16:06:10 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-09-02 08:42:16 -0500

Seen: 1,368 times

Last updated: Sep 29 '16