Closed alienshek337 closed 2 years ago
@alienshek337 Can you provide the ros version you are currently using and which branch of xarm_ros2 are you using?
i am using ros foxy and ubuntu 20.04 and I followed the instruction from the read so it should be master branch. Also, when I switched to the foxy branch, still got the same error after the colcon build in step 4.5 .
4.1 Create a workspace
$ cd ~ $ mkdir -p dev_ws/src 4.2 Obtain source code of "xarm_ros2" repository $ cd ~/dev_ws/src
$ git clone https://github.com/xArm-Developer/xarm_ros2.git --recursive 4.3 Update "xarm_ros2" repository $ cd ~/dev_ws/src/xarm_ros2 $ git pull $ git submodule sync $ git submodule update --init --remote 4.4 Install dependencies
$ cd ~/dev_ws/src/ $ rosdep update $ rosdep install --from-paths . --ignore-src --rosdistro $ROS_DISTRO 4.5 Build xarm_ros2
$ cd ~/dev_ws/
$ colcon build
$ colcon build --packages-select xarm_api
@alienshek337 Ok, I updated ros foxy to the latest test
@alienshek337
Hello, I have upgraded ros foxy here and I have not reproduced this problem for the time being. Can you check the version of the ros2_control package of your computer?
apt search ros-foxy-ros2-control && apt search ros-foxy-hardware-interface
@alienshek337
Hello, I am not sure whether the version of ros-foxy-hardware-interface does not correspond to the cause, you can try to upgrade ros-foxy-hardware-interface
sudo apt upgrade ros-foxy-hardware-interface ros-foxy-ros2-control-test-asserts
I upgraded the ros-foxy-hardware-interface and I got new error:
I build successfully after I remove the install , log and build folder in the workspace.
got this issue while colcon build