Robot Map Navigation steps

Source: Internet
Author: User

First Step mapping:

1. $ roscore

2. $ roslaunch Drrobot_jaguar4x4_playerplayer+odom.launch and control the Robotuse Joy_stick to test the robot are work we ll

3. Power on the Velodyne vlp-16 laser andtest the network is OK;

* *you need replace the Velodyne host Idwith your computer ID.

4. $roslaunch Velodyne_drivervlp16_2d.launch, and test the laser data is published OK

5. $rosbag Record-a

6. $roslaunch Map_and_localization Gmapping_bag.launch

7. $rosbag Play Mybag--rate 0.5

8. Rosrun Map_server map_saver-f Mymap

If There is some questions, Eg:thevelodyne can not convergence

Catkin_make-dcmake_build_type=release

and edit the Gmapping_bag.launch

<param name= "linearupdate" value= "1.0"/>

<param name= "angularupdate" value= "0.6"/>

<param name= "particles" value= "/>"

The most common environment map models for robots are feature maps, raster maps, topological maps, and mixed maps.

Second Step navigation navigation:

0. $ sudo apt-get installros-jade-navigation

1. $roscore

2. $ roslaunchdrrobot_jaguar4x4_player Player+odom.launch and control the robot use Joy_stick to testthe robot are WO RK Well

3. $roslaunch Velodyne_drivervlp16_2d.launch, and test the laser data is published OK

4. $rosrun Map_server map_server Src/map_and_localization/maps/office.yaml

5. $rviz-D Map_and_localization.rviz//add the addres of Map_and_localization.rviz

6. $roslaunch Map_and_localization Amcl.launch

If static navigation

$roslaunch static_navigation Static_navigation.lauch and need to edit nodes.txt and Edges.txt

Rostopic echo/robot_pose You need to cope the robot pose into Nodes.txt

else dynamicnavigation $roslaunch ros_navigation Ros_navigation.lauch

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.