Closed alexandra1610 closed 9 months ago
The robotiq gripper uses mimic joints which are not merged into gazebo, likely this repos file is needed... branches may need to be updated depending on which distro of ROS you're using.
https://github.com/Kinovarobotics/ros2_kortex/blob/main/simulation.repos
Thank you, I installed a lot of supplementary packages and also serial package from another source. I downloaded serial from https://github.com/RoverRobotics-forks/serial-ros2 because I had the error that I need it to compile. I copied it in my source folder and did colcon build with the flags. I use ros humble. However, I have now a new error
--- stderr: robotiq_driver
/usr/bin/ld: /home/student/workspace/ros2_kortex_ws/install/serial/lib/libserial.a(unix.cc.o): warning: relocation against `_ZTVSt9basic_iosIcSt11char_traitsIcEE@@GLIBCXX_3.4' in read-only section `.text._ZN6serial22PortNotOpenedExceptionC2EPKc[_ZN6serial22PortNotOpenedExceptionC5EPKc]'
/usr/bin/ld: /home/student/workspace/ros2_kortex_ws/install/serial/lib/libserial.a(serial.cc.o): relocation R_X86_64_PC32 against symbol `_ZTVN6serial6SerialE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/robotiq_driver.dir/build.make:403: librobotiq_driver.so] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:229: CMakeFiles/robotiq_driver.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed <<< robotiq_driver [0.46s, exited with code 2]
Aborted <<< hardware_interface_testing [0.51s]
Aborted <<< robotiq_controllers [0.10s]
Aborted <<< ros_ign_interfaces [0.58s]
Aborted <<< ros_gz_bridge [2.86s]
I solved my issues following these steps that I wrote in a README file: https://git.initrobots.ca/amercader/kinova-kortex-installation
Hi, I am trying to build from source and I keep getting the following error while compiling. Could you please help me solving this issue? Thank you
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release