lbr-stack / lbr_fri_ros2_stack

ROS 1/2 integration for KUKA LBR IIWA 7/14 and Med 7/14
https://lbr-stack.readthedocs.io/en/latest/
Apache License 2.0
121 stars 34 forks source link

Simulation unable to launch #124

Closed EliasTDam closed 8 months ago

EliasTDam commented 9 months ago

Me and my group are using this package. They installed it a couple of weeks ago, and have no issues whatsoever. I however, have tried installing it since yesterday, on a fresh install of Ubuntu and ROS2 Humble, and can't get the simulation to launch. It is from the quick start guide. I try to run the command:

_source install/setup.bash ros2 launch lbrbringup bringup.launch.py \ model:=iiwa7 # [iiwa7, iiwa14, med7, med14] \ sim:=true # [true, false] \ rviz:=true # [true, false] \ moveit:=true # [true, false]

But I get the error:

_[INFO] [launch]: All log files can be found below /home/elias/.ros/log/2023-10-05-10-50-39-318455-ROS2-Host-50919 [INFO] [launch]: Default logging verbosity is set to INFO [ERROR] [launch]: Caught exception in launch (see debug for traceback): LBRMoveGroupMixin.moveit_configs_builder() missing 1 required positional argument: 'baseframe' sim:=true: command not found rviz:=true: command not found moveit:=true: command not found

Is this an issue that has been introduced lately, or is something wrong on my side?

mhubii commented 9 months ago

Hi @EliasTDam , sorry for the inconvenience. We started namespacing the system and there is an issue with Gazebo.

Try checkout the dev-humble-v1.3.0-beta-gz-namespace branch. This will solve your issue. It will be merged soon.

Please let me know if it helps.

mhubii commented 9 months ago

Linking #123

EliasTDam commented 9 months ago

Thank you very much! I'll definitely try that then

mhubii commented 9 months ago

Please re-open in case it doesn't solve the issue and thank you for the feedback !

EliasTDam commented 9 months ago

The simulation now launches, so it seems to have resolved the issue. Thanks!

mhubii commented 8 months ago

Re-open for visibility until merge of #123

mhubii commented 8 months ago

done