Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Background

I’m working on itHalf of this is out of date

Reasoning Behind Restructuring

...

Code Block
struct TelemWaypointData {    
  double longitude;  //    
  double lattiude;   
  uint8_t waypoint_id; 
};

typedef struct CommandsFromTM{
    uint8_t num_waypoints; // number of waypoints in the list 
    TelemWaypointData waypoints[num_waypoints]; 
} CommandsFromTM;

CV/TM → PM During Search For Landing Pad

Code Block
// Data given from CV/TM during search and landing 
struct JetsonToZpMovementCommand {
  float x;
  float y;
  float z;
  float heading;
};

struct LandingInitiationCommand {
    bool start_landing; 
};

...

Code Block
typedef struct CommandsForAM_t{
  float dist_forward; //pitch
  float dist_right; // roll
  float dist_up; //yaw
  float magnitude; // Magnitude distance to waypoint target
  float heading; // heading at target waypoint
  double velocity_target; // Target velocity of drone approaching target
} CommandsForAM;

...