https://lettucemeet.com/l/DZdno
CV Requirements (jetson)
PM Requirements
AM → PM Struct:
typedef struct CommandsFromAM{ bool armed; } CommandsFromAM;
GSPC → PM Struct:
struct TelemWaypointData { double longitude; // double lattiude; uint8_t waypoint_id; }; typedef struct CommandsFromTM{ bool start_landing; uint8_t num_waypoints; // number of waypoints in the list TelemWaypointData waypoints[num_waypoints]; } CommandsFromTM;
PM → AM Struct:
typedef struct CommandsForAM_t{ 2 WaypointType waypoint_type; // not necessary 3 4 // heading unit vector and magnitude 5 float dist_x; 6 float dist_y; 7 float dist_z; 8 float magnitude; // Magnitude distance to waypoint target 9 float heading; // heading at target waypoint 10 double speed_target; // Target velocity of drone approaching target 11} CommandsForAM;
Jetson → PM Struct:
(or is this AM)
struct JetsonToZpMovementCommand { float x; float y; float z; float heading; }
SM Stuff
System Manager Data Structs and Flow
0 Comments