Last active
November 20, 2023 01:33
-
-
Save JasonRBowling/4156f1ceccae096ccb9a6294b49d74f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install colcon, if not already present | |
sudo apt install python3-colcon-ros | |
mkdir ~/sipeed | |
cd ~/sipeed | |
#download the driver linked to in the wiki into ~/sipeed | |
#Unzip sipeed_tof_ms_a010.zip and cd into the resulting directory. From there: | |
cd ros2 | |
source /opt/ros/*/setup.sh | |
colcon build | |
source install/setup.sh | |
#added the following line to .bashrc so ROS 2 can find the new package | |
source ~/sipeed/sipeed_tof_ms_a010_ros/ros2/install/setup.sh | |
#start the ROS 2 node | |
ros2 run sipeed_tof_ms_a010 publisher --ros-args -p device:="/dev/ttyUSB0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment