AP_Scripting: Add bindings to allow updating servo telem#31504
Merged
tridge merged 1 commit intoArduPilot:masterfrom Feb 9, 2026
Merged
AP_Scripting: Add bindings to allow updating servo telem#31504tridge merged 1 commit intoArduPilot:masterfrom
tridge merged 1 commit intoArduPilot:masterfrom
Conversation
andyp1per
reviewed
Nov 13, 2025
| userdata AP_Servo_Telem::TelemetryData field motor_temperature_cdeg int16_t'skip_check read valid_mask present_types AP_Servo_Telem::TelemetryData::Types::MOTOR_TEMP | ||
| userdata AP_Servo_Telem::TelemetryData field pcb_temperature_cdeg int16_t'skip_check read valid_mask present_types AP_Servo_Telem::TelemetryData::Types::PCB_TEMP | ||
| userdata AP_Servo_Telem::TelemetryData field status_flags uint8_t'skip_check read valid_mask present_types AP_Servo_Telem::TelemetryData::Types::STATUS | ||
| userdata AP_Servo_Telem::TelemetryData rename ServoTelemetryData |
Contributor
There was a problem hiding this comment.
Doesn't this break existing scripts?
Member
Author
There was a problem hiding this comment.
No, because it was a readonly userdata the user never saw the type name. The only way to get it was from servo_telem:get_telem, this changes the name and adds the creation function.
3fa2d43 to
9929e20
Compare
Member
Author
|
Tested on periph using #31577 |
tridge
approved these changes
Feb 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows a script to provide servo telem data in the same way we already can for ESC telem.