Skip to content

antoniopurificato/collision_avoidance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROBOT PROGRAMMING

Repository of the code for the project of Robot Programming 2021/22,"La Sapienza" University of Rome.
Collision avoidance project.

Setup

  1. Go in the src folder of your catkin workspace.

  2. Download the C++ teleop_twist_keyboard package to move the robot in the environment using the keyboard.

git clone https://github.com/methylDragon/teleop_twist_keyboard_cpp.git
  1. Download the avoidance package.
git clone https://github.com/antoniopurificato/collision_avoidance.git
  1. Build the project.
cd .. && catkin build && source devel/setup.bash

Execution

  1. Go in the catkin workspace.

  2. Start the roscore.

roscore
  1. Open a different window and run the teleop_twist_keyboard.
 source devel/setup.bash && rosrun teleop_twist_keyboard_cpp teleop_twist_keyboard cmd_vel:=cmd_vel_call
  1. Open a different window and run the avoider.
source devel/setup.bash && rosrun collision_avoidance collision_avoider
  1. Open a different window and run the stage.
source devel/setup.bash && cd src/srrg2_configs/navigation_2d/ && rosrun stage_ros stageros cappero_laser_odom_diag_obstacle_2020-05-06-16-26-03.world

Come back to the terminal window with the teleop_twist_keyboard active and use the keyboard to move the robot.

TODO:

  • Create a ROS node;
  • Complete the subscriber for the velocity;
  • Complete the subscriber for the laser scan;
  • Write the report;

About

Repository of the code for the project of Robot Programming 2021/22

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published