$ mkdir -p catkin_ws/src
$ cd catkin_ws/src
$ git clone https://github.com/duynamrcv/omni_robot.git
$ cd ..
$ catkin_make
roslaunch omni_gazebo gazebo.launch
roslaunch omni_fake omni_fake.launch
rosrun omni_teleop teleop
- /cmd_vel <
geometry_msgs/Twist
> - The robot will get the value from this topic to control the robot velocity. - /odom <
navigation_msgs/Odometry
> - The robot state include real pose and velocity of robot - /scan <
sensor_msgs/LaserScan
> - The lidar 2D topic which show the scan value of lidar - /camera/rgb/image_raw <
sensor_msgs/Image
> - The rbg topic which show the depth image stream (8UC3) of rgbd camera - /camera/depth/image_raw <
sensor_msgs/Image
> - The depth topic which show the depth image stream (32FC1) of rgbd camera
First, run omni fake
roslaunch omni_fake omni_fake.launch
Then, run the controller
$ rosrun omni_control move2pose
On Rviz simulator, select 2D Nav Goal
on the toolbar and select goal position for robot.
Results:
First, run omni fake and path generator
$ roslaunch omni_fake omni_fake.launch
$ roslaunch omni_path_generator simple_path.launch
Then, run the controller
$ rosrun omni_control pure_pursuit