Running Project on Jetson nano
Launching files
- Initialize sensors, hector slam, move base, and services:
- Run navigation algorithm:
- Use rviz from external computer:
export ROS_IP=YOUR_IP
export ROS_MASTER_URI=JETSON_IP
rosrun rviz rviz -d $(rospack find robot_description)/rviz/urdf.rviz
Connecting to Jetson using SSH
- Obtain jetson's IP
- Perform SSH
- Introduce password
Debug using teleop
- Make sure ROS_IP and ROS_MASTER_URI are properly set if using another laptop.
Add new files to jetson
If new code was implemented outside of the jetson, the file(s) can be copied using the following command:
# use -r (recursive flag) for folders
scp -r SOURCE/ DESTINATION/
# e.g pass files from laptop to jetson (run command on laptop terminal with ssh connected to jetson)
scp -r /home/oscar/maze_ws/src/devices/ jetson@IP:/home/jetson/maze_ws/src/
Also, you may want to consider deleting the files from the jetson first before using scp with the new files:
Finally, use catkin_make to apply changes.