-
Notifications
You must be signed in to change notification settings - Fork 14.6k
ActuatorMotors.msg - uORB docs #24818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3cf9b9d
ActuatorMotors.msg - uORB docs
hamishwillee 302b91f
Update msg/versioned/ActuatorMotors.msg
hamishwillee ed791a1
Update msg/versioned/ActuatorMotors.msg
hamishwillee ca95921
Update msg/versioned/ActuatorMotors.msg
hamishwillee ddccfb0
Update msg/versioned/ActuatorMotors.msg
hamishwillee 01b8d51
units/range first
hamishwillee 635c360
Remove field terminating full stops
hamishwillee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
# Motor control message | ||
# | ||
# Normalised thrust setpoint for up to 12 motors. | ||
# Published by the vehicle's allocation and consumed by the ESC protocol drivers e.g. PWM, DSHOT, UAVCAN. | ||
|
||
uint32 MESSAGE_VERSION = 0 | ||
|
||
uint64 timestamp # time since system start (microseconds) | ||
uint64 timestamp_sample # the timestamp the data this control response is based on was sampled | ||
uint64 timestamp # [us] Time since system start | ||
uint64 timestamp_sample # [us] Sampling timestamp of the data this control response is based on | ||
|
||
uint16 reversible_flags # bitset which motors are configured to be reversible | ||
uint16 reversible_flags # Bitset indicating which motors are configured to be reversible | ||
|
||
uint8 ACTUATOR_FUNCTION_MOTOR1 = 101 | ||
|
||
uint8 NUM_CONTROLS = 12 | ||
float32[12] control # range: [-1, 1], where 1 means maximum positive thrust, | ||
# -1 maximum negative (if not supported by the output, <0 maps to NaN), | ||
# and NaN maps to disarmed (stop the motors) | ||
float32[12] control # [@range -1, 1] Normalized thrust. where 1 means maximum positive thrust, -1 maximum negative (if not supported by the output, <0 maps to NaN). NaN maps to disarmed (stop the motors) |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this and where is it used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MaEtUgR ^^^ This still looks weird. Needs explanation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But if not, let's still merge!