Public Member Functions

AP_GPS_HIL Class Reference

#include <AP_GPS_HIL.h>

Inherits GPS.

Collaboration diagram for AP_GPS_HIL:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AP_GPS_HIL (Stream *s)
virtual void init (void)
virtual bool read (void)
void setHIL (long time, float latitude, float longitude, float altitude, float ground_speed, float ground_course, float speed_3d, uint8_t num_sats)

Detailed Description

Definition at line 17 of file AP_GPS_HIL.h.


Constructor & Destructor Documentation

AP_GPS_HIL::AP_GPS_HIL ( Stream s  ) 

Definition at line 18 of file AP_GPS_HIL.cpp.


Member Function Documentation

void AP_GPS_HIL::init ( void   )  [virtual]

Startup initialisation.

This routine performs any one-off initialisation required to set the GPS up for use.

Must be implemented by the GPS driver.

Implements GPS.

Definition at line 23 of file AP_GPS_HIL.cpp.

bool AP_GPS_HIL::read ( void   )  [virtual]

read from the GPS stream and update properties

Must be implemented by the GPS driver.

Returns:
true if a valid message was received from the GPS

Implements GPS.

Definition at line 27 of file AP_GPS_HIL.cpp.

void AP_GPS_HIL::setHIL ( long  time,
float  latitude,
float  longitude,
float  altitude,
float  ground_speed,
float  ground_course,
float  speed_3d,
uint8_t  num_sats 
)

Hardware in the loop set function

Parameters:
latitude - latitude in deggrees
longitude - longitude in degrees
altitude - altitude in degrees
ground_speed - ground speed in meters/second
ground_course - ground course in degrees
speed_3d - ground speed in meters/second
altitude - altitude in meters

Definition at line 36 of file AP_GPS_HIL.cpp.


The documentation for this class was generated from the following files: