uavlink test
This commit is contained in:
@@ -37,7 +37,7 @@ public:
|
||||
DroneStatus samePlane[5];
|
||||
|
||||
void follower(global_location* member_data, size_t index, int refID);
|
||||
int find_ref_drone(global_location data[], size_t index, int leaderID);
|
||||
int find_ref_drone(global_location* data[], size_t index, int leaderID);
|
||||
|
||||
float lon[3],lat[3];
|
||||
|
||||
@@ -62,8 +62,8 @@ private:
|
||||
float ignore_small = 0.50;
|
||||
|
||||
void calculate_position(float k,float theta,int plane);
|
||||
void plane(global_location target, global_location leader, global_location follower);
|
||||
int direct(global_location target, global_location leader, DroneStatus self, DroneStatus member);
|
||||
void plane(global_location* target, global_location* leader, global_location* follower);
|
||||
int direct(global_location* target, global_location* leader, DroneStatus self, DroneStatus member);
|
||||
void choose_leader();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user