74 bool _permanent =
true,
76 bool _internal_gnss_enabled =
true,
77 bool _atmospheric_altitude_enabled =
true,
78 bool _velocity_heading_enabled =
true,
79 bool _reversing_detection_enabled =
true,
80 bool _motion_analysis_enabled =
true);
92 bool _permanent =
true,
93 float _odom_pulse_to_meters = 0.000583,
94 bool _odom_auto_cal =
true);
104 static int SetBaudRate(std::string _port,
int _curBaudRate,
int _primaryBaudRate,
int _gpioBaudRate = 115200,
int _auxBaudRate = 115200);
static int SetBaudRate(std::string _port, int _curBaudRate, int _primaryBaudRate, int _gpioBaudRate=115200, int _auxBaudRate=115200)
This function can be used to set the buad rate independent of the other functions of the driver...
global variables used to store packet information.
static int CreateFilterOptionsPacket(filter_options_packet_t &, bool _permanent=true, uint8_t _vehicle_type=vehicle_type_car, bool _internal_gnss_enabled=true, bool _atmospheric_altitude_enabled=true, bool _velocity_heading_enabled=true, bool _reversing_detection_enabled=true, bool _motion_analysis_enabled=true)
static int CalculateRequiredBaud(KvhPacketRequest &)
KVH Packet storing class header.
static int FindCurrentBaudRate(std::string, int)
This function tries each possible setting of baudrates until it either finds one that is receiving pa...
std::vector< std::pair< packet_id_e, uint16_t > > KvhPacketRequest
static int CreatePacketPeriodsPacket(KvhPacketRequest &_packetsRequested, packet_periods_packet_t &_packetPeriods)
static int CreateOdometerOptionsPacket(odometer_configuration_packet_t &, bool _permanent=true, float _odom_pulse_to_meters=0.000583, bool _odom_auto_cal=true)