Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rviz examples not working on Ubuntu 18.04 + ROS Melodic #164

Closed
kowac opened this issue Apr 15, 2019 · 4 comments
Closed

Rviz examples not working on Ubuntu 18.04 + ROS Melodic #164

kowac opened this issue Apr 15, 2019 · 4 comments

Comments

@kowac
Copy link

kowac commented Apr 15, 2019

OS: Ubuntu 18.04
ROS: Melodic
Short error description: iiwa representation (e.g. by using "roslaunch iiwa_moveit moveit_planning_execution.launch" in Rviz not working, various topics not subscribed, Gazebo state not read properly.
rviz_error

Tried several example files but Rviz always fails to setup correctly. Tried both the master and the development branch after a clean install. Is this a common known issue in Melodic?

Warnings & Errors during the launch:

  • [ WARN] [1555322408.268605456, 0.342000000]: Deprecated syntax, please prepend 'hardware_interface/' to 'PositionJointInterface' within the tag in joint 'iiwa_joint_1'.
    [ERROR] [1555322408.270399535, 0.342000000]: No p gain specified for pid. Namespace: /iiwa/gazebo_ros_control/pid_gains/iiwa_joint_1
    ...
  • [ WARN] [1555322411.222563568, 2.712000000]: Kinematics solver doesn't support #attempts anymore, but only a timeout.
    Please remove the parameter '/iiwa/rviz_nboffis104_18543_3933730925375637416/manipulator/kinematics_solver_attempts' from your configuration.

Thanks in advance for any useful information.

@matthiashh
Copy link

The first warning is tackled in #84. The error in #161

About the second warning I am not sure if older versions of ROS that are still widely used would be compatible if it would be removed.

But apart from that I had issues with collapsing RViz representations as well and I solved them by putting

# RViz Workaround
# Otherwise the robot model will collapse
export LC_NUMERIC="en_US.UTF-8"

in my .bashrc. I am on melodic and it works for me.

@kowac
Copy link
Author

kowac commented Apr 15, 2019

Wow, this workaround indeed did the job. Can you also explain why this .bashrc addon has an impact on the collapsed robo in Rviz? I'm just curious as I can't draw any connection.

@matthiashh
Copy link

It doesn't fully apply for me, but this issue seems to be related:
moveit/moveit#1050

@kowac
Copy link
Author

kowac commented Apr 16, 2019

Thanks alot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants