-
Notifications
You must be signed in to change notification settings - Fork 53
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
Got erros when running the simulation demo: LBR Demos ROS 2 Control Python #162
Comments
hi @Kylemaycry. Sometimes the very first launch fails because of Gazebo. A re-launch usually fixes it. In your case, I see an error related to For debugging, you could try to run Gazebo separately, e.g. in a terminal: gazebo If Gazebo doesn't launch, then that is likely your issue. As an alternative you could try to run inside a Docker container: https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/docker/doc/docker.rst |
closing this issue for now @Kylemaycry , hope the answer above helped. Please feel free to re-open. |
hello @mhubii I'm having some problems replicating this demo.
At the same time, the following ERROR occurs in the lbr_bringup terminal
In gazebo Entity tree, the joint name is lbr_A1.. So I changed line 38 in the file joint_trajectory_client.py from
BUT the following error occurs about two seconds after running again:
So far I don't know how to solve it, I am indeed very beginner in ros, please forgive my unprofessional description and tell me what to do. thanks! |
thanks for sharing the issue @BabuBabuDUT. I have created a new issue for it under #244. As you already saw, there is an issue with the joint names in this demo. There is probably another issue there with the response handling. Sorry for the late response. |
Link to the demo steps: https://lbr-fri-ros2-stack-doc.readthedocs.io/en/humble/lbr_fri_ros2_stack/lbr_demos/lbr_demos_ros2_control_python/doc/lbr_demos_ros2_control_python.html#joint-trajectory-controller
Erros with Launch the LBRBringup:
[INFO] [rviz2-8]: process started with pid [36237]
[rviz2-8] qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
[rviz2-8] /opt/ros/humble/lib/rviz2/rviz2: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE
[ERROR] [rviz2-8]: process has died [pid 36237, exit code 127, cmd '/opt/ros/humble/lib/rviz2/rviz2 -d /home/caiwu/lbr_fri_ros2_stack_ws/install/lbr_bringup/share/lbr_bringup/config/config.rviz --ros-args -r __node:=rviz2'].
[spawner-4] [INFO] [1709654203.996651466] [lbr.spawner_joint_state_broadcaster]: Waiting for '/lbr/controller_manager' node to exist
[spawner-6] [INFO] [1709654204.206215242] [lbr.spawner_joint_trajectory_controller]: Waiting for '/lbr/controller_manager' node to exist
[spawner-4] [INFO] [1709654206.021395524] [lbr.spawner_joint_state_broadcaster]: Waiting for '/lbr/controller_manager' node to exist
[spawner-6] [INFO] [1709654206.235516987] [lbr.spawner_joint_trajectory_controller]: Waiting for '/lbr/controller_manager' node to exist
[spawner-4] [INFO] [1709654208.123110627] [lbr.spawner_joint_state_broadcaster]: Waiting for '/lbr/controller_manager' node to exist
[spawner-6] [INFO] [1709654208.333946508] [lbr.spawner_joint_trajectory_controller]: Waiting for '/lbr/controller_manager' node to exist
[spawner-4] [INFO] [1709654210.194092068] [lbr.spawner_joint_state_broadcaster]: Waiting for '/lbr/controller_manager' node to exist
[spawner-6] [INFO] [1709654210.409598284] [lbr.spawner_joint_trajectory_controller]: Waiting for '/lbr/controller_manager' node to exist
[spawner-4] [ERROR] [1709654212.028141016] [lbr.spawner_joint_state_broadcaster]: Controller manager not available
[spawner-6] [ERROR] [1709654212.234718976] [lbr.spawner_joint_trajectory_controller]: Controller manager not available
[ERROR] [spawner-4]: process has died [pid 36073, exit code 1, cmd '/opt/ros/humble/lib/controller_manager/spawner joint_state_broadcaster --controller-manager controller_manager --ros-args -r __ns:=/lbr'].
[ERROR] [spawner-6]: process has died [pid 36080, exit code 1, cmd '/opt/ros/humble/lib/controller_manager/spawner joint_trajectory_controller --controller-manager controller_manager --ros-args -r __ns:=/lbr'].
Info with running the lbr_joint_trajectory_executioner_node:
INFO] [1709654639.479362413] [joint_trajectory_executioner_node]: Waiting for action server to become available...
[INFO] [1709654640.493026495] [joint_trajectory_executioner_node]: Waiting for action server to become available...
[INFO] [1709654641.545950540] [joint_trajectory_executioner_node]: Waiting for action server to become available...
[INFO] [1709654642.552215065] [joint_trajectory_executioner_node]: Waiting for action server to become available...
[INFO] [1709654643.564740777] [joint_trajectory_executioner_node]: Waiting for action server to become available...
The text was updated successfully, but these errors were encountered: