Skip to content

Latest commit

 

History

History
42 lines (20 loc) · 2.21 KB

workflow.md

File metadata and controls

42 lines (20 loc) · 2.21 KB

Work-Flow

Initial configuration

  1. Created a urdf file for a car having chassis, castor wheel,right and left wheel.

  2. Added Differential Drive Gazebo Plugin for the car.

  3. Added Launch files to view in RVIZ and spawn in Gazebo.

  4. Added Kinect sensor and added Gazebo Plugins for it.

  5. Alligned kinect_link to view the models in the plane.

  6. Added PublishWheelTF in the plugin to get tfs of all the links fixed and non-fixed

Mapping

  1. /kinect/depth/points topic gives a 3D point cloud. It needs to be converted into 2D laser scan in order to use slam_gmapping node. For that we need to use pointcloud_to_laserscan node. Install it : sudo apt install ros-kinetic-pointcloud-to-laserscan ros-kinetic-rosbridge-server.

  2. Created a launch file "pctl.launch" to launch the node. It provides the topic /kinect/scan.

  3. Created a launch file "gmapping.launch" to launch the slam_gmapping node. It provides /map topic.

  4. Created a custom cafe environment in gazebo and saved in worlds folder. Changed its extension to .world and created a launch file "cafe_custom.launch" to launch the world.

  5. Scaned the cafe environment and saved the map in "maps" folder with name "map1".

Localization

  1. Created a launch file "amcl.launch" to launch the amcl node. It provides /particlecloud topic to view the probable position and orientation of the robot on PoseArray in RVIZ.

Note : Before launching amcl node slam_gmapping node has to be killed. Fixed Frame while mapping has to be odom. While estimating robot position, Fixed Frame has to be map.

  1. RVIZ config files added in "rviz" folder.

Path Planning

  1. Created a launch file "move_base.launch" to launch the move_base node and perform path planning. All parameters are listed in the param folder. Set 2D Nav Goal on RVIZ and the robot will start moving to the goal.