Autonomy Software Binder

Central engineering reference and operations manual for the MRDT Autonomy Software.

View the Project on GitHub MissouriMRDT/Autonomy_Software

Return to RoveSoDocs Guides for Today, Tomorrow, and Forever.

Autonomy Troubleshooting & Field Diagnostics Guide

This document provides systematic diagnostics and rapid-resolution procedures for common hardware, networking, algorithmic, and software anomalies encountered during field testing and competition operations.


1. Live Terminal Diagnostic Hotkeys

The autonomy main loop runs in non-canonical terminal mode (SetNonCanonicalTerminalMode()), enabling real-time keyboard commands without requiring a trailing newline. When investigating system behavior via SSH, press the following single keys:

Key Diagnostic Action Information Output
h Print Help Menu Displays the catalog of available terminal diagnostic keys.
f Thread Performance Telemetry Dumps instantaneous execution frequencies (FPS) across all 11 worker threads (Main, Cameras, Detectors, State Machine, RoveComm UDP/TCP, Visualizer).
p Rover Spatial Pose Dumps current UTM coordinates (Easting, Northing, Altitude) and compass heading from SmartRetrieveRoverPose().
s ZED Inertial Telemetry Dumps raw linear acceleration (X, Y, Z), angular velocity (X, Y, Z), and Euler gyro orientation from the forward ZED camera.
d Drive Actuation State Dumps real-time normalized motor power commands (Left Power, Right Power) currently sent to the drive board.
t ArUco Marker Telemetry Dumps total detected tags, Best OpenCV tag ID, distance (m), and yaw angle, alongside Best Torch tag metrics.
m Object Detection Telemetry Dumps total identified mission objects, best detected class (Mallet, Water Bottle, Rock Pick), distance, and yaw angle.
q Graceful System Shutdown Signals all threads to halt, stops motor output, flushes logs, generates visualization.html, and exports spatial_map.ply.

2. Common Symptom-Based Solutions

1. Drivetrain Jitters or Oscillates While Driving

2. Rover Stalls When Attempting Point Turns

3. “RoveComm UDP/TCP Node Failed to Initialize”

4. ZED Camera Connection Failures or Framerate Dropping to Zero

5. Autonomy Unexpectedly Enters IdleState

6. Visual Odometry Drift and Discontinuous Jumps

7. LiDAR Database Opening Failure