scripts
This commit is contained in:
@@ -1,10 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
. /home/ubuntu/source_ros2.sh # source ros2 installation
|
||||||
. /home/ubuntu/source_ros2.sh
|
|
||||||
|
|
||||||
SERIAL=$(cat /home/ubuntu/drone_conf/height.conf)
|
SERIAL=$(cat /home/ubuntu/drone_conf/height.conf)
|
||||||
echo "serial port is "$SERIAL
|
echo "serial port is "$SERIAL
|
||||||
echo ros2 run height height_reader --ros-args -p height_serial_port:=/dev/${SERIAL}
|
|
||||||
ros2 run height height_reader --ros-args -p height_serial_port:=/dev/${SERIAL} | tee /home/ubuntu/drone_log/height.log
|
ros2 run height height_reader --ros-args -p height_serial_port:=/dev/${SERIAL} | tee /home/ubuntu/drone_log/height.log
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
. /home/ubuntu/source_ros2.sh # source ros2 installation
|
||||||
. /home/ubuntu/source_ros2.sh
|
|
||||||
|
|
||||||
SERIAL=$(cat /home/ubuntu/drone_conf/lidar.conf)
|
SERIAL=$(cat /home/ubuntu/drone_conf/lidar.conf)
|
||||||
echo "serial port is "$SERIAL
|
echo "serial port is "$SERIAL
|
||||||
echo ros2 run object_detection lidar_reader --ros-args -p lidar_serial_port:=/dev/${SERIAL}
|
|
||||||
ros2 run object_detection lidar_reader --ros-args -p lidar_serial_port:=/dev/${SERIAL} | tee /home/ubuntu/drone_log/lidar.log
|
ros2 run object_detection lidar_reader --ros-args -p lidar_serial_port:=/dev/${SERIAL} | tee /home/ubuntu/drone_log/lidar.log
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Submodule src/px4_msgs updated: b64ef0475c...ffc3a4cd57
Reference in New Issue
Block a user