You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
458 B
27 lines
458 B
#include "Rover.h" |
|
|
|
|
|
void Rover::zr_app_1hz() |
|
{ |
|
static bool before_fly = true; |
|
if(arming.is_armed()){ |
|
if(before_fly){ |
|
before_fly = false; |
|
gcs().send_text(MAV_SEVERITY_INFO,"%s",zr_app.get_sysid_board_id()); |
|
} |
|
relay.on(3); // 电子开关,保持通路 |
|
// camera.set_in_arm_mode(true); |
|
}else{ |
|
relay.off(3); |
|
} |
|
|
|
} |
|
|
|
void Rover::zr_app_10hz() |
|
{ |
|
|
|
|
|
} |
|
void Rover::zr_app_50hz(){ |
|
|
|
} |