Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 2.16 KB

README.md

File metadata and controls

51 lines (38 loc) · 2.16 KB

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: