PX4 Firmware
PX4 Autopilot Software http://px4.io
UBX_SIM Class Reference

#include <ubx_sim.h>

Collaboration diagram for UBX_SIM:

Public Member Functions

 UBX_SIM (const int &fd, struct vehicle_gps_position_s *gps_position, struct satellite_info_s *satellite_info)
 
 ~UBX_SIM ()
 
int receive (const unsigned timeout)
 
int configure (unsigned &baudrate)
 

Private Attributes

int _fd
 
struct vehicle_gps_position_s_gps_position
 
struct satellite_info_s_satellite_info
 
bool _enable_sat_info
 

Detailed Description

Definition at line 42 of file ubx_sim.h.

Constructor & Destructor Documentation

◆ UBX_SIM()

UBX_SIM::UBX_SIM ( const int &  fd,
struct vehicle_gps_position_s gps_position,
struct satellite_info_s satellite_info 
)

◆ ~UBX_SIM()

UBX_SIM::~UBX_SIM ( )

Member Function Documentation

◆ configure()

int UBX_SIM::configure ( unsigned &  baudrate)

Definition at line 85 of file ubx_sim.cpp.

◆ receive()

int UBX_SIM::receive ( const unsigned  timeout)

Definition at line 91 of file ubx_sim.cpp.

Member Data Documentation

◆ _enable_sat_info

bool UBX_SIM::_enable_sat_info
private

Definition at line 54 of file ubx_sim.h.

◆ _fd

int UBX_SIM::_fd
private

Definition at line 51 of file ubx_sim.h.

◆ _gps_position

struct vehicle_gps_position_s* UBX_SIM::_gps_position
private

Definition at line 52 of file ubx_sim.h.

◆ _satellite_info

struct satellite_info_s* UBX_SIM::_satellite_info
private

Definition at line 53 of file ubx_sim.h.


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