-
Created a urdf file for a car having chassis, castor wheel,right and left wheel.
-
Added Differential Drive Gazebo Plugin for the car.
-
Added Kinect sensor and added Gazebo Plugins for it.
-
Added PublishWheelTF in the plugin to get tfs of all the links fixed and non-fixed
-
/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
. -
Created a launch file "pctl.launch" to launch the node. It provides the topic /kinect/scan.
-
Created a launch file "gmapping.launch" to launch the slam_gmapping node. It provides /map topic.
-
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.
-
Scaned the cafe environment and saved the map in "maps" folder with name "map1".
- 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.
- RVIZ config files added in "rviz" folder.
- 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.