added vtol state to list of streams

This commit is contained in:
Andreas Antener 2015-08-15 09:01:47 +02:00 committed by Simon Wilks
parent ea56edca22
commit 8fc52fea22
2 changed files with 4 additions and 0 deletions

View File

@ -1654,6 +1654,7 @@ Mavlink::task_main(int argc, char *argv[])
configure_stream("ATTITUDE_TARGET", 8.0f);
configure_stream("DISTANCE_SENSOR", 0.5f);
configure_stream("OPTICAL_FLOW_RAD", 5.0f);
configure_stream("VTOL_STATE", 0.5f);
break;
case MAVLINK_MODE_ONBOARD:
@ -1676,6 +1677,7 @@ Mavlink::task_main(int argc, char *argv[])
configure_stream("ACTUATOR_CONTROL_TARGET0", 10.0f);
/* camera trigger is rate limited at the source, do not limit here */
configure_stream("CAMERA_TRIGGER", 500.0f);
configure_stream("VTOL_STATE", 2.0f);
break;
case MAVLINK_MODE_OSD:
@ -1688,6 +1690,7 @@ Mavlink::task_main(int argc, char *argv[])
configure_stream("BATTERY_STATUS", 1.0f);
configure_stream("SYSTEM_TIME", 1.0f);
configure_stream("RC_CHANNELS", 5.0f);
configure_stream("VTOL_STATE", 0.5f);
break;
default:

View File

@ -2450,5 +2450,6 @@ const StreamListItem *streams_list[] = {
new StreamListItem(&MavlinkStreamCameraCapture::new_instance, &MavlinkStreamCameraCapture::get_name_static),
new StreamListItem(&MavlinkStreamCameraTrigger::new_instance, &MavlinkStreamCameraTrigger::get_name_static),
new StreamListItem(&MavlinkStreamDistanceSensor::new_instance, &MavlinkStreamDistanceSensor::get_name_static),
new StreamListItem(&MavlinkStreamVtolState::new_instance, &MavlinkStreamVtolState::get_name_static),
nullptr
};