Open
Description
From gitter (@a7scenario)
Does DK2 have a way to "permanently” change the rate at with the autopilot streams a specific message type (or set of msg types in a MAV_DATA_STREAM set)? For whatever reason, sending a request_data_stream message only works for a couple seconds and then the autopilot reverts back to the previous rate.
msg = self.vehicle.message_factory.request_data_stream_encode(0, 0, mavutil.mavlink.MAV_DATA_STREAM_EXTRA3, new_rate, 1)
self.vehicle.send_mavlink(msg)
self.vehicle.flush()