lbr_fri_ros2_stack: Missing dependencies

Controller_spawner is failing because some dependencies are not satisfied when running

"rosdep install --rosdistro melodic --ignore-src --from-paths src"

Fixed by installing ros-melodic-moveit and ros-melodic-joint-trajectory-controller

It might be worth investigating which are the missing packages in the package dependencies rather then installing these two packages which include many others that might not be useful.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (13 by maintainers)

Most upvoted comments

Thank you for the quick answer! The folder name might be related to some issues I am experiencing with getting my robot to run properly on humble šŸ˜„. I tried your fix:

  • I ran the launch and waited ~15 minutes
  • To clarify I am seeing the loading screen with ā€œPreparing your worldā€ but in the background gazebo opened showing the GUI and a completely black viewport. When I click the loading screen it just disappears.
  • Rviz is just showing an empty grid. I can however add the RobotModel manually using the /lbr/robot_description as the description topic. I get a bunch of ā€œNo transform from link_0 to link_1ā€ errors.
  • I exited launch and checked for the gzserver. Output was empty so it should have been closed.
  • I re-ran the launch and it unfortunately repeats the same behavior.

Update: I manged to launch it the way you described it using a docker container. I guess there is some problem with my ros2-humble setup on my machine. Thanks for your help!

I’ll try this later today, as I currently don’t have access to a PC. Hopefully I can replicate the issue and find a fix. Thank you for sharing

  • Right now Im trying with the sim:=true, but the same occurs even with sim:=false.
  • Yes I have replaced user with my username !
  • please find below the entire terminal output with the command as mentioned by you with | grep ERROR and sim:=true.

anubhav@ubuntu:~/lbr_fri_ros2_stack_ws$ ros2 launch lbr_bringup lbr_bringup.launch.py model:=med14 sim:=true | grep ERROR [move_group-7] [ERROR] [1654036072.629839378] [moveit.ros.occupancy_map_monitor]: No 3D sensor plugin(s) defined for octomap updates [ERROR] [gzserver-1]: process has died [pid 2632, exit code 255, cmd 'gzserver -s libgazebo_ros_init.so -s libgazebo_ros_factory.so -s libgazebo_ros_force_system.so ']. [spawner.py-6] [ERROR] [1654036082.251245291] [spawner_position_trajectory_controller]: Controller manager not available [spawner.py-5] [ERROR] [1654036082.253981082] [spawner_joint_state_broadcaster]: Controller manager not available [ERROR] [spawner.py-6]: process has died [pid 2644, exit code 1, cmd ā€˜/opt/ros/foxy/lib/controller_manager/spawner.py position_trajectory_controller --controller-manager /controller_manager --ros-args’]. [ERROR] [spawner.py-5]: process has died [pid 2642, exit code 1, cmd ā€˜/opt/ros/foxy/lib/controller_manager/spawner.py joint_state_broadcaster --controller-manager /controller_manager --ros-args’]. [move_group-7] [ERROR] [1654036087.953478906] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: Action client not connected: position_trajectory_controller/follow_joint_trajectory

And this is how Rviz windows opens: even if the world frame or lbr_link_0 is selected … image

gazebo window:

image