Skip to content

singhbal-baljinder/manipulator_gz_sim

Repository files navigation

Robotic Manipulator Simulation

A project simulating a Robot Manipulator Arm using ros2-control and Gazebo.

Included packages

  • manipulator_description - holds the sdf description of the simulated system and any other assets.

  • manipulator_gazebo - holds gazebo specific code and configurations. Namely this is where systems end up.

  • manipulator_application - holds ros2 specific code and configurations.

  • manipulator_bringup - holds launch files and high level utilities.

Build and Install

The code requires a ROS2 Humble installation and the suggested Gazebo Fortress. Currently it supports only installations on Ubuntu 22.04.

  1. Install ROS2 Humble and Gazebo Fortress.

  2. Install necessary tools

    sudo apt install python3-vcstool python3-colcon-common-extensions git wget
  3. Clone this repository in the source folder of your workspace, e.g. <ros2_ws/src>.

  4. Use rosdep to install the dependencies.

    cd ~/ros2_ws
    source /opt/ros/humble/setup.bash
    sudo rosdep init
    rosdep update
    rosdep install --from-paths src --ignore-src -r -i -y --rosdistro humble
  5. Use colcon to build.

    cd ~/ros2_ws
    colcon build

Usage

  1. In all the terminals source ROS2 and the workspace

    source /opt/ros/humble/setup.bash
    source ~/ros2_ws/install/setup.sh
  2. Launch the Gazebo model in one terminal:

     ros2 launch manipulator_bringup manipulator_setup.launch.py
  3. Launch the trajectory generator node in another terminal:

     ros2 run manipulator_application reference_generator

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published