gpsrtk

package
v0.39.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

Package gpsrtk implements a GPS RTK that we communicate with via either serial port or I2C.

Package gpsrtk implements a gps. This file is for connecting to the chip over I2C.

Package gpsrtk implements a gps

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type I2CConfig added in v0.2.36

type I2CConfig struct {
	I2CBus      string `json:"i2c_bus"`
	I2CAddr     int    `json:"i2c_addr"`
	I2CBaudRate int    `json:"i2c_baud_rate,omitempty"`

	NtripURL             string `json:"ntrip_url"`
	NtripConnectAttempts int    `json:"ntrip_connect_attempts,omitempty"`
	NtripMountpoint      string `json:"ntrip_mountpoint,omitempty"`
	NtripPass            string `json:"ntrip_password,omitempty"`
	NtripUser            string `json:"ntrip_username,omitempty"`
}

I2CConfig is used for converting NMEA MovementSensor with RTK capabilities config attributes.

func (*I2CConfig) Validate added in v0.33.0

func (cfg *I2CConfig) Validate(path string) ([]string, error)

Validate ensures all parts of the config are valid.

type SerialConfig added in v0.2.36

type SerialConfig struct {
	SerialPath     string `json:"serial_path"`
	SerialBaudRate int    `json:"serial_baud_rate,omitempty"`

	NtripURL             string `json:"ntrip_url"`
	NtripConnectAttempts int    `json:"ntrip_connect_attempts,omitempty"`
	NtripMountpoint      string `json:"ntrip_mountpoint,omitempty"`
	NtripPass            string `json:"ntrip_password,omitempty"`
	NtripUser            string `json:"ntrip_username,omitempty"`
}

SerialConfig is used for converting NMEA MovementSensor with RTK capabilities config attributes.

func (*SerialConfig) Validate added in v0.33.0

func (cfg *SerialConfig) Validate(path string) ([]string, error)

Validate ensures all parts of the config are valid.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL