mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 16:13:34 +08:00
mavlink parameters: try to send 5 params at once on USB & UDP connections
This further speeds up param loading. On Pixracer via USB, it's possible to send up to 11 at once before the TX buffer gets full, so there is still enough free bandwidth left.
This commit is contained in:
@@ -91,6 +91,10 @@ protected:
|
||||
|
||||
void send(const hrt_abstime t);
|
||||
|
||||
/// send a single param if a PARAM_REQUEST_LIST is in progress
|
||||
/// @return true if a parameter was sent
|
||||
bool send_one();
|
||||
|
||||
int send_param(param_t param, int component_id = -1);
|
||||
|
||||
// Item of a single-linked list to store requested uavcan parameters
|
||||
|
||||
Reference in New Issue
Block a user