Skip to content

brunogaldos/Mobile-robot-controller-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Robot Navigation with obstacle avoidance using motion tracking System

Overview

This project is part of a Master's thesis conducted at the WZL department in the Robotic Systems Engineering program at RWTH Aachen University. The aim is to develop a controller for mobile robot navigation using motion capture system. The following symulation is part of the pilot testing with controller capable of obstacle avoidace for mobile robot navigation.

System Requirements

  • ROS2 Version: Humble
  • Gazebo Version: 11.11.0

Project Structure

The project comprises two main packages:

  1. Simulation Package "my_bot":

    • This package serves as the core application, running simulations in Gazebo.
    • It simulates the mobile robot in an empty world environment with a predefined setup.
  2. Controller Package "my_controller":

    • This package includes the trial_controller_diff.py node responsible for publishing topics to the mobile robot and controlling its movements.

Setup Instructions

  1. Clone Repositories:

    • Clone the repository into your directory.
  2. *Build and Launch:

    • Build the docker image

    • Launch the simulation along with the controller for that inside the directory execute:

      cd docker_run
      ./run_mocap.driver.sh
  3. Launch Simulation Package kairos locally:

    • We can also run the nodes and the launch file locally, by runnning the container and then executing the following:

    • A) For differential robot:

    • Execute the following command:

      ros2 launch my_bot launch_sim.launch.py
    • Gazebo will launch, displaying the mobile robot in the world environment.

  4. Run Controller Node from the second package my_controller:

    • Execute the following command:
      ros2 run my_controller trial_controller_diff
    • The terminal will prompt you to enter the start pose, desired goal pose, and velocity. Enter each value in float format and press enter after each.

Simulation Execution

  • Upon launching the simulation package, Gazebo will display the mobile robot in the world environment. The robot is already subscribed to the topic messages.

  • Running the controller node allows the user to input the start pose, desired goal pose, and velocity. Follow the prompts in the terminal, entering float values for each parameter and pressing enter.

Screencast.from.31-08-24.09_41_44.webm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published