Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
7e24240e
Commit
7e24240e
authored
9 years ago
by
Lorenz Meier
Browse files
Options
Downloads
Patches
Plain Diff
Baro: Move to generated uORB topics
parent
33a1e312
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
msg/sensor_baro.msg
+5
-0
5 additions, 0 deletions
msg/sensor_baro.msg
src/drivers/drv_baro.h
+2
-16
2 additions, 16 deletions
src/drivers/drv_baro.h
with
7 additions
and
16 deletions
msg/sensor_baro.msg
0 → 100644
+
5
−
0
View file @
7e24240e
float32 pressure
float32 altitude
float32 temperature
uint64 timestamp
uint64 error_count
This diff is collapsed.
Click to expand it.
src/drivers/drv_baro.h
+
2
−
16
View file @
7e24240e
...
...
@@ -50,22 +50,8 @@
#define BARO_BASE_DEVICE_PATH "/dev/baro"
#define BARO0_DEVICE_PATH "/dev/baro0"
/**
* baro report structure. Reads from the device must be in multiples of this
* structure.
*/
struct
baro_report
{
float
pressure
;
float
altitude
;
float
temperature
;
uint64_t
timestamp
;
uint64_t
error_count
;
};
/*
* ObjDev tag for raw barometer data.
*/
ORB_DECLARE
(
sensor_baro
);
#include
<uOrb/topics/sensor_baro.h>
#define baro_report sensor_baro_s
/*
* ioctl() definitions
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment