vehicle_command topic: use uorb queuing with length 3

Just to make sure we don't lose any messages.
This commit is contained in:
Beat Küng
2016-09-07 18:47:12 +02:00
parent c1b73a068e
commit be4db3c5df
9 changed files with 29 additions and 19 deletions
+1 -1
View File
@@ -825,7 +825,7 @@ PX4IO::init()
cmd.confirmation = 1;
/* send command once */
orb_advert_t pub = orb_advertise(ORB_ID(vehicle_command), &cmd);
orb_advert_t pub = orb_advertise_queue(ORB_ID(vehicle_command), &cmd, vehicle_command_s::ORB_QUEUE_LENGTH);
/* spin here until IO's state has propagated into the system */
do {