messages

package
v0.0.0-...-ab041b8 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package messages is a generated protocol buffer package.

It is generated from these files:

orientation.proto
weather.proto

It has these top-level messages:

OrientationReadings
OrientationReading
GyroscopeReading
MagnetometerReading
AccelerometerReading
AttitudeHeadingReference
WeatherReadings
WeatherReading

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccelerometerReading

type AccelerometerReading struct {
	XMg float32 `protobuf:"fixed32,1,opt,name=x_mg,json=xMg" json:"x_mg,omitempty"`
	YMg float32 `protobuf:"fixed32,2,opt,name=y_mg,json=yMg" json:"y_mg,omitempty"`
	ZMg float32 `protobuf:"fixed32,3,opt,name=z_mg,json=zMg" json:"z_mg,omitempty"`
}

milli earth-gravities

func (*AccelerometerReading) Descriptor

func (*AccelerometerReading) Descriptor() ([]byte, []int)

func (*AccelerometerReading) GetXMg

func (m *AccelerometerReading) GetXMg() float32

func (*AccelerometerReading) GetYMg

func (m *AccelerometerReading) GetYMg() float32

func (*AccelerometerReading) GetZMg

func (m *AccelerometerReading) GetZMg() float32

func (*AccelerometerReading) ProtoMessage

func (*AccelerometerReading) ProtoMessage()

func (*AccelerometerReading) Reset

func (m *AccelerometerReading) Reset()

func (*AccelerometerReading) String

func (m *AccelerometerReading) String() string

type AttitudeHeadingReference

type AttitudeHeadingReference struct {
	RollRad  float32 `protobuf:"fixed32,1,opt,name=roll_rad,json=rollRad" json:"roll_rad,omitempty"`
	PitchRad float32 `protobuf:"fixed32,2,opt,name=pitch_rad,json=pitchRad" json:"pitch_rad,omitempty"`
	YawRad   float32 `protobuf:"fixed32,3,opt,name=yaw_rad,json=yawRad" json:"yaw_rad,omitempty"`
}

func (*AttitudeHeadingReference) Descriptor

func (*AttitudeHeadingReference) Descriptor() ([]byte, []int)

func (*AttitudeHeadingReference) GetPitchRad

func (m *AttitudeHeadingReference) GetPitchRad() float32

func (*AttitudeHeadingReference) GetRollRad

func (m *AttitudeHeadingReference) GetRollRad() float32

func (*AttitudeHeadingReference) GetYawRad

func (m *AttitudeHeadingReference) GetYawRad() float32

func (*AttitudeHeadingReference) ProtoMessage

func (*AttitudeHeadingReference) ProtoMessage()

func (*AttitudeHeadingReference) Reset

func (m *AttitudeHeadingReference) Reset()

func (*AttitudeHeadingReference) String

func (m *AttitudeHeadingReference) String() string

type GyroscopeReading

type GyroscopeReading struct {
	XDps float32 `protobuf:"fixed32,1,opt,name=x_dps,json=xDps" json:"x_dps,omitempty"`
	YDps float32 `protobuf:"fixed32,2,opt,name=y_dps,json=yDps" json:"y_dps,omitempty"`
	ZDps float32 `protobuf:"fixed32,3,opt,name=z_dps,json=zDps" json:"z_dps,omitempty"`
}

degrees per second

func (*GyroscopeReading) Descriptor

func (*GyroscopeReading) Descriptor() ([]byte, []int)

func (*GyroscopeReading) GetXDps

func (m *GyroscopeReading) GetXDps() float32

func (*GyroscopeReading) GetYDps

func (m *GyroscopeReading) GetYDps() float32

func (*GyroscopeReading) GetZDps

func (m *GyroscopeReading) GetZDps() float32

func (*GyroscopeReading) ProtoMessage

func (*GyroscopeReading) ProtoMessage()

func (*GyroscopeReading) Reset

func (m *GyroscopeReading) Reset()

func (*GyroscopeReading) String

func (m *GyroscopeReading) String() string

type MagnetometerReading

type MagnetometerReading struct {
	XUt float32 `protobuf:"fixed32,1,opt,name=x_ut,json=xUt" json:"x_ut,omitempty"`
	YUt float32 `protobuf:"fixed32,2,opt,name=y_ut,json=yUt" json:"y_ut,omitempty"`
	ZUt float32 `protobuf:"fixed32,3,opt,name=z_ut,json=zUt" json:"z_ut,omitempty"`
}

micro teslas

func (*MagnetometerReading) Descriptor

func (*MagnetometerReading) Descriptor() ([]byte, []int)

func (*MagnetometerReading) GetXUt

func (m *MagnetometerReading) GetXUt() float32

func (*MagnetometerReading) GetYUt

func (m *MagnetometerReading) GetYUt() float32

func (*MagnetometerReading) GetZUt

func (m *MagnetometerReading) GetZUt() float32

func (*MagnetometerReading) ProtoMessage

func (*MagnetometerReading) ProtoMessage()

func (*MagnetometerReading) Reset

func (m *MagnetometerReading) Reset()

func (*MagnetometerReading) String

func (m *MagnetometerReading) String() string

type OrientationReading

type OrientationReading struct {
	RelativeTimeUs uint32                    `protobuf:"varint,1,opt,name=relative_time_us,json=relativeTimeUs" json:"relative_time_us,omitempty"`
	Gyroscope      *GyroscopeReading         `protobuf:"bytes,2,opt,name=gyroscope" json:"gyroscope,omitempty"`
	Magnetometer   *MagnetometerReading      `protobuf:"bytes,3,opt,name=magnetometer" json:"magnetometer,omitempty"`
	Accelerometer  *AccelerometerReading     `protobuf:"bytes,4,opt,name=accelerometer" json:"accelerometer,omitempty"`
	Ahrs           *AttitudeHeadingReference `protobuf:"bytes,5,opt,name=ahrs" json:"ahrs,omitempty"`
}

func (*OrientationReading) Descriptor

func (*OrientationReading) Descriptor() ([]byte, []int)

func (*OrientationReading) GetAccelerometer

func (m *OrientationReading) GetAccelerometer() *AccelerometerReading

func (*OrientationReading) GetAhrs

func (*OrientationReading) GetGyroscope

func (m *OrientationReading) GetGyroscope() *GyroscopeReading

func (*OrientationReading) GetMagnetometer

func (m *OrientationReading) GetMagnetometer() *MagnetometerReading

func (*OrientationReading) GetRelativeTimeUs

func (m *OrientationReading) GetRelativeTimeUs() uint32

func (*OrientationReading) ProtoMessage

func (*OrientationReading) ProtoMessage()

func (*OrientationReading) Reset

func (m *OrientationReading) Reset()

func (*OrientationReading) String

func (m *OrientationReading) String() string

type OrientationReadings

type OrientationReadings struct {
	Device   string                     `protobuf:"bytes,1,opt,name=device" json:"device,omitempty"`
	BaseTime *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=base_time,json=baseTime" json:"base_time,omitempty"`
	Readings []*OrientationReading      `protobuf:"bytes,3,rep,name=readings" json:"readings,omitempty"`
}

func (*OrientationReadings) Descriptor

func (*OrientationReadings) Descriptor() ([]byte, []int)

func (*OrientationReadings) GetBaseTime

func (m *OrientationReadings) GetBaseTime() *google_protobuf.Timestamp

func (*OrientationReadings) GetDevice

func (m *OrientationReadings) GetDevice() string

func (*OrientationReadings) GetReadings

func (m *OrientationReadings) GetReadings() []*OrientationReading

func (*OrientationReadings) ProtoMessage

func (*OrientationReadings) ProtoMessage()

func (*OrientationReadings) Reset

func (m *OrientationReadings) Reset()

func (*OrientationReadings) String

func (m *OrientationReadings) String() string

type WeatherReading

type WeatherReading struct {
	RelativeTimeUs             uint32  `protobuf:"varint,1,opt,name=relative_time_us,json=relativeTimeUs" json:"relative_time_us,omitempty"`
	TemperatureDegreesC        float32 `protobuf:"fixed32,2,opt,name=temperature_degrees_c,json=temperatureDegreesC" json:"temperature_degrees_c,omitempty"`
	RelativeHumidityPercentage float32 `` /* 136-byte string literal not displayed */
}

func (*WeatherReading) Descriptor

func (*WeatherReading) Descriptor() ([]byte, []int)

func (*WeatherReading) GetRelativeHumidityPercentage

func (m *WeatherReading) GetRelativeHumidityPercentage() float32

func (*WeatherReading) GetRelativeTimeUs

func (m *WeatherReading) GetRelativeTimeUs() uint32

func (*WeatherReading) GetTemperatureDegreesC

func (m *WeatherReading) GetTemperatureDegreesC() float32

func (*WeatherReading) ProtoMessage

func (*WeatherReading) ProtoMessage()

func (*WeatherReading) Reset

func (m *WeatherReading) Reset()

func (*WeatherReading) String

func (m *WeatherReading) String() string

type WeatherReadings

type WeatherReadings struct {
	Device   string                     `protobuf:"bytes,1,opt,name=device" json:"device,omitempty"`
	BaseTime *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=base_time,json=baseTime" json:"base_time,omitempty"`
	Readings []*WeatherReading          `protobuf:"bytes,3,rep,name=readings" json:"readings,omitempty"`
}

func (*WeatherReadings) Descriptor

func (*WeatherReadings) Descriptor() ([]byte, []int)

func (*WeatherReadings) GetBaseTime

func (m *WeatherReadings) GetBaseTime() *google_protobuf.Timestamp

func (*WeatherReadings) GetDevice

func (m *WeatherReadings) GetDevice() string

func (*WeatherReadings) GetReadings

func (m *WeatherReadings) GetReadings() []*WeatherReading

func (*WeatherReadings) ProtoMessage

func (*WeatherReadings) ProtoMessage()

func (*WeatherReadings) Reset

func (m *WeatherReadings) Reset()

func (*WeatherReadings) String

func (m *WeatherReadings) String() string

Jump to

Keyboard shortcuts

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