Everything you need to controll the fully 3D-printed robotic arm "Jonny" using ros2 and moveit.
Follow these instructions to use this repository.
To work with this repository, you need a working install of ros2 jazzy. Install it locally by following the instructions here: https://docs.ros.org/en/jazzy/Installation.html
To automatically install all necessary dependencies, this projects uses rosdep (https://docs.ros.org/en/humble/Tutorials/Intermediate/Rosdep.html). Install Rosdep using these commands:
sudo apt install python3-rosdepsudo rosdep init
rosdep updateNow, clone this repository:
git clone https://github.com/alexmnr/jonny_ros2.gitUse rosdep to install all dependencies automatically:
cd jonny_ros2/ros && rosdep install --from-paths src -y --ignore-srcTo finish the install, all packages provided have to be build.
IMPORTANT: This is also necessary after updating the repository or making any changes to the code.
The build command has to be run in the <path to repository>/ros folder.
cd jonny_ros2/rosBuild Command:
colcon buildOk, let's do it.
Before all the packages are ready to be used, you have to tell ros where to find them. To do that, I added a simply script to the repository.
source ./activate.shFirst, attach the can bus adapter using the usb-c cable.
Then run :
sudo slcan_attach -f -s6 -o /dev/ttyACM0 && sudo slcand -o -s6 /dev/ttyACM0 can0 && sudo ip link set can0 upThere are multiple options available in this repository:
ros2 launch jonny_moveit_config real_robot.launch.pyTODO: add this