You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @xjtu19, this project is currently not maintained, however I think your error could be solved by using the last binaries insted of the source packages in my repo.
Try this:
rm -rf Universal_Robots-* ur_* # remove the UR source package
sudo apt-get install ros-humble-ur* # install latest binary of universal robots
You should probably do the same also for ros2_control
rm -rf ros_control* # remove ros2 control source package
sudo apt-get install ros-humble-ros2-control # install latest binary of ros2 control
If you have problems with gazebo do the same by using the latest source package (I did not find the binary installable with apt)
/home/xj/ur_ws/src/Universal_Robots_ROS2_Driver/ur_controllers/src/scaled_joint_trajectory_controller.cpp: In member function ‘virtual controller_interface::return_type ur_controllers::ScaledJointTrajectoryController::update(const rclcpp::Time&, const rclcpp::Duration&)’:
/home/xj/ur_ws/src/Universal_Robots_ROS2_Driver/ur_controllers/src/scaled_joint_trajectory_controller.cpp:148:7: error: ‘traj_point_active_ptr_’ was not declared in this scope
148 | if (traj_point_active_ptr_ && (*traj_point_active_ptr_)->has_trajectory_msg()) {
| ^~~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [CMakeFiles/ur_controllers.dir/build.make:76: CMakeFiles/ur_controllers.dir/src/scaled_joint_trajectory_controller.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/ur_controllers.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Failed <<< ur_controllers [8.91s, exited with code 2]
The text was updated successfully, but these errors were encountered: