1.2 KiB
1.2 KiB
In order to run the tablefinder demo we need the monocopter to be equipped with 2 cameras connected to a cm4. On the cm4 we need the feature/table_finder branch checked out in the OSD-Autopilot repository.
Run Instructions in the Field
- Prepare drone
- Plug in Battery
- Connect field computer to the VPN (ZeroTier)
- Make sure you can ssh into the drone's cm4
- Make sure the LTE-connection is running (true if we can ssh into the drone)
- Make sure that the GNSS node is running properly
- Make sure that the mavlink-router is running properly
- Make sure QGC has the connection to the PX4 Flight controller (should be the case if the mavlink-router is running and if the field-laptop is connected to the VPN)
- Use VSCode via SSH to get multiple terminals (or use multiple terminal windows)
- Terminal 1:
ros2 launch osd_autopilot tf2.launch.py - Terminal 2:
ros2 launch px4_interface logged_px4_interface.launch.py
- Terminal 1:
- If Visualization is desired on your field laptop run the following:
ros2 launch px4_visualizer px4_rviz.launch.pywhich should show a nice visualization of some of the data.
Behaviortree version
The newer versions of the tablefinder demo will implement a behavior tree logic