|
MAV'RIC
|
Abstract class for GPS. More...
#include <gps.hpp>

Public Member Functions | |
| virtual bool | update (void)=0 |
| Main update function Reads new values from sensor. | |
| virtual bool | init (void)=0 |
| Initializes the gps. | |
| virtual void | configure (void)=0 |
| (re)Configure the GPS | |
| virtual float | last_update_us (void) const =0 |
| Get last update time in microseconds. | |
| virtual float | last_position_update_us (void) const =0 |
| Get last position update time in microseconds. | |
| virtual float | last_velocity_update_us (void) const =0 |
| Get last velocity update time in microseconds. | |
| virtual global_position_t | position_gf (void) const =0 |
| Get position in global frame. | |
| virtual float | horizontal_position_accuracy (void) const =0 |
| Get horizontal position accuracy in m. | |
| virtual float | vertical_position_accuracy (void) const =0 |
| Get vertical position accuracy in m. | |
| virtual std::array< float, 3 > | velocity_lf (void) const =0 |
| Get velocity in local frame in m/s. | |
| virtual float | velocity_accuracy (void) const =0 |
| Get velocity accuracy in m/s. | |
| virtual float | heading (void) const =0 |
| Get heading in degrees. | |
| virtual float | heading_accuracy (void) const =0 |
| Get heading accuracy in degrees. | |
| virtual uint8_t | num_sats (void) const =0 |
| Get the number of satellites. | |
| virtual gps_fix_t | fix (void) const =0 |
| Indicates whether fix are received. | |
| virtual bool | healthy (void) const =0 |
| Indicates whether the measurements can be trusted. | |
Abstract class for GPS.
| virtual gps_fix_t Gps::fix | ( | void | ) | const [pure virtual] |
Indicates whether fix are received.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual float Gps::heading | ( | void | ) | const [pure virtual] |
Get heading in degrees.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual float Gps::heading_accuracy | ( | void | ) | const [pure virtual] |
Get heading accuracy in degrees.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual bool Gps::healthy | ( | void | ) | const [pure virtual] |
Indicates whether the measurements can be trusted.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual float Gps::horizontal_position_accuracy | ( | void | ) | const [pure virtual] |
Get horizontal position accuracy in m.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual bool Gps::init | ( | void | ) | [pure virtual] |
Initializes the gps.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_ublox, and Gps_sim.
| virtual float Gps::last_position_update_us | ( | void | ) | const [pure virtual] |
Get last position update time in microseconds.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual float Gps::last_update_us | ( | void | ) | const [pure virtual] |
Get last update time in microseconds.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual float Gps::last_velocity_update_us | ( | void | ) | const [pure virtual] |
Get last velocity update time in microseconds.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual uint8_t Gps::num_sats | ( | void | ) | const [pure virtual] |
Get the number of satellites.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual global_position_t Gps::position_gf | ( | void | ) | const [pure virtual] |
Get position in global frame.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual bool Gps::update | ( | void | ) | [pure virtual] |
Main update function Reads new values from sensor.
Implemented in Gps_mocap, Gps_sim, Gps_ublox, Gps_hub< N >, and Gps_hub< 2 >.
| virtual float Gps::velocity_accuracy | ( | void | ) | const [pure virtual] |
Get velocity accuracy in m/s.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual std::array<float, 3> Gps::velocity_lf | ( | void | ) | const [pure virtual] |
Get velocity in local frame in m/s.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

| virtual float Gps::vertical_position_accuracy | ( | void | ) | const [pure virtual] |
Get vertical position accuracy in m.
Implemented in Gps_hub< N >, Gps_hub< 2 >, Gps_mocap, Gps_sim, and Gps_ublox.

1.7.6.1