Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

https://lettucemeet.com/l/DZdno

CV Requirements (jetson)

  • Position Data (GPS/IMU)

  • Request for movement command (System Manager)

PM Requirements

  • Waypoints (SM)

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{
  WaypointType waypoint_type;  // not necessary

  // heading unit vector and magnitude
  float dist_x; 
  float dist_y; 
  float dist_z; 
  float magnitude; // Magnitude distance to waypoint target
  float heading; // heading at target waypoint
  double speed_target; // Target velocity of drone approaching target
} 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

  • ARM/DISARM

  • FlightMode Request (GSPC)

  • PID Values (TM)

  • WayPoints (TM)

AM Requirements

  • PID Values (SM)

Ground Station Requirements

  • No labels