mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:26:50 +08:00
Remove huge memory overhead in RC channels topic, was completely unnecessary
This commit is contained in:
@@ -76,7 +76,6 @@ struct rc_channels_s {
|
|||||||
uint64_t timestamp_last_valid; /**< Timestamp of last valid RC signal */
|
uint64_t timestamp_last_valid; /**< Timestamp of last valid RC signal */
|
||||||
float channels[RC_CHANNELS_FUNCTION_MAX]; /**< Scaled to -1..1 (throttle: 0..1) */
|
float channels[RC_CHANNELS_FUNCTION_MAX]; /**< Scaled to -1..1 (throttle: 0..1) */
|
||||||
uint8_t channel_count; /**< Number of valid channels */
|
uint8_t channel_count; /**< Number of valid channels */
|
||||||
char function_name[RC_CHANNELS_FUNCTION_MAX][20]; /**< String array to store the names of the functions */
|
|
||||||
int8_t function[RC_CHANNELS_FUNCTION_MAX]; /**< Functions mapping */
|
int8_t function[RC_CHANNELS_FUNCTION_MAX]; /**< Functions mapping */
|
||||||
uint8_t rssi; /**< Receive signal strength index */
|
uint8_t rssi; /**< Receive signal strength index */
|
||||||
bool signal_lost; /**< Control signal lost, should be checked together with topic timeout */
|
bool signal_lost; /**< Control signal lost, should be checked together with topic timeout */
|
||||||
|
|||||||
Reference in New Issue
Block a user