Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Ardupilot
Commits
c4a52a29
"README.md" did not exist on "a66da57d0aee60e8f37a962f3384339787376e02"
Commit
c4a52a29
authored
12 years ago
by
uncrustify
Committed by
Pat Hickey
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
uncrustify libraries/AP_GPS/AP_GPS_IMU.h
parent
89bd01f8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/AP_GPS/AP_GPS_IMU.h
+48
-48
48 additions, 48 deletions
libraries/AP_GPS/AP_GPS_IMU.h
with
48 additions
and
48 deletions
libraries/AP_GPS/AP_GPS_IMU.h
+
48
−
48
View file @
c4a52a29
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
#ifndef AP_GPS_IMU_h
#define AP_GPS_IMU_h
#include
"GPS.h"
#define MAXPAYLOAD 32
class
AP_GPS_IMU
:
public
GPS
{
public:
// Methods
AP_GPS_IMU
(
Stream
*
s
);
virtual
void
init
(
enum
GPS_Engine_Setting
nav_setting
);
virtual
bool
read
(
void
);
// Properties
int32_t
roll_sensor
;
// how much we're turning in deg * 100
int32_t
pitch_sensor
;
// our angle of attack in deg * 100
int16_t
airspeed
;
float
imu_health
;
uint8_t
imu_ok
;
// Unused
virtual
void
setHIL
(
uint32_t
time
,
float
latitude
,
float
longitude
,
float
altitude
,
float
ground_speed
,
float
ground_course
,
float
speed_3d
,
uint8_t
num_sats
);
private:
// Packet checksums
uint8_t
ck_a
;
uint8_t
ck_b
;
uint8_t
GPS_ck_a
;
uint8_t
GPS_ck_b
;
uint8_t
step
;
uint8_t
msg_class
;
uint8_t
message_num
;
uint8_t
payload_length
;
uint8_t
payload_counter
;
uint8_t
buffer
[
MAXPAYLOAD
];
void
join_data
();
void
join_data_xplane
();
void
GPS_join_data
();
void
checksum
(
unsigned
char
data
);
};
#endif
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
#ifndef AP_GPS_IMU_h
#define AP_GPS_IMU_h
#include
"GPS.h"
#define MAXPAYLOAD 32
class
AP_GPS_IMU
:
public
GPS
{
public:
// Methods
AP_GPS_IMU
(
Stream
*
s
);
virtual
void
init
(
enum
GPS_Engine_Setting
nav_setting
);
virtual
bool
read
(
void
);
// Properties
int32_t
roll_sensor
;
// how much we're turning in deg * 100
int32_t
pitch_sensor
;
// our angle of attack in deg * 100
int16_t
airspeed
;
float
imu_health
;
uint8_t
imu_ok
;
// Unused
virtual
void
setHIL
(
uint32_t
time
,
float
latitude
,
float
longitude
,
float
altitude
,
float
ground_speed
,
float
ground_course
,
float
speed_3d
,
uint8_t
num_sats
);
private:
// Packet checksums
uint8_t
ck_a
;
uint8_t
ck_b
;
uint8_t
GPS_ck_a
;
uint8_t
GPS_ck_b
;
uint8_t
step
;
uint8_t
msg_class
;
uint8_t
message_num
;
uint8_t
payload_length
;
uint8_t
payload_counter
;
uint8_t
buffer
[
MAXPAYLOAD
];
void
join_data
();
void
join_data_xplane
();
void
GPS_join_data
();
void
checksum
(
unsigned
char
data
);
};
#endif
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