Hector-SLAM is an algorithm that uses laser scan data to create a map. In this section, we will build a map of our environment using the ROS Hector-SLAM package. Build a Map Using the Hector-SLAM ROS Package Press CTRL + C in all terminal windows to close everything down. If you see output like this, it means everything is working correctly. Open a new terminal window, and type: rostopic list To this: ROS_INFO("RPLIDAR running on ROS package rplidar_ros. cd ~/catkin_ws/src/rplidar_ros/src sudo chmod +x node.cpp sudo gedit node.cppĬhange this: ROS_INFO("RPLIDAR running on ROS package rplidar_ros. The error is occurring in the node.cpp file. I saw an error that says “C++11 requires space between literal and string macro.” source ~/catkin_ws/devel/setup.bashĬlone the RPLIDAR ROS package to your src folder. Type this command in the current terminal (we won’t need to do this again since we’ve added this command to our bash file).
#Slamtec robotstudio ubuntu portable
Having a portable power bank enables you to move the Jetson Nano and LIDAR around a room freely so you can build a map.įirst, take the jumper off of pin J48 so your Jetson Nano knows we are going to plug in the portable battery into the 5V/2A USB Micro B connection (J28) rather than the 5V/4A barrel power jack (J25). The portable power bank that I purchased can be used to power your Jetson Nano. Once you finish this project, you can mount your Jetson Nano and LIDAR on anything that moves (drone, robot car, etc.) so you can map an environment.ĭisclosure (#ad): As an Amazon Associate I earn from qualifying purchases.
In addition to the parts listed in the article I linked to in the Prerequisites, you will need the following components (#ad).
You have already set up your NVIDIA Jetson Nano (4GB, B01) with ROS.Mapping of Underground Mines, Caves, and Hard-to-Reach Environments.This project has a number of real-world applications: Build a Map Using the Hector-SLAM ROS Package.
#Slamtec robotstudio ubuntu install
Set Up a Catkin Workspace and Install RPLIDAR ROS Packages.