-
Notifications
You must be signed in to change notification settings - Fork 14.6k
uORB doc update: SensorBaro, DifferentialPressure #25712
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
uint64 timestamp # time since system start (microseconds) | ||
uint64 timestamp_sample | ||
# Differential-pressure sensor | ||
# | ||
# ? | ||
|
||
uint32 device_id # unique device ID for the sensor that does not change between power cycles | ||
uint64 timestamp # [us] Time since system start | ||
hamishwillee marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
uint64 timestamp_sample # [us] Timestamp of the raw data | ||
hamishwillee marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
float32 differential_pressure_pa # differential pressure reading in Pascals (may be negative) | ||
|
||
float32 temperature # Temperature provided by sensor in degrees Celsius, NAN if unknown | ||
|
||
uint32 error_count # Number of errors detected by driver | ||
uint32 device_id # [-] Unique device ID for the sensor that does not change between power cycles | ||
float32 differential_pressure_pa # [Pa] Differential pressure reading in Pascals (may be negative) | ||
float32 temperature # [degC] [@invalid NaN if unknown] Temperature | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is marked as
|
||
uint32 error_count # [-] Number of errors detected by driver | ||
Comment on lines
+8
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note, I made these grouped (no inter-line whitespace. It makes it more readable like this, and they share they quality that they carry the raw data. Note, new unit here is "Pa" for pascals. |
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,12 +1,13 @@ | ||||||||||||
uint64 timestamp # time since system start (microseconds) | ||||||||||||
uint64 timestamp_sample | ||||||||||||
# Baro sensor | ||||||||||||
# | ||||||||||||
# ? This is used in the `SCALED_PRESSURE_n` MAVLink messages (values must be zero-filled). | ||||||||||||
Comment on lines
+2
to
+3
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What do we want to say about this? Normally we talk about setters and getters. So something like
Suggested change
|
||||||||||||
|
||||||||||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles | ||||||||||||
uint64 timestamp # [us] Time since system start | ||||||||||||
uint64 timestamp_sample # [us] Timestamp of the raw data | ||||||||||||
|
||||||||||||
float32 pressure # static pressure measurement in Pascals | ||||||||||||
|
||||||||||||
float32 temperature # temperature in degrees Celsius | ||||||||||||
|
||||||||||||
uint32 error_count | ||||||||||||
uint32 device_id # [-] Unique device ID for the sensor that does not change between power cycles | ||||||||||||
float32 pressure # [Pa] Static pressure measurement | ||||||||||||
float32 temperature # [degC] Temperature. | ||||||||||||
uint32 error_count # [-] Number of errors detected by driver. | ||||||||||||
|
||||||||||||
|
||||||||||||
uint8 ORB_QUEUE_LENGTH = 4 |
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 do we want to say about this?