mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
uncrustify libraries/AP_Compass/Compass.h
This commit is contained in:
parent
8f9bb7f92c
commit
cf69da594f
@ -95,14 +95,18 @@ public:
|
|||||||
/// @param y Offset to the raw mag_y value.
|
/// @param y Offset to the raw mag_y value.
|
||||||
/// @param z Offset to the raw mag_z value.
|
/// @param z Offset to the raw mag_z value.
|
||||||
///
|
///
|
||||||
void set_offsets(int x, int y, int z) { set_offsets(Vector3f(x, y, z)); }
|
void set_offsets(int x, int y, int z) {
|
||||||
|
set_offsets(Vector3f(x, y, z));
|
||||||
|
}
|
||||||
|
|
||||||
/// Perform automatic offset updates
|
/// Perform automatic offset updates
|
||||||
///
|
///
|
||||||
void null_offsets(void);
|
void null_offsets(void);
|
||||||
|
|
||||||
/// return true if the compass should be used for yaw calculations
|
/// return true if the compass should be used for yaw calculations
|
||||||
bool use_for_yaw(void) { return healthy && _use_for_yaw; }
|
bool use_for_yaw(void) {
|
||||||
|
return healthy && _use_for_yaw;
|
||||||
|
}
|
||||||
|
|
||||||
/// Sets the local magnetic field declination.
|
/// Sets the local magnetic field declination.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user