Skip to content

This repository simulates a p3dx mobile robot in willowgarage.world of Gazebo with Map Server, AMCL, Move Base, RVIZ and a PID controller. The PID controller is for tracking the reference linear velocity provided by local planner of move_base.

License

Notifications You must be signed in to change notification settings

chungying/p3dx_2dnav_simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p3dx_2dnav_simulator

This repository simulate a p3dx mobile robot in willowgarage.world of Gazebo with Map Server, AMCL, Move Base, RVIZ and a PID controller. The PID controller is for tracking the reference linear velocity provided by local planner of move_base.

Install

$ cd <catkin_ws>/src
$ git clone https://github.com/chungying/p3dx_2dnav_simulator.git
$ cd ..
$ catkin_make

Execution without PID contorller

  • Running the original settings for a p3dx robot
    • p3dx in Willog Garage world at (0, 0, 0) pose
$ roslaunch p3dx_2dnav p3dx_2dnav.launch
  • Assignin robot to be at different initial pose
    • p3dx at (-4, -4, 3.14159) pose
$ roslaunch p3dx_2dnav p3dx_2dnav.launch ip_x:=-4 ip_y:=-4 ip_a:=3.14159

Execution with PID contorller

  • Running the simulation with PID controller. Default pose is (0, 0, 0). Default PID gains is (0.8, 0.001, 0.01)
$ roslaunch p3dx_lin_vel_pid p3dx_2dnav_pid.launch ip_x:=-4 ip_y:=-4 ip_a:=3.14159 Kp:=1 Ki:=0 Kd:=0

Publish Goals via RVIZ and Monitor via rqt_plot

Test Environment

  • Ubuntu 14.04
  • ROS Indigo

Stuff used to make this:

About

This repository simulates a p3dx mobile robot in willowgarage.world of Gazebo with Map Server, AMCL, Move Base, RVIZ and a PID controller. The PID controller is for tracking the reference linear velocity provided by local planner of move_base.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published