dRonin
adbada4
dRonin firmware
|
#include "openpilot.h"
#include "pios_com.h"
#include "pios_thread.h"
#include "GPS.h"
#include "UBX.h"
#include "gpsposition.h"
#include "modulesettings.h"
Go to the source code of this file.
Functions | |
static void | ubx_cfg_send_checksummed (uintptr_t gps_port, const uint8_t *dat, uint16_t len) |
Send a stream of data followed by checksum. More... | |
static void | ubloxTxChecksumReset (void) |
Reset the TX checksum calculation. More... | |
static void | ubloxTxChecksum (uint8_t c) |
Update the checksum calculation. More... | |
static void | ubx_cfg_enable_message (uintptr_t gps_port, uint8_t c, uint8_t i, uint8_t rate) |
Enable the selected UBX message at the specified rate. More... | |
static void | ubx_cfg_set_rate (uintptr_t gps_port, uint16_t ms) |
Set the rate of all messages. More... | |
static void | ubx_cfg_set_mode (uintptr_t gps_port, ModuleSettingsGPSDynamicsModeOptions dyn_mode) |
Configure the navigation mode and minimum fix. More... | |
static void | ubx_cfg_set_timepulse (uintptr_t gps_port) |
Configure the timepulse output pin. More... | |
static void | ubx_cfg_set_sbas (uintptr_t gps_port, ModuleSettingsGPSSBASConstellationOptions sbas_const) |
Enable or disable SBAS satellites. More... | |
static void | ubx_cfg_clear_cfg (uintptr_t gps_port) |
static void | ubx_cfg_poll_version (uintptr_t gps_port) |
Request a MON-VER message with the firmware version. More... | |
static void | ubx_cfg_set_constellation (uintptr_t gps_port, ModuleSettingsGPSConstellationOptions constellation, ModuleSettingsGPSSBASConstellationOptions sbas_const) |
static void | ubx_cfg_version_specific (uintptr_t gps_port, uint8_t ver, ModuleSettingsGPSConstellationOptions constellation, ModuleSettingsGPSSBASConstellationOptions sbas_const) |
Apply firmware version specific configuration tweaks. More... | |
static void | ubx_cfg_pause_parse (uintptr_t gps_port, uint32_t delay_ticks) |
Parse incoming data while paused. More... | |
void | ubx_cfg_send_configuration (uintptr_t gps_port, char *buffer, ModuleSettingsGPSConstellationOptions constellation, ModuleSettingsGPSSBASConstellationOptions sbas_const, ModuleSettingsGPSDynamicsModeOptions dyn_mode) |
void | ubx_cfg_set_baudrate (uintptr_t gps_port, ModuleSettingsGPSSpeedOptions baud_rate) |
Make sure the GPS is set to the same baud. More... | |
Variables | |
uint8_t | ubloxTxCK_A |
uint8_t | ubloxTxCK_B |
static char * | gps_rx_buffer |