在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):udacity/RoboND-EKFLab开源软件地址(OpenSource Url):https://github.com/udacity/RoboND-EKFLab开源编程语言(OpenSource Language):C++ 61.2%开源软件介绍(OpenSource Introduction):RoboND-EKFLabIn this lab, you will be applying an EKF ROS package to localize your robot inside a Gazebo environment. In the end, you will be able to drive the robot around in simulation and observe the Steps to Launch the SimulationLaunch the simulation in the VM machine provided in Term1. Step 1 Create a Catkin Workspace$ mkdir -p /home/workspace/catkin_ws/src
$ cd /home/workspace/catkin_ws/src
$ catkin_init_workspace
$ cd ..
$ catkin_make Step 2 Perform a System Update/Upgrade$ apt-get update
$ apt-get upgrade -y Step 3 Clone the Package in src$ cd /home/workspace/catkin_ws/src
$ git clone https://github.com/udacity/RoboND-EKFLab Step 4 Edit the main.launch fileUnder main/launch, edit the main.launch file: Delete this: <node pkg="rviz" type="rviz" name="rviz" args="-d /home/workspace/catkin_ws/src/EKFLab.rviz"/>
Replace with: <node pkg="rviz" type="rviz" name="rviz" args="-d /home/workspace/catkin_ws/src/RoboND-EKFLab/EKFLab.rviz"/> Step 5 Install Packages Dependancies$ cd /home/workspace/catkin_ws/
$ source devel/setup.bash
$ rosdep -i install turtlebot_gazebo
$ rosdep -i install turtlebot_teleop Step 6 Build the Packages$ catkin_make
$ source devel/setup.bash Step 7 Launch the main file$ roslaunch main main.launch Now, you should see Gazebo and rviz launching. Please note that Gazebo might take up to 3 min to launch! End ResultIn the terminal, use the keyboard commands(u-i-o-j-k-l-m-,-.) and drive the robot around. The |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论