vmount: publish mount_status

We need feedback in mavlink about the attitude of the gimbal. Therefore
the gimbal output angles are published in vmount.
This commit is contained in:
Julian Oes
2016-11-09 10:23:34 +01:00
committed by Beat Küng
parent 7e312f3961
commit 18d69698a0
3 changed files with 21 additions and 0 deletions
+2
View File
@@ -292,6 +292,8 @@ static int vmount_thread_main(int argc, char *argv[])
break;
}
thread_data.output_obj->publish();
} else {
//wait for parameter changes. We still need to wake up regularily to check for thread exit requests
usleep(1e6);