Snowplow project for 2021-2023.
The Jetson Nano has a number of bash scripts which can be executed from anywhere via alias:
initplow : initializes ROS core, ROS lidar functionality/Hector SLAM, and rosserial for arduino communication.
startplow : executes main.py in this directory's src folder.
runplow : executes the above 2 functions in sequence, initializes then starts the plow's movement.
stopplow : pkill all the processes spawned by the above scripts.
To run SICK-LMS-511 with ROS and jetson nano:
- ensure Jetson connection to router via ethernet with DHCP, disable Jetson wifi
- cd into catkin_ws
- run
roscorein a different tab - cd into catkin_ws
source install/setup.bashroslaunch sick_scan sick_lms_5xx.launch hostname:=192.168.1.2(IP may change - set IP with SOPAS-ET for Windows)rviz rvizto open the rviz visualizer for the data
Hector SLAM testing:
- cd into catkin_ws
source install/setup.bashroslaunch sick_scan test_005_hector.launch hostname:=192.168.1.2- rviz will open. Select Global Options>Fixed Frame > laser_POS_000_DIST (May take some time to appear)
rostopic echo /slam_out_pose(for best robot position and orientation info. Also may take some time)rostopic echo /scan(for a nice array of distances to objects for each half degree)
General Notes:
Using map for localization
Check live data (/scan) for actual current obstacles
ros_numpy geometry: https://github.com/eric-wieser/ros_numpy/blob/master/src/ros_numpy/geometry.py
To change which git user is used on the nano:
git config user.email "[email protected]"
git config user.name "Your Name"
Remember to update ssh keys as well
Lidar IPs:
SICK LMS511: 192.168.1.2
SICK TiM551: 192.168.1.3