murata
91e09338ea
GCS_MAVLInk: Judgment of non-existence value by PARAM_SET
5 years ago
Peter Barker
7d2557b316
GCS_MAVLink: correct txspace return value issues
...
- checking of space in send_to_active_channels was incorrect - did not
take into account locked status of the channel
- corrected return value on comm_get_txspace - took a uint32_t, cast it
to int16_t, checked it for zero, then cast it to uint16_t on return.
That's just... odd.
5 years ago
Peter Barker
4838ee6f58
GCS_MAVLink: check reply channel for space rather than current channel
5 years ago
Michael du Breuil
5000891a76
GCS_MAVLink: remove some unused includes
5 years ago
Andrew Tridgell
8bb6a67b36
GCS_MAVLink: refuse set of read-only parameters
5 years ago
Peter Barker
4f9d1ada33
GCS_MAVLink: deny setting MIS_TOTAL parameter
...
Closes #11413
GCS_MAVLink: conform to parameter protocol requirements while ignoring sets
GCS_MAVLink: use internal-use-only param bit
6 years ago
Peter Barker
74670a77be
GCS_MAVLink: avoid allocating a GCS_MAVLINK per mavlink channel
6 years ago
Peter Barker
210c2070a1
GCS_MAVLink: remove include of AP_Param.h in GCS_MAVLink.h
...
This will help break include loops.
6 years ago
Pierre Kancir
b1506ca652
GCS_MAVLink: pass mavlink_message_t by const reference
6 years ago
Peter Barker
c6533723de
GCS_Param: correct sending of parameters of length 16
6 years ago
Peter Barker
a2c4bfea0c
GCS_MAVLink: use send_to_active_channels for parameters
6 years ago
Michael du Breuil
8cafbe394f
GCS_MAVLink: Fix includes
6 years ago
Tom Pittenger
8845cc2053
GCS_MAVLink: rename dataflash to logger
6 years ago
Peter Barker
3dc2db8d9a
GCS_MAVLink: queue parameter request even if we can't fit a reply ATM
6 years ago
Peter Barker
4eba6d4fe2
GCS_MAVLink: exempt requested parameters from buffer space reservation
...
Fixes a problem where we reserve space to send replies but then do not
bypass the reserved-space checks when sending them.
6 years ago
Peter Barker
f0200a4d9b
GCS_MAVLink: GCS_Common: correct overflows in bandwidth and count calculations
6 years ago
Peter Barker
49493676ea
GCS_MAVLink: use MAV_PARAM_TYPE for sending parameter messages
...
... rather than mavlink_message_type_t
6 years ago
Tom Pittenger
9f0e895c37
GCS_MAVLink: unify singleton naming to _singleton and get_singleton()
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
8fd8ae660b
GCS_MAVLink: send multiple async replies per call to send_queued_param
6 years ago
Peter Barker
99ea5d1a5e
GCS_MAVLink: avoid initial rush of params into uart
...
bandwidth calculation is based on this.
6 years ago
Peter Barker
35f3906424
GCS_MAVLink: do not adjust parameter stream rate on MAV_DATA_STREAM_ALL
6 years ago
Peter Barker
979e5261d5
GCS_MAVLink: remove unused method
6 years ago
Peter Barker
61e048a41b
GCS_MAVLink: tidy queued_param_send a little
6 years ago
Peter Barker
ef46acda71
GCS_MAVLink: support MAV_CMD_SET_MESSAGE_INTERVAL
6 years ago
Peter Barker
1eac03a257
GCS_MAVLink: scale parameter send rate according to link bandwidth
6 years ago
Peter Barker
d8871078ff
GCS_MAVLink: create persist_streamrates() callback to indicate persistence
...
Removes the catching of the message in each vehicle separately.
7 years ago
Peter Barker
bf124e9333
GCS_MAVLink: make send_parameter_value_all a GCS method rather than static
7 years ago
Peter Barker
c3e70e477d
GCS_MAVLink: avoid using global chan to uart mapping
...
This is an instance method, so it has a pointer to its own
uart
7 years ago
Michael du Breuil
9b7c3ce9a7
GCS_Mavlink: Fix out of bounds access, CID 144337
7 years ago
Peter Barker
1544a92f8b
GCS_MAVLink: factor out a send_banner
8 years ago
Peter Barker
2e078f7c5e
GCS_MAVLink: send fw_string, px4 git hash and nuttx hash on param request
8 years ago
Peter Barker
8a7a1b77dd
GCS_MAVLink: handle param_request_list in GCS_MAVLINK base class
8 years ago
Peter Barker
50242178b3
GCS_MAVLink: handle param_set in GCS_MAVLINK base class
8 years ago
Peter Barker
95ff94bfad
GCS_MAVLink: factor out a handle_common_param_message
8 years ago
Peter Barker
e9204a66ee
GCS_MAVLink: include version for AP_FWVersion
8 years ago
Peter Barker
b18c1853f9
GCS_MAVLink: count parameters in param thread
...
This helps avoid counting parameters on the main thread,
avoiding long-loops
8 years ago
Andrew Tridgell
5c62e4f4c2
GCS_MAVLink: don't use more than 1ms sending parameters
...
this reduces the scheduling misses when fetching parameters initially
8 years ago
Andrew Tridgell
f465c37c65
GCS_MAVLink: added async parameter sending
8 years ago
Andrew Tridgell
5c4ca3bf0b
GCS_MAVLink: added send_queued_parameters()
8 years ago
Andrew Tridgell
f778954b84
GCS_MAVLink: split parameter functions into a separate file
8 years ago