The repository uses Large Language Models (LLMs) to generate coordinates of various shapes that are then traversed using the Braccio robot. The purpose of this repository is to teach students robotic control using LLMs. Most of the code base has been picked up from https://github.com/lots-of-things/braccio_moveit_gazebo. The following updates and changes have been made.
Update:
- The code base was updated to Python 3 from the previous Python 2.
- Using the latest ROS version as of March 2024.
Changes:
- Added LLM generated the path tracing code.
- Enabled full 360-degree motion of the base.
- Made the inverse kinematic solution stable so that solutions are generated for most accessible coordinates.
- The camera angle has been adjusted to a top-down view to see the shapes being traced by the robot.
sudo apt install ros-neotic-desktop-full
gazebo
gazebo --version
which gzserver
which gzclient
mkdir BraccioShapeTracer
cd BraccioShapeTracer
mkdir src
cd src
gh repo clone sunnyraj10411/BraccioShapeTracer
cd ../
source /opt/ros/noetic/setup.bash
catkin_init_workspace
catkin_make
source devel/setup.bash
roslaunch braccio_moveit_gazebo rviz_connected_with_gz_using_moveit.launch
This script should be run in another terminal. The script will allow you to choose the shape you want to trace.
source devel/setup.bash
rosrun braccio_moveit_gazebo target_object_sim.py
The points for tracing the pentagon were generated using GPT3.5 and can be found in the GPT_Code folder. Even though the correct points are generated, they have to be rearranged so that the robot follows an anticlockwise trace.