Rationale flight status !
This commit is contained in:
parent
a98e11aa41
commit
95004940d1
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<launch>
|
<launch>
|
||||||
<node name="rosbuzz_node" pkg="rosbuzz" type="rosbuzz_node" respawn="false" output="screen" >
|
<node name="rosbuzz_node" pkg="rosbuzz" type="rosbuzz_node" respawn="false" output="screen" >
|
||||||
<param name="bzzfile_name" value="/home/vivek/catkin_ws/src/rosbuzz/src/test_obst.bzz" />
|
<param name="bzzfile_name" value="/home/vivek/catkin_ws/src/rosbuzz/src/test1.bzz" />
|
||||||
<param name="rcclient" value="true" />
|
<param name="rcclient" value="true" />
|
||||||
<param name="rcservice_name" value="rc_cmd" />
|
<param name="rcservice_name" value="rc_cmd" />
|
||||||
<param name="fcclient_name" value="/djicmd" />
|
<param name="fcclient_name" value="/djicmd" />
|
||||||
|
|
|
@ -319,6 +319,17 @@ int buzzuav_update_obstacle(buzzvm_t vm) {
|
||||||
buzzvm_gstore(vm);
|
buzzvm_gstore(vm);
|
||||||
return vm->state;
|
return vm->state;
|
||||||
}
|
}
|
||||||
|
/**************************************/
|
||||||
|
/*Flight status ratinale*/
|
||||||
|
/**************************************/
|
||||||
|
/*****************************************************************
|
||||||
|
DJI_SDK -Mavlink ExtendedState landed_state
|
||||||
|
STATUS_GROUND_STANDBY = 1, 1
|
||||||
|
STATUS_TAKE_OFF = 2, 3
|
||||||
|
STATUS_SKY_STANDBY = 3, 2
|
||||||
|
STATUS_LANDING = 4, 4
|
||||||
|
STATUS_FINISHING_LANDING = 5 0
|
||||||
|
******************************************************************/
|
||||||
/****************************************/
|
/****************************************/
|
||||||
/*flight status update*/
|
/*flight status update*/
|
||||||
/***************************************/
|
/***************************************/
|
||||||
|
|
Loading…
Reference in New Issue