mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-12 15:33:45 +08:00
ab81464bd1
Add navigation and map matching providers with the vendored map service sources. Co-authored-by: Daniel Koepping <elkoled@gmail.com> Co-authored-by: Danny <dannyirwin31@yahoo.com> Co-authored-by: Prabhaav Pillai <prabhaav@msu.edu> Co-authored-by: dirwin31 <83434411+dirwin31@users.noreply.github.com>
10859 lines
340 KiB
Go
10859 lines
340 KiB
Go
// Code generated by capnpc-go. DO NOT EDIT.
|
|
|
|
package deprecated
|
|
|
|
import (
|
|
capnp "capnproto.org/go/capnp/v3"
|
|
text "capnproto.org/go/capnp/v3/encoding/text"
|
|
schemas "capnproto.org/go/capnp/v3/schemas"
|
|
math "math"
|
|
strconv "strconv"
|
|
)
|
|
|
|
type LogRotate capnp.Struct
|
|
|
|
// LogRotate_TypeID is the unique identifier for the type LogRotate.
|
|
const LogRotate_TypeID = 0x9811e1f38f62f2d1
|
|
|
|
func NewLogRotate(s *capnp.Segment) (LogRotate, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return LogRotate(st), err
|
|
}
|
|
|
|
func NewRootLogRotate(s *capnp.Segment) (LogRotate, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return LogRotate(st), err
|
|
}
|
|
|
|
func ReadRootLogRotate(msg *capnp.Message) (LogRotate, error) {
|
|
root, err := msg.Root()
|
|
return LogRotate(root.Struct()), err
|
|
}
|
|
|
|
func (s LogRotate) String() string {
|
|
str, _ := text.Marshal(0x9811e1f38f62f2d1, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LogRotate) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LogRotate) DecodeFromPtr(p capnp.Ptr) LogRotate {
|
|
return LogRotate(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LogRotate) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LogRotate) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LogRotate) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LogRotate) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LogRotate) SegmentNum() int32 {
|
|
return int32(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s LogRotate) SetSegmentNum(v int32) {
|
|
capnp.Struct(s).SetUint32(0, uint32(v))
|
|
}
|
|
|
|
func (s LogRotate) Path() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s LogRotate) HasPath() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s LogRotate) PathBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s LogRotate) SetPath(v string) error {
|
|
return capnp.Struct(s).SetText(0, v)
|
|
}
|
|
|
|
// LogRotate_List is a list of LogRotate.
|
|
type LogRotate_List = capnp.StructList[LogRotate]
|
|
|
|
// NewLogRotate creates a new list of LogRotate.
|
|
func NewLogRotate_List(s *capnp.Segment, sz int32) (LogRotate_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1}, sz)
|
|
return capnp.StructList[LogRotate](l), err
|
|
}
|
|
|
|
// LogRotate_Future is a wrapper for a LogRotate promised by a client call.
|
|
type LogRotate_Future struct{ *capnp.Future }
|
|
|
|
func (f LogRotate_Future) Struct() (LogRotate, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LogRotate(p.Struct()), err
|
|
}
|
|
|
|
type LiveUI capnp.Struct
|
|
|
|
// LiveUI_TypeID is the unique identifier for the type LiveUI.
|
|
const LiveUI_TypeID = 0xc08240f996aefced
|
|
|
|
func NewLiveUI(s *capnp.Segment) (LiveUI, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 2})
|
|
return LiveUI(st), err
|
|
}
|
|
|
|
func NewRootLiveUI(s *capnp.Segment) (LiveUI, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 2})
|
|
return LiveUI(st), err
|
|
}
|
|
|
|
func ReadRootLiveUI(msg *capnp.Message) (LiveUI, error) {
|
|
root, err := msg.Root()
|
|
return LiveUI(root.Struct()), err
|
|
}
|
|
|
|
func (s LiveUI) String() string {
|
|
str, _ := text.Marshal(0xc08240f996aefced, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LiveUI) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LiveUI) DecodeFromPtr(p capnp.Ptr) LiveUI {
|
|
return LiveUI(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LiveUI) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LiveUI) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LiveUI) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LiveUI) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LiveUI) RearViewCam() bool {
|
|
return capnp.Struct(s).Bit(0)
|
|
}
|
|
|
|
func (s LiveUI) SetRearViewCam(v bool) {
|
|
capnp.Struct(s).SetBit(0, v)
|
|
}
|
|
|
|
func (s LiveUI) AlertText1() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s LiveUI) HasAlertText1() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s LiveUI) AlertText1Bytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s LiveUI) SetAlertText1(v string) error {
|
|
return capnp.Struct(s).SetText(0, v)
|
|
}
|
|
|
|
func (s LiveUI) AlertText2() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s LiveUI) HasAlertText2() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s LiveUI) AlertText2Bytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s LiveUI) SetAlertText2(v string) error {
|
|
return capnp.Struct(s).SetText(1, v)
|
|
}
|
|
|
|
func (s LiveUI) AwarenessStatus() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s LiveUI) SetAwarenessStatus(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
// LiveUI_List is a list of LiveUI.
|
|
type LiveUI_List = capnp.StructList[LiveUI]
|
|
|
|
// NewLiveUI creates a new list of LiveUI.
|
|
func NewLiveUI_List(s *capnp.Segment, sz int32) (LiveUI_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 2}, sz)
|
|
return capnp.StructList[LiveUI](l), err
|
|
}
|
|
|
|
// LiveUI_Future is a wrapper for a LiveUI promised by a client call.
|
|
type LiveUI_Future struct{ *capnp.Future }
|
|
|
|
func (f LiveUI_Future) Struct() (LiveUI, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LiveUI(p.Struct()), err
|
|
}
|
|
|
|
type UiLayoutState capnp.Struct
|
|
|
|
// UiLayoutState_TypeID is the unique identifier for the type UiLayoutState.
|
|
const UiLayoutState_TypeID = 0x88dcce08ad29dda0
|
|
|
|
func NewUiLayoutState(s *capnp.Segment) (UiLayoutState, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 0})
|
|
return UiLayoutState(st), err
|
|
}
|
|
|
|
func NewRootUiLayoutState(s *capnp.Segment) (UiLayoutState, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 0})
|
|
return UiLayoutState(st), err
|
|
}
|
|
|
|
func ReadRootUiLayoutState(msg *capnp.Message) (UiLayoutState, error) {
|
|
root, err := msg.Root()
|
|
return UiLayoutState(root.Struct()), err
|
|
}
|
|
|
|
func (s UiLayoutState) String() string {
|
|
str, _ := text.Marshal(0x88dcce08ad29dda0, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s UiLayoutState) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (UiLayoutState) DecodeFromPtr(p capnp.Ptr) UiLayoutState {
|
|
return UiLayoutState(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s UiLayoutState) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s UiLayoutState) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s UiLayoutState) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s UiLayoutState) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s UiLayoutState) ActiveApp() UiLayoutState_App {
|
|
return UiLayoutState_App(capnp.Struct(s).Uint16(0))
|
|
}
|
|
|
|
func (s UiLayoutState) SetActiveApp(v UiLayoutState_App) {
|
|
capnp.Struct(s).SetUint16(0, uint16(v))
|
|
}
|
|
|
|
func (s UiLayoutState) SidebarCollapsed() bool {
|
|
return capnp.Struct(s).Bit(16)
|
|
}
|
|
|
|
func (s UiLayoutState) SetSidebarCollapsed(v bool) {
|
|
capnp.Struct(s).SetBit(16, v)
|
|
}
|
|
|
|
func (s UiLayoutState) MapEnabled() bool {
|
|
return capnp.Struct(s).Bit(17)
|
|
}
|
|
|
|
func (s UiLayoutState) SetMapEnabled(v bool) {
|
|
capnp.Struct(s).SetBit(17, v)
|
|
}
|
|
|
|
func (s UiLayoutState) MockEngaged() bool {
|
|
return capnp.Struct(s).Bit(18)
|
|
}
|
|
|
|
func (s UiLayoutState) SetMockEngaged(v bool) {
|
|
capnp.Struct(s).SetBit(18, v)
|
|
}
|
|
|
|
// UiLayoutState_List is a list of UiLayoutState.
|
|
type UiLayoutState_List = capnp.StructList[UiLayoutState]
|
|
|
|
// NewUiLayoutState creates a new list of UiLayoutState.
|
|
func NewUiLayoutState_List(s *capnp.Segment, sz int32) (UiLayoutState_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 0}, sz)
|
|
return capnp.StructList[UiLayoutState](l), err
|
|
}
|
|
|
|
// UiLayoutState_Future is a wrapper for a UiLayoutState promised by a client call.
|
|
type UiLayoutState_Future struct{ *capnp.Future }
|
|
|
|
func (f UiLayoutState_Future) Struct() (UiLayoutState, error) {
|
|
p, err := f.Future.Ptr()
|
|
return UiLayoutState(p.Struct()), err
|
|
}
|
|
|
|
type UiLayoutState_App uint16
|
|
|
|
// UiLayoutState_App_TypeID is the unique identifier for the type UiLayoutState_App.
|
|
const UiLayoutState_App_TypeID = 0x9917470acf94d285
|
|
|
|
// Values of UiLayoutState_App.
|
|
const (
|
|
UiLayoutState_App_home UiLayoutState_App = 0
|
|
UiLayoutState_App_music UiLayoutState_App = 1
|
|
UiLayoutState_App_nav UiLayoutState_App = 2
|
|
UiLayoutState_App_settings UiLayoutState_App = 3
|
|
UiLayoutState_App_none UiLayoutState_App = 4
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c UiLayoutState_App) String() string {
|
|
switch c {
|
|
case UiLayoutState_App_home:
|
|
return "home"
|
|
case UiLayoutState_App_music:
|
|
return "music"
|
|
case UiLayoutState_App_nav:
|
|
return "nav"
|
|
case UiLayoutState_App_settings:
|
|
return "settings"
|
|
case UiLayoutState_App_none:
|
|
return "none"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// UiLayoutState_AppFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func UiLayoutState_AppFromString(c string) UiLayoutState_App {
|
|
switch c {
|
|
case "home":
|
|
return UiLayoutState_App_home
|
|
case "music":
|
|
return UiLayoutState_App_music
|
|
case "nav":
|
|
return UiLayoutState_App_nav
|
|
case "settings":
|
|
return UiLayoutState_App_settings
|
|
case "none":
|
|
return UiLayoutState_App_none
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type UiLayoutState_App_List = capnp.EnumList[UiLayoutState_App]
|
|
|
|
func NewUiLayoutState_App_List(s *capnp.Segment, sz int32) (UiLayoutState_App_List, error) {
|
|
return capnp.NewEnumList[UiLayoutState_App](s, sz)
|
|
}
|
|
|
|
type OrbslamCorrection capnp.Struct
|
|
|
|
// OrbslamCorrection_TypeID is the unique identifier for the type OrbslamCorrection.
|
|
const OrbslamCorrection_TypeID = 0x8afd33dc9b35e1aa
|
|
|
|
func NewOrbslamCorrection(s *capnp.Segment) (OrbslamCorrection, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 4})
|
|
return OrbslamCorrection(st), err
|
|
}
|
|
|
|
func NewRootOrbslamCorrection(s *capnp.Segment) (OrbslamCorrection, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 4})
|
|
return OrbslamCorrection(st), err
|
|
}
|
|
|
|
func ReadRootOrbslamCorrection(msg *capnp.Message) (OrbslamCorrection, error) {
|
|
root, err := msg.Root()
|
|
return OrbslamCorrection(root.Struct()), err
|
|
}
|
|
|
|
func (s OrbslamCorrection) String() string {
|
|
str, _ := text.Marshal(0x8afd33dc9b35e1aa, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s OrbslamCorrection) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (OrbslamCorrection) DecodeFromPtr(p capnp.Ptr) OrbslamCorrection {
|
|
return OrbslamCorrection(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s OrbslamCorrection) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s OrbslamCorrection) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s OrbslamCorrection) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s OrbslamCorrection) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s OrbslamCorrection) CorrectionMonoTime() uint64 {
|
|
return capnp.Struct(s).Uint64(0)
|
|
}
|
|
|
|
func (s OrbslamCorrection) SetCorrectionMonoTime(v uint64) {
|
|
capnp.Struct(s).SetUint64(0, v)
|
|
}
|
|
|
|
func (s OrbslamCorrection) PrePositionECEF() (capnp.Float64List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float64List(p.List()), err
|
|
}
|
|
|
|
func (s OrbslamCorrection) HasPrePositionECEF() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s OrbslamCorrection) SetPrePositionECEF(v capnp.Float64List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewPrePositionECEF sets the prePositionECEF field to a newly
|
|
// allocated capnp.Float64List, preferring placement in s's segment.
|
|
func (s OrbslamCorrection) NewPrePositionECEF(n int32) (capnp.Float64List, error) {
|
|
l, err := capnp.NewFloat64List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float64List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s OrbslamCorrection) PostPositionECEF() (capnp.Float64List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float64List(p.List()), err
|
|
}
|
|
|
|
func (s OrbslamCorrection) HasPostPositionECEF() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s OrbslamCorrection) SetPostPositionECEF(v capnp.Float64List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewPostPositionECEF sets the postPositionECEF field to a newly
|
|
// allocated capnp.Float64List, preferring placement in s's segment.
|
|
func (s OrbslamCorrection) NewPostPositionECEF(n int32) (capnp.Float64List, error) {
|
|
l, err := capnp.NewFloat64List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float64List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s OrbslamCorrection) PrePoseQuatECEF() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s OrbslamCorrection) HasPrePoseQuatECEF() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s OrbslamCorrection) SetPrePoseQuatECEF(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewPrePoseQuatECEF sets the prePoseQuatECEF field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s OrbslamCorrection) NewPrePoseQuatECEF(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s OrbslamCorrection) PostPoseQuatECEF() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s OrbslamCorrection) HasPostPoseQuatECEF() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s OrbslamCorrection) SetPostPoseQuatECEF(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(3, v.ToPtr())
|
|
}
|
|
|
|
// NewPostPoseQuatECEF sets the postPoseQuatECEF field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s OrbslamCorrection) NewPostPoseQuatECEF(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s OrbslamCorrection) NumInliers() uint32 {
|
|
return capnp.Struct(s).Uint32(8)
|
|
}
|
|
|
|
func (s OrbslamCorrection) SetNumInliers(v uint32) {
|
|
capnp.Struct(s).SetUint32(8, v)
|
|
}
|
|
|
|
// OrbslamCorrection_List is a list of OrbslamCorrection.
|
|
type OrbslamCorrection_List = capnp.StructList[OrbslamCorrection]
|
|
|
|
// NewOrbslamCorrection creates a new list of OrbslamCorrection.
|
|
func NewOrbslamCorrection_List(s *capnp.Segment, sz int32) (OrbslamCorrection_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 4}, sz)
|
|
return capnp.StructList[OrbslamCorrection](l), err
|
|
}
|
|
|
|
// OrbslamCorrection_Future is a wrapper for a OrbslamCorrection promised by a client call.
|
|
type OrbslamCorrection_Future struct{ *capnp.Future }
|
|
|
|
func (f OrbslamCorrection_Future) Struct() (OrbslamCorrection, error) {
|
|
p, err := f.Future.Ptr()
|
|
return OrbslamCorrection(p.Struct()), err
|
|
}
|
|
|
|
type EthernetPacket capnp.Struct
|
|
|
|
// EthernetPacket_TypeID is the unique identifier for the type EthernetPacket.
|
|
const EthernetPacket_TypeID = 0xa99a9d5b33cf5859
|
|
|
|
func NewEthernetPacket(s *capnp.Segment) (EthernetPacket, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return EthernetPacket(st), err
|
|
}
|
|
|
|
func NewRootEthernetPacket(s *capnp.Segment) (EthernetPacket, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return EthernetPacket(st), err
|
|
}
|
|
|
|
func ReadRootEthernetPacket(msg *capnp.Message) (EthernetPacket, error) {
|
|
root, err := msg.Root()
|
|
return EthernetPacket(root.Struct()), err
|
|
}
|
|
|
|
func (s EthernetPacket) String() string {
|
|
str, _ := text.Marshal(0xa99a9d5b33cf5859, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s EthernetPacket) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (EthernetPacket) DecodeFromPtr(p capnp.Ptr) EthernetPacket {
|
|
return EthernetPacket(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s EthernetPacket) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s EthernetPacket) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s EthernetPacket) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s EthernetPacket) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s EthernetPacket) Pkt() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return []byte(p.Data()), err
|
|
}
|
|
|
|
func (s EthernetPacket) HasPkt() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s EthernetPacket) SetPkt(v []byte) error {
|
|
return capnp.Struct(s).SetData(0, v)
|
|
}
|
|
|
|
func (s EthernetPacket) Ts() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s EthernetPacket) SetTs(v float32) {
|
|
capnp.Struct(s).SetUint32(0, math.Float32bits(v))
|
|
}
|
|
|
|
// EthernetPacket_List is a list of EthernetPacket.
|
|
type EthernetPacket_List = capnp.StructList[EthernetPacket]
|
|
|
|
// NewEthernetPacket creates a new list of EthernetPacket.
|
|
func NewEthernetPacket_List(s *capnp.Segment, sz int32) (EthernetPacket_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1}, sz)
|
|
return capnp.StructList[EthernetPacket](l), err
|
|
}
|
|
|
|
// EthernetPacket_Future is a wrapper for a EthernetPacket promised by a client call.
|
|
type EthernetPacket_Future struct{ *capnp.Future }
|
|
|
|
func (f EthernetPacket_Future) Struct() (EthernetPacket, error) {
|
|
p, err := f.Future.Ptr()
|
|
return EthernetPacket(p.Struct()), err
|
|
}
|
|
|
|
type CellInfo capnp.Struct
|
|
|
|
// CellInfo_TypeID is the unique identifier for the type CellInfo.
|
|
const CellInfo_TypeID = 0xcff7566681c277ce
|
|
|
|
func NewCellInfo(s *capnp.Segment) (CellInfo, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return CellInfo(st), err
|
|
}
|
|
|
|
func NewRootCellInfo(s *capnp.Segment) (CellInfo, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return CellInfo(st), err
|
|
}
|
|
|
|
func ReadRootCellInfo(msg *capnp.Message) (CellInfo, error) {
|
|
root, err := msg.Root()
|
|
return CellInfo(root.Struct()), err
|
|
}
|
|
|
|
func (s CellInfo) String() string {
|
|
str, _ := text.Marshal(0xcff7566681c277ce, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s CellInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (CellInfo) DecodeFromPtr(p capnp.Ptr) CellInfo {
|
|
return CellInfo(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s CellInfo) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s CellInfo) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s CellInfo) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s CellInfo) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s CellInfo) Timestamp() uint64 {
|
|
return capnp.Struct(s).Uint64(0)
|
|
}
|
|
|
|
func (s CellInfo) SetTimestamp(v uint64) {
|
|
capnp.Struct(s).SetUint64(0, v)
|
|
}
|
|
|
|
func (s CellInfo) Repr() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s CellInfo) HasRepr() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s CellInfo) ReprBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s CellInfo) SetRepr(v string) error {
|
|
return capnp.Struct(s).SetText(0, v)
|
|
}
|
|
|
|
// CellInfo_List is a list of CellInfo.
|
|
type CellInfo_List = capnp.StructList[CellInfo]
|
|
|
|
// NewCellInfo creates a new list of CellInfo.
|
|
func NewCellInfo_List(s *capnp.Segment, sz int32) (CellInfo_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1}, sz)
|
|
return capnp.StructList[CellInfo](l), err
|
|
}
|
|
|
|
// CellInfo_Future is a wrapper for a CellInfo promised by a client call.
|
|
type CellInfo_Future struct{ *capnp.Future }
|
|
|
|
func (f CellInfo_Future) Struct() (CellInfo, error) {
|
|
p, err := f.Future.Ptr()
|
|
return CellInfo(p.Struct()), err
|
|
}
|
|
|
|
type WifiScan capnp.Struct
|
|
|
|
// WifiScan_TypeID is the unique identifier for the type WifiScan.
|
|
const WifiScan_TypeID = 0xd4df5a192382ba0b
|
|
|
|
func NewWifiScan(s *capnp.Segment) (WifiScan, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 40, PointerCount: 5})
|
|
return WifiScan(st), err
|
|
}
|
|
|
|
func NewRootWifiScan(s *capnp.Segment) (WifiScan, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 40, PointerCount: 5})
|
|
return WifiScan(st), err
|
|
}
|
|
|
|
func ReadRootWifiScan(msg *capnp.Message) (WifiScan, error) {
|
|
root, err := msg.Root()
|
|
return WifiScan(root.Struct()), err
|
|
}
|
|
|
|
func (s WifiScan) String() string {
|
|
str, _ := text.Marshal(0xd4df5a192382ba0b, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s WifiScan) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (WifiScan) DecodeFromPtr(p capnp.Ptr) WifiScan {
|
|
return WifiScan(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s WifiScan) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s WifiScan) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s WifiScan) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s WifiScan) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s WifiScan) Bssid() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s WifiScan) HasBssid() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s WifiScan) BssidBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s WifiScan) SetBssid(v string) error {
|
|
return capnp.Struct(s).SetText(0, v)
|
|
}
|
|
|
|
func (s WifiScan) Ssid() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s WifiScan) HasSsid() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s WifiScan) SsidBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s WifiScan) SetSsid(v string) error {
|
|
return capnp.Struct(s).SetText(1, v)
|
|
}
|
|
|
|
func (s WifiScan) Capabilities() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s WifiScan) HasCapabilities() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s WifiScan) CapabilitiesBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s WifiScan) SetCapabilities(v string) error {
|
|
return capnp.Struct(s).SetText(2, v)
|
|
}
|
|
|
|
func (s WifiScan) Frequency() int32 {
|
|
return int32(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s WifiScan) SetFrequency(v int32) {
|
|
capnp.Struct(s).SetUint32(0, uint32(v))
|
|
}
|
|
|
|
func (s WifiScan) Level() int32 {
|
|
return int32(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s WifiScan) SetLevel(v int32) {
|
|
capnp.Struct(s).SetUint32(4, uint32(v))
|
|
}
|
|
|
|
func (s WifiScan) Timestamp() int64 {
|
|
return int64(capnp.Struct(s).Uint64(8))
|
|
}
|
|
|
|
func (s WifiScan) SetTimestamp(v int64) {
|
|
capnp.Struct(s).SetUint64(8, uint64(v))
|
|
}
|
|
|
|
func (s WifiScan) CenterFreq0() int32 {
|
|
return int32(capnp.Struct(s).Uint32(16))
|
|
}
|
|
|
|
func (s WifiScan) SetCenterFreq0(v int32) {
|
|
capnp.Struct(s).SetUint32(16, uint32(v))
|
|
}
|
|
|
|
func (s WifiScan) CenterFreq1() int32 {
|
|
return int32(capnp.Struct(s).Uint32(20))
|
|
}
|
|
|
|
func (s WifiScan) SetCenterFreq1(v int32) {
|
|
capnp.Struct(s).SetUint32(20, uint32(v))
|
|
}
|
|
|
|
func (s WifiScan) ChannelWidth() WifiScan_ChannelWidth {
|
|
return WifiScan_ChannelWidth(capnp.Struct(s).Uint16(24))
|
|
}
|
|
|
|
func (s WifiScan) SetChannelWidth(v WifiScan_ChannelWidth) {
|
|
capnp.Struct(s).SetUint16(24, uint16(v))
|
|
}
|
|
|
|
func (s WifiScan) OperatorFriendlyName() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s WifiScan) HasOperatorFriendlyName() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s WifiScan) OperatorFriendlyNameBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s WifiScan) SetOperatorFriendlyName(v string) error {
|
|
return capnp.Struct(s).SetText(3, v)
|
|
}
|
|
|
|
func (s WifiScan) VenueName() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s WifiScan) HasVenueName() bool {
|
|
return capnp.Struct(s).HasPtr(4)
|
|
}
|
|
|
|
func (s WifiScan) VenueNameBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s WifiScan) SetVenueName(v string) error {
|
|
return capnp.Struct(s).SetText(4, v)
|
|
}
|
|
|
|
func (s WifiScan) Is80211mcResponder() bool {
|
|
return capnp.Struct(s).Bit(208)
|
|
}
|
|
|
|
func (s WifiScan) SetIs80211mcResponder(v bool) {
|
|
capnp.Struct(s).SetBit(208, v)
|
|
}
|
|
|
|
func (s WifiScan) Passpoint() bool {
|
|
return capnp.Struct(s).Bit(209)
|
|
}
|
|
|
|
func (s WifiScan) SetPasspoint(v bool) {
|
|
capnp.Struct(s).SetBit(209, v)
|
|
}
|
|
|
|
func (s WifiScan) DistanceCm() int32 {
|
|
return int32(capnp.Struct(s).Uint32(28))
|
|
}
|
|
|
|
func (s WifiScan) SetDistanceCm(v int32) {
|
|
capnp.Struct(s).SetUint32(28, uint32(v))
|
|
}
|
|
|
|
func (s WifiScan) DistanceSdCm() int32 {
|
|
return int32(capnp.Struct(s).Uint32(32))
|
|
}
|
|
|
|
func (s WifiScan) SetDistanceSdCm(v int32) {
|
|
capnp.Struct(s).SetUint32(32, uint32(v))
|
|
}
|
|
|
|
// WifiScan_List is a list of WifiScan.
|
|
type WifiScan_List = capnp.StructList[WifiScan]
|
|
|
|
// NewWifiScan creates a new list of WifiScan.
|
|
func NewWifiScan_List(s *capnp.Segment, sz int32) (WifiScan_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 40, PointerCount: 5}, sz)
|
|
return capnp.StructList[WifiScan](l), err
|
|
}
|
|
|
|
// WifiScan_Future is a wrapper for a WifiScan promised by a client call.
|
|
type WifiScan_Future struct{ *capnp.Future }
|
|
|
|
func (f WifiScan_Future) Struct() (WifiScan, error) {
|
|
p, err := f.Future.Ptr()
|
|
return WifiScan(p.Struct()), err
|
|
}
|
|
|
|
type WifiScan_ChannelWidth uint16
|
|
|
|
// WifiScan_ChannelWidth_TypeID is the unique identifier for the type WifiScan_ChannelWidth.
|
|
const WifiScan_ChannelWidth_TypeID = 0xcb6a279f015f6b51
|
|
|
|
// Values of WifiScan_ChannelWidth.
|
|
const (
|
|
WifiScan_ChannelWidth_w20Mhz WifiScan_ChannelWidth = 0
|
|
WifiScan_ChannelWidth_w40Mhz WifiScan_ChannelWidth = 1
|
|
WifiScan_ChannelWidth_w80Mhz WifiScan_ChannelWidth = 2
|
|
WifiScan_ChannelWidth_w160Mhz WifiScan_ChannelWidth = 3
|
|
WifiScan_ChannelWidth_w80Plus80Mhz WifiScan_ChannelWidth = 4
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c WifiScan_ChannelWidth) String() string {
|
|
switch c {
|
|
case WifiScan_ChannelWidth_w20Mhz:
|
|
return "w20Mhz"
|
|
case WifiScan_ChannelWidth_w40Mhz:
|
|
return "w40Mhz"
|
|
case WifiScan_ChannelWidth_w80Mhz:
|
|
return "w80Mhz"
|
|
case WifiScan_ChannelWidth_w160Mhz:
|
|
return "w160Mhz"
|
|
case WifiScan_ChannelWidth_w80Plus80Mhz:
|
|
return "w80Plus80Mhz"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// WifiScan_ChannelWidthFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func WifiScan_ChannelWidthFromString(c string) WifiScan_ChannelWidth {
|
|
switch c {
|
|
case "w20Mhz":
|
|
return WifiScan_ChannelWidth_w20Mhz
|
|
case "w40Mhz":
|
|
return WifiScan_ChannelWidth_w40Mhz
|
|
case "w80Mhz":
|
|
return WifiScan_ChannelWidth_w80Mhz
|
|
case "w160Mhz":
|
|
return WifiScan_ChannelWidth_w160Mhz
|
|
case "w80Plus80Mhz":
|
|
return WifiScan_ChannelWidth_w80Plus80Mhz
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type WifiScan_ChannelWidth_List = capnp.EnumList[WifiScan_ChannelWidth]
|
|
|
|
func NewWifiScan_ChannelWidth_List(s *capnp.Segment, sz int32) (WifiScan_ChannelWidth_List, error) {
|
|
return capnp.NewEnumList[WifiScan_ChannelWidth](s, sz)
|
|
}
|
|
|
|
type LiveEventData capnp.Struct
|
|
|
|
// LiveEventData_TypeID is the unique identifier for the type LiveEventData.
|
|
const LiveEventData_TypeID = 0x94b7baa90c5c321e
|
|
|
|
func NewLiveEventData(s *capnp.Segment) (LiveEventData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return LiveEventData(st), err
|
|
}
|
|
|
|
func NewRootLiveEventData(s *capnp.Segment) (LiveEventData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return LiveEventData(st), err
|
|
}
|
|
|
|
func ReadRootLiveEventData(msg *capnp.Message) (LiveEventData, error) {
|
|
root, err := msg.Root()
|
|
return LiveEventData(root.Struct()), err
|
|
}
|
|
|
|
func (s LiveEventData) String() string {
|
|
str, _ := text.Marshal(0x94b7baa90c5c321e, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LiveEventData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LiveEventData) DecodeFromPtr(p capnp.Ptr) LiveEventData {
|
|
return LiveEventData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LiveEventData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LiveEventData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LiveEventData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LiveEventData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LiveEventData) Name() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s LiveEventData) HasName() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s LiveEventData) NameBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s LiveEventData) SetName(v string) error {
|
|
return capnp.Struct(s).SetText(0, v)
|
|
}
|
|
|
|
func (s LiveEventData) Value() int32 {
|
|
return int32(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s LiveEventData) SetValue(v int32) {
|
|
capnp.Struct(s).SetUint32(0, uint32(v))
|
|
}
|
|
|
|
// LiveEventData_List is a list of LiveEventData.
|
|
type LiveEventData_List = capnp.StructList[LiveEventData]
|
|
|
|
// NewLiveEventData creates a new list of LiveEventData.
|
|
func NewLiveEventData_List(s *capnp.Segment, sz int32) (LiveEventData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1}, sz)
|
|
return capnp.StructList[LiveEventData](l), err
|
|
}
|
|
|
|
// LiveEventData_Future is a wrapper for a LiveEventData promised by a client call.
|
|
type LiveEventData_Future struct{ *capnp.Future }
|
|
|
|
func (f LiveEventData_Future) Struct() (LiveEventData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LiveEventData(p.Struct()), err
|
|
}
|
|
|
|
type ModelData capnp.Struct
|
|
|
|
// ModelData_TypeID is the unique identifier for the type ModelData.
|
|
const ModelData_TypeID = 0xb8aad62cffef28a9
|
|
|
|
func NewModelData(s *capnp.Segment) (ModelData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 32, PointerCount: 11})
|
|
return ModelData(st), err
|
|
}
|
|
|
|
func NewRootModelData(s *capnp.Segment) (ModelData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 32, PointerCount: 11})
|
|
return ModelData(st), err
|
|
}
|
|
|
|
func ReadRootModelData(msg *capnp.Message) (ModelData, error) {
|
|
root, err := msg.Root()
|
|
return ModelData(root.Struct()), err
|
|
}
|
|
|
|
func (s ModelData) String() string {
|
|
str, _ := text.Marshal(0xb8aad62cffef28a9, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s ModelData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (ModelData) DecodeFromPtr(p capnp.Ptr) ModelData {
|
|
return ModelData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s ModelData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s ModelData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s ModelData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s ModelData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s ModelData) FrameId() uint32 {
|
|
return capnp.Struct(s).Uint32(0)
|
|
}
|
|
|
|
func (s ModelData) SetFrameId(v uint32) {
|
|
capnp.Struct(s).SetUint32(0, v)
|
|
}
|
|
|
|
func (s ModelData) FrameAge() uint32 {
|
|
return capnp.Struct(s).Uint32(4)
|
|
}
|
|
|
|
func (s ModelData) SetFrameAge(v uint32) {
|
|
capnp.Struct(s).SetUint32(4, v)
|
|
}
|
|
|
|
func (s ModelData) FrameDropPerc() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(16))
|
|
}
|
|
|
|
func (s ModelData) SetFrameDropPerc(v float32) {
|
|
capnp.Struct(s).SetUint32(16, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData) TimestampEof() uint64 {
|
|
return capnp.Struct(s).Uint64(8)
|
|
}
|
|
|
|
func (s ModelData) SetTimestampEof(v uint64) {
|
|
capnp.Struct(s).SetUint64(8, v)
|
|
}
|
|
|
|
func (s ModelData) ModelExecutionTime() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(20))
|
|
}
|
|
|
|
func (s ModelData) SetModelExecutionTime(v float32) {
|
|
capnp.Struct(s).SetUint32(20, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData) GpuExecutionTime() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(24))
|
|
}
|
|
|
|
func (s ModelData) SetGpuExecutionTime(v float32) {
|
|
capnp.Struct(s).SetUint32(24, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData) RawPred() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(10)
|
|
return []byte(p.Data()), err
|
|
}
|
|
|
|
func (s ModelData) HasRawPred() bool {
|
|
return capnp.Struct(s).HasPtr(10)
|
|
}
|
|
|
|
func (s ModelData) SetRawPred(v []byte) error {
|
|
return capnp.Struct(s).SetData(10, v)
|
|
}
|
|
|
|
func (s ModelData) Path() (ModelData_PathData, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return ModelData_PathData(p.Struct()), err
|
|
}
|
|
|
|
func (s ModelData) HasPath() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s ModelData) SetPath(v ModelData_PathData) error {
|
|
return capnp.Struct(s).SetPtr(0, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewPath sets the path field to a newly
|
|
// allocated ModelData_PathData struct, preferring placement in s's segment.
|
|
func (s ModelData) NewPath() (ModelData_PathData, error) {
|
|
ss, err := NewModelData_PathData(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ModelData_PathData{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s ModelData) LeftLane() (ModelData_PathData, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return ModelData_PathData(p.Struct()), err
|
|
}
|
|
|
|
func (s ModelData) HasLeftLane() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s ModelData) SetLeftLane(v ModelData_PathData) error {
|
|
return capnp.Struct(s).SetPtr(1, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewLeftLane sets the leftLane field to a newly
|
|
// allocated ModelData_PathData struct, preferring placement in s's segment.
|
|
func (s ModelData) NewLeftLane() (ModelData_PathData, error) {
|
|
ss, err := NewModelData_PathData(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ModelData_PathData{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s ModelData) RightLane() (ModelData_PathData, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return ModelData_PathData(p.Struct()), err
|
|
}
|
|
|
|
func (s ModelData) HasRightLane() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s ModelData) SetRightLane(v ModelData_PathData) error {
|
|
return capnp.Struct(s).SetPtr(2, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewRightLane sets the rightLane field to a newly
|
|
// allocated ModelData_PathData struct, preferring placement in s's segment.
|
|
func (s ModelData) NewRightLane() (ModelData_PathData, error) {
|
|
ss, err := NewModelData_PathData(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ModelData_PathData{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s ModelData) Lead() (ModelData_LeadData, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return ModelData_LeadData(p.Struct()), err
|
|
}
|
|
|
|
func (s ModelData) HasLead() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s ModelData) SetLead(v ModelData_LeadData) error {
|
|
return capnp.Struct(s).SetPtr(3, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewLead sets the lead field to a newly
|
|
// allocated ModelData_LeadData struct, preferring placement in s's segment.
|
|
func (s ModelData) NewLead() (ModelData_LeadData, error) {
|
|
ss, err := NewModelData_LeadData(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ModelData_LeadData{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s ModelData) FreePath() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(5)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData) HasFreePath() bool {
|
|
return capnp.Struct(s).HasPtr(5)
|
|
}
|
|
|
|
func (s ModelData) SetFreePath(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(5, v.ToPtr())
|
|
}
|
|
|
|
// NewFreePath sets the freePath field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData) NewFreePath(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(5, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s ModelData) Settings() (ModelData_ModelSettings, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return ModelData_ModelSettings(p.Struct()), err
|
|
}
|
|
|
|
func (s ModelData) HasSettings() bool {
|
|
return capnp.Struct(s).HasPtr(4)
|
|
}
|
|
|
|
func (s ModelData) SetSettings(v ModelData_ModelSettings) error {
|
|
return capnp.Struct(s).SetPtr(4, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewSettings sets the settings field to a newly
|
|
// allocated ModelData_ModelSettings struct, preferring placement in s's segment.
|
|
func (s ModelData) NewSettings() (ModelData_ModelSettings, error) {
|
|
ss, err := NewModelData_ModelSettings(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ModelData_ModelSettings{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(4, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s ModelData) LeadFuture() (ModelData_LeadData, error) {
|
|
p, err := capnp.Struct(s).Ptr(6)
|
|
return ModelData_LeadData(p.Struct()), err
|
|
}
|
|
|
|
func (s ModelData) HasLeadFuture() bool {
|
|
return capnp.Struct(s).HasPtr(6)
|
|
}
|
|
|
|
func (s ModelData) SetLeadFuture(v ModelData_LeadData) error {
|
|
return capnp.Struct(s).SetPtr(6, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewLeadFuture sets the leadFuture field to a newly
|
|
// allocated ModelData_LeadData struct, preferring placement in s's segment.
|
|
func (s ModelData) NewLeadFuture() (ModelData_LeadData, error) {
|
|
ss, err := NewModelData_LeadData(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ModelData_LeadData{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(6, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s ModelData) Speed() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(7)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData) HasSpeed() bool {
|
|
return capnp.Struct(s).HasPtr(7)
|
|
}
|
|
|
|
func (s ModelData) SetSpeed(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(7, v.ToPtr())
|
|
}
|
|
|
|
// NewSpeed sets the speed field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData) NewSpeed(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(7, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s ModelData) Meta() (ModelData_MetaData, error) {
|
|
p, err := capnp.Struct(s).Ptr(8)
|
|
return ModelData_MetaData(p.Struct()), err
|
|
}
|
|
|
|
func (s ModelData) HasMeta() bool {
|
|
return capnp.Struct(s).HasPtr(8)
|
|
}
|
|
|
|
func (s ModelData) SetMeta(v ModelData_MetaData) error {
|
|
return capnp.Struct(s).SetPtr(8, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewMeta sets the meta field to a newly
|
|
// allocated ModelData_MetaData struct, preferring placement in s's segment.
|
|
func (s ModelData) NewMeta() (ModelData_MetaData, error) {
|
|
ss, err := NewModelData_MetaData(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ModelData_MetaData{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(8, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s ModelData) Longitudinal() (ModelData_LongitudinalData, error) {
|
|
p, err := capnp.Struct(s).Ptr(9)
|
|
return ModelData_LongitudinalData(p.Struct()), err
|
|
}
|
|
|
|
func (s ModelData) HasLongitudinal() bool {
|
|
return capnp.Struct(s).HasPtr(9)
|
|
}
|
|
|
|
func (s ModelData) SetLongitudinal(v ModelData_LongitudinalData) error {
|
|
return capnp.Struct(s).SetPtr(9, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewLongitudinal sets the longitudinal field to a newly
|
|
// allocated ModelData_LongitudinalData struct, preferring placement in s's segment.
|
|
func (s ModelData) NewLongitudinal() (ModelData_LongitudinalData, error) {
|
|
ss, err := NewModelData_LongitudinalData(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ModelData_LongitudinalData{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(9, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
// ModelData_List is a list of ModelData.
|
|
type ModelData_List = capnp.StructList[ModelData]
|
|
|
|
// NewModelData creates a new list of ModelData.
|
|
func NewModelData_List(s *capnp.Segment, sz int32) (ModelData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 32, PointerCount: 11}, sz)
|
|
return capnp.StructList[ModelData](l), err
|
|
}
|
|
|
|
// ModelData_Future is a wrapper for a ModelData promised by a client call.
|
|
type ModelData_Future struct{ *capnp.Future }
|
|
|
|
func (f ModelData_Future) Struct() (ModelData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return ModelData(p.Struct()), err
|
|
}
|
|
func (p ModelData_Future) Path() ModelData_PathData_Future {
|
|
return ModelData_PathData_Future{Future: p.Future.Field(0, nil)}
|
|
}
|
|
func (p ModelData_Future) LeftLane() ModelData_PathData_Future {
|
|
return ModelData_PathData_Future{Future: p.Future.Field(1, nil)}
|
|
}
|
|
func (p ModelData_Future) RightLane() ModelData_PathData_Future {
|
|
return ModelData_PathData_Future{Future: p.Future.Field(2, nil)}
|
|
}
|
|
func (p ModelData_Future) Lead() ModelData_LeadData_Future {
|
|
return ModelData_LeadData_Future{Future: p.Future.Field(3, nil)}
|
|
}
|
|
func (p ModelData_Future) Settings() ModelData_ModelSettings_Future {
|
|
return ModelData_ModelSettings_Future{Future: p.Future.Field(4, nil)}
|
|
}
|
|
func (p ModelData_Future) LeadFuture() ModelData_LeadData_Future {
|
|
return ModelData_LeadData_Future{Future: p.Future.Field(6, nil)}
|
|
}
|
|
func (p ModelData_Future) Meta() ModelData_MetaData_Future {
|
|
return ModelData_MetaData_Future{Future: p.Future.Field(8, nil)}
|
|
}
|
|
func (p ModelData_Future) Longitudinal() ModelData_LongitudinalData_Future {
|
|
return ModelData_LongitudinalData_Future{Future: p.Future.Field(9, nil)}
|
|
}
|
|
|
|
type ModelData_PathData capnp.Struct
|
|
|
|
// ModelData_PathData_TypeID is the unique identifier for the type ModelData_PathData.
|
|
const ModelData_PathData_TypeID = 0x8817eeea389e9f08
|
|
|
|
func NewModelData_PathData(s *capnp.Segment) (ModelData_PathData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 3})
|
|
return ModelData_PathData(st), err
|
|
}
|
|
|
|
func NewRootModelData_PathData(s *capnp.Segment) (ModelData_PathData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 3})
|
|
return ModelData_PathData(st), err
|
|
}
|
|
|
|
func ReadRootModelData_PathData(msg *capnp.Message) (ModelData_PathData, error) {
|
|
root, err := msg.Root()
|
|
return ModelData_PathData(root.Struct()), err
|
|
}
|
|
|
|
func (s ModelData_PathData) String() string {
|
|
str, _ := text.Marshal(0x8817eeea389e9f08, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s ModelData_PathData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (ModelData_PathData) DecodeFromPtr(p capnp.Ptr) ModelData_PathData {
|
|
return ModelData_PathData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s ModelData_PathData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s ModelData_PathData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s ModelData_PathData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s ModelData_PathData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s ModelData_PathData) Points() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData_PathData) HasPoints() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s ModelData_PathData) SetPoints(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewPoints sets the points field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData_PathData) NewPoints(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s ModelData_PathData) Prob() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s ModelData_PathData) SetProb(v float32) {
|
|
capnp.Struct(s).SetUint32(0, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_PathData) Std() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s ModelData_PathData) SetStd(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_PathData) Stds() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData_PathData) HasStds() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s ModelData_PathData) SetStds(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewStds sets the stds field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData_PathData) NewStds(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s ModelData_PathData) Poly() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData_PathData) HasPoly() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s ModelData_PathData) SetPoly(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewPoly sets the poly field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData_PathData) NewPoly(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s ModelData_PathData) ValidLen() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s ModelData_PathData) SetValidLen(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
// ModelData_PathData_List is a list of ModelData_PathData.
|
|
type ModelData_PathData_List = capnp.StructList[ModelData_PathData]
|
|
|
|
// NewModelData_PathData creates a new list of ModelData_PathData.
|
|
func NewModelData_PathData_List(s *capnp.Segment, sz int32) (ModelData_PathData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 3}, sz)
|
|
return capnp.StructList[ModelData_PathData](l), err
|
|
}
|
|
|
|
// ModelData_PathData_Future is a wrapper for a ModelData_PathData promised by a client call.
|
|
type ModelData_PathData_Future struct{ *capnp.Future }
|
|
|
|
func (f ModelData_PathData_Future) Struct() (ModelData_PathData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return ModelData_PathData(p.Struct()), err
|
|
}
|
|
|
|
type ModelData_LeadData capnp.Struct
|
|
|
|
// ModelData_LeadData_TypeID is the unique identifier for the type ModelData_LeadData.
|
|
const ModelData_LeadData_TypeID = 0xd1c9bef96d26fa91
|
|
|
|
func NewModelData_LeadData(s *capnp.Segment) (ModelData_LeadData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 40, PointerCount: 0})
|
|
return ModelData_LeadData(st), err
|
|
}
|
|
|
|
func NewRootModelData_LeadData(s *capnp.Segment) (ModelData_LeadData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 40, PointerCount: 0})
|
|
return ModelData_LeadData(st), err
|
|
}
|
|
|
|
func ReadRootModelData_LeadData(msg *capnp.Message) (ModelData_LeadData, error) {
|
|
root, err := msg.Root()
|
|
return ModelData_LeadData(root.Struct()), err
|
|
}
|
|
|
|
func (s ModelData_LeadData) String() string {
|
|
str, _ := text.Marshal(0xd1c9bef96d26fa91, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s ModelData_LeadData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (ModelData_LeadData) DecodeFromPtr(p capnp.Ptr) ModelData_LeadData {
|
|
return ModelData_LeadData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s ModelData_LeadData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s ModelData_LeadData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s ModelData_LeadData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s ModelData_LeadData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s ModelData_LeadData) Dist() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s ModelData_LeadData) SetDist(v float32) {
|
|
capnp.Struct(s).SetUint32(0, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_LeadData) Prob() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s ModelData_LeadData) SetProb(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_LeadData) Std() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s ModelData_LeadData) SetStd(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_LeadData) RelVel() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(12))
|
|
}
|
|
|
|
func (s ModelData_LeadData) SetRelVel(v float32) {
|
|
capnp.Struct(s).SetUint32(12, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_LeadData) RelVelStd() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(16))
|
|
}
|
|
|
|
func (s ModelData_LeadData) SetRelVelStd(v float32) {
|
|
capnp.Struct(s).SetUint32(16, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_LeadData) RelY() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(20))
|
|
}
|
|
|
|
func (s ModelData_LeadData) SetRelY(v float32) {
|
|
capnp.Struct(s).SetUint32(20, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_LeadData) RelYStd() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(24))
|
|
}
|
|
|
|
func (s ModelData_LeadData) SetRelYStd(v float32) {
|
|
capnp.Struct(s).SetUint32(24, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_LeadData) RelA() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(28))
|
|
}
|
|
|
|
func (s ModelData_LeadData) SetRelA(v float32) {
|
|
capnp.Struct(s).SetUint32(28, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_LeadData) RelAStd() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(32))
|
|
}
|
|
|
|
func (s ModelData_LeadData) SetRelAStd(v float32) {
|
|
capnp.Struct(s).SetUint32(32, math.Float32bits(v))
|
|
}
|
|
|
|
// ModelData_LeadData_List is a list of ModelData_LeadData.
|
|
type ModelData_LeadData_List = capnp.StructList[ModelData_LeadData]
|
|
|
|
// NewModelData_LeadData creates a new list of ModelData_LeadData.
|
|
func NewModelData_LeadData_List(s *capnp.Segment, sz int32) (ModelData_LeadData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 40, PointerCount: 0}, sz)
|
|
return capnp.StructList[ModelData_LeadData](l), err
|
|
}
|
|
|
|
// ModelData_LeadData_Future is a wrapper for a ModelData_LeadData promised by a client call.
|
|
type ModelData_LeadData_Future struct{ *capnp.Future }
|
|
|
|
func (f ModelData_LeadData_Future) Struct() (ModelData_LeadData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return ModelData_LeadData(p.Struct()), err
|
|
}
|
|
|
|
type ModelData_ModelSettings capnp.Struct
|
|
|
|
// ModelData_ModelSettings_TypeID is the unique identifier for the type ModelData_ModelSettings.
|
|
const ModelData_ModelSettings_TypeID = 0xa26e3710efd3e914
|
|
|
|
func NewModelData_ModelSettings(s *capnp.Segment) (ModelData_ModelSettings, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3})
|
|
return ModelData_ModelSettings(st), err
|
|
}
|
|
|
|
func NewRootModelData_ModelSettings(s *capnp.Segment) (ModelData_ModelSettings, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3})
|
|
return ModelData_ModelSettings(st), err
|
|
}
|
|
|
|
func ReadRootModelData_ModelSettings(msg *capnp.Message) (ModelData_ModelSettings, error) {
|
|
root, err := msg.Root()
|
|
return ModelData_ModelSettings(root.Struct()), err
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) String() string {
|
|
str, _ := text.Marshal(0xa26e3710efd3e914, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (ModelData_ModelSettings) DecodeFromPtr(p capnp.Ptr) ModelData_ModelSettings {
|
|
return ModelData_ModelSettings(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s ModelData_ModelSettings) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s ModelData_ModelSettings) BigBoxX() uint16 {
|
|
return capnp.Struct(s).Uint16(0)
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) SetBigBoxX(v uint16) {
|
|
capnp.Struct(s).SetUint16(0, v)
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) BigBoxY() uint16 {
|
|
return capnp.Struct(s).Uint16(2)
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) SetBigBoxY(v uint16) {
|
|
capnp.Struct(s).SetUint16(2, v)
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) BigBoxWidth() uint16 {
|
|
return capnp.Struct(s).Uint16(4)
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) SetBigBoxWidth(v uint16) {
|
|
capnp.Struct(s).SetUint16(4, v)
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) BigBoxHeight() uint16 {
|
|
return capnp.Struct(s).Uint16(6)
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) SetBigBoxHeight(v uint16) {
|
|
capnp.Struct(s).SetUint16(6, v)
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) BoxProjection() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) HasBoxProjection() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) SetBoxProjection(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewBoxProjection sets the boxProjection field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData_ModelSettings) NewBoxProjection(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s ModelData_ModelSettings) YuvCorrection() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) HasYuvCorrection() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) SetYuvCorrection(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewYuvCorrection sets the yuvCorrection field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData_ModelSettings) NewYuvCorrection(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s ModelData_ModelSettings) InputTransform() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) HasInputTransform() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s ModelData_ModelSettings) SetInputTransform(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewInputTransform sets the inputTransform field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData_ModelSettings) NewInputTransform(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// ModelData_ModelSettings_List is a list of ModelData_ModelSettings.
|
|
type ModelData_ModelSettings_List = capnp.StructList[ModelData_ModelSettings]
|
|
|
|
// NewModelData_ModelSettings creates a new list of ModelData_ModelSettings.
|
|
func NewModelData_ModelSettings_List(s *capnp.Segment, sz int32) (ModelData_ModelSettings_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3}, sz)
|
|
return capnp.StructList[ModelData_ModelSettings](l), err
|
|
}
|
|
|
|
// ModelData_ModelSettings_Future is a wrapper for a ModelData_ModelSettings promised by a client call.
|
|
type ModelData_ModelSettings_Future struct{ *capnp.Future }
|
|
|
|
func (f ModelData_ModelSettings_Future) Struct() (ModelData_ModelSettings, error) {
|
|
p, err := f.Future.Ptr()
|
|
return ModelData_ModelSettings(p.Struct()), err
|
|
}
|
|
|
|
type ModelData_MetaData capnp.Struct
|
|
|
|
// ModelData_MetaData_TypeID is the unique identifier for the type ModelData_MetaData.
|
|
const ModelData_MetaData_TypeID = 0x9744f25fb60f2bf8
|
|
|
|
func NewModelData_MetaData(s *capnp.Segment) (ModelData_MetaData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 2})
|
|
return ModelData_MetaData(st), err
|
|
}
|
|
|
|
func NewRootModelData_MetaData(s *capnp.Segment) (ModelData_MetaData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 2})
|
|
return ModelData_MetaData(st), err
|
|
}
|
|
|
|
func ReadRootModelData_MetaData(msg *capnp.Message) (ModelData_MetaData, error) {
|
|
root, err := msg.Root()
|
|
return ModelData_MetaData(root.Struct()), err
|
|
}
|
|
|
|
func (s ModelData_MetaData) String() string {
|
|
str, _ := text.Marshal(0x9744f25fb60f2bf8, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s ModelData_MetaData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (ModelData_MetaData) DecodeFromPtr(p capnp.Ptr) ModelData_MetaData {
|
|
return ModelData_MetaData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s ModelData_MetaData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s ModelData_MetaData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s ModelData_MetaData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s ModelData_MetaData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s ModelData_MetaData) EngagedProb() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s ModelData_MetaData) SetEngagedProb(v float32) {
|
|
capnp.Struct(s).SetUint32(0, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_MetaData) DesirePrediction() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData_MetaData) HasDesirePrediction() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s ModelData_MetaData) SetDesirePrediction(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewDesirePrediction sets the desirePrediction field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData_MetaData) NewDesirePrediction(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s ModelData_MetaData) BrakeDisengageProb() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s ModelData_MetaData) SetBrakeDisengageProb(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_MetaData) GasDisengageProb() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s ModelData_MetaData) SetGasDisengageProb(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_MetaData) SteerOverrideProb() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(12))
|
|
}
|
|
|
|
func (s ModelData_MetaData) SetSteerOverrideProb(v float32) {
|
|
capnp.Struct(s).SetUint32(12, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ModelData_MetaData) DesireState() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData_MetaData) HasDesireState() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s ModelData_MetaData) SetDesireState(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewDesireState sets the desireState field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData_MetaData) NewDesireState(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// ModelData_MetaData_List is a list of ModelData_MetaData.
|
|
type ModelData_MetaData_List = capnp.StructList[ModelData_MetaData]
|
|
|
|
// NewModelData_MetaData creates a new list of ModelData_MetaData.
|
|
func NewModelData_MetaData_List(s *capnp.Segment, sz int32) (ModelData_MetaData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 2}, sz)
|
|
return capnp.StructList[ModelData_MetaData](l), err
|
|
}
|
|
|
|
// ModelData_MetaData_Future is a wrapper for a ModelData_MetaData promised by a client call.
|
|
type ModelData_MetaData_Future struct{ *capnp.Future }
|
|
|
|
func (f ModelData_MetaData_Future) Struct() (ModelData_MetaData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return ModelData_MetaData(p.Struct()), err
|
|
}
|
|
|
|
type ModelData_LongitudinalData capnp.Struct
|
|
|
|
// ModelData_LongitudinalData_TypeID is the unique identifier for the type ModelData_LongitudinalData.
|
|
const ModelData_LongitudinalData_TypeID = 0xf98f999c6a071122
|
|
|
|
func NewModelData_LongitudinalData(s *capnp.Segment) (ModelData_LongitudinalData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 3})
|
|
return ModelData_LongitudinalData(st), err
|
|
}
|
|
|
|
func NewRootModelData_LongitudinalData(s *capnp.Segment) (ModelData_LongitudinalData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 3})
|
|
return ModelData_LongitudinalData(st), err
|
|
}
|
|
|
|
func ReadRootModelData_LongitudinalData(msg *capnp.Message) (ModelData_LongitudinalData, error) {
|
|
root, err := msg.Root()
|
|
return ModelData_LongitudinalData(root.Struct()), err
|
|
}
|
|
|
|
func (s ModelData_LongitudinalData) String() string {
|
|
str, _ := text.Marshal(0xf98f999c6a071122, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s ModelData_LongitudinalData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (ModelData_LongitudinalData) DecodeFromPtr(p capnp.Ptr) ModelData_LongitudinalData {
|
|
return ModelData_LongitudinalData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s ModelData_LongitudinalData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s ModelData_LongitudinalData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s ModelData_LongitudinalData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s ModelData_LongitudinalData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s ModelData_LongitudinalData) Distances() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData_LongitudinalData) HasDistances() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s ModelData_LongitudinalData) SetDistances(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewDistances sets the distances field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData_LongitudinalData) NewDistances(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s ModelData_LongitudinalData) Speeds() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData_LongitudinalData) HasSpeeds() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s ModelData_LongitudinalData) SetSpeeds(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewSpeeds sets the speeds field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData_LongitudinalData) NewSpeeds(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s ModelData_LongitudinalData) Accelerations() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s ModelData_LongitudinalData) HasAccelerations() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s ModelData_LongitudinalData) SetAccelerations(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewAccelerations sets the accelerations field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s ModelData_LongitudinalData) NewAccelerations(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// ModelData_LongitudinalData_List is a list of ModelData_LongitudinalData.
|
|
type ModelData_LongitudinalData_List = capnp.StructList[ModelData_LongitudinalData]
|
|
|
|
// NewModelData_LongitudinalData creates a new list of ModelData_LongitudinalData.
|
|
func NewModelData_LongitudinalData_List(s *capnp.Segment, sz int32) (ModelData_LongitudinalData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 3}, sz)
|
|
return capnp.StructList[ModelData_LongitudinalData](l), err
|
|
}
|
|
|
|
// ModelData_LongitudinalData_Future is a wrapper for a ModelData_LongitudinalData promised by a client call.
|
|
type ModelData_LongitudinalData_Future struct{ *capnp.Future }
|
|
|
|
func (f ModelData_LongitudinalData_Future) Struct() (ModelData_LongitudinalData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return ModelData_LongitudinalData(p.Struct()), err
|
|
}
|
|
|
|
type ECEFPoint capnp.Struct
|
|
|
|
// ECEFPoint_TypeID is the unique identifier for the type ECEFPoint.
|
|
const ECEFPoint_TypeID = 0xc25bbbd524983447
|
|
|
|
func NewECEFPoint(s *capnp.Segment) (ECEFPoint, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 0})
|
|
return ECEFPoint(st), err
|
|
}
|
|
|
|
func NewRootECEFPoint(s *capnp.Segment) (ECEFPoint, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 0})
|
|
return ECEFPoint(st), err
|
|
}
|
|
|
|
func ReadRootECEFPoint(msg *capnp.Message) (ECEFPoint, error) {
|
|
root, err := msg.Root()
|
|
return ECEFPoint(root.Struct()), err
|
|
}
|
|
|
|
func (s ECEFPoint) String() string {
|
|
str, _ := text.Marshal(0xc25bbbd524983447, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s ECEFPoint) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (ECEFPoint) DecodeFromPtr(p capnp.Ptr) ECEFPoint {
|
|
return ECEFPoint(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s ECEFPoint) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s ECEFPoint) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s ECEFPoint) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s ECEFPoint) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s ECEFPoint) X() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(0))
|
|
}
|
|
|
|
func (s ECEFPoint) SetX(v float64) {
|
|
capnp.Struct(s).SetUint64(0, math.Float64bits(v))
|
|
}
|
|
|
|
func (s ECEFPoint) Y() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(8))
|
|
}
|
|
|
|
func (s ECEFPoint) SetY(v float64) {
|
|
capnp.Struct(s).SetUint64(8, math.Float64bits(v))
|
|
}
|
|
|
|
func (s ECEFPoint) Z() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(16))
|
|
}
|
|
|
|
func (s ECEFPoint) SetZ(v float64) {
|
|
capnp.Struct(s).SetUint64(16, math.Float64bits(v))
|
|
}
|
|
|
|
// ECEFPoint_List is a list of ECEFPoint.
|
|
type ECEFPoint_List = capnp.StructList[ECEFPoint]
|
|
|
|
// NewECEFPoint creates a new list of ECEFPoint.
|
|
func NewECEFPoint_List(s *capnp.Segment, sz int32) (ECEFPoint_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 24, PointerCount: 0}, sz)
|
|
return capnp.StructList[ECEFPoint](l), err
|
|
}
|
|
|
|
// ECEFPoint_Future is a wrapper for a ECEFPoint promised by a client call.
|
|
type ECEFPoint_Future struct{ *capnp.Future }
|
|
|
|
func (f ECEFPoint_Future) Struct() (ECEFPoint, error) {
|
|
p, err := f.Future.Ptr()
|
|
return ECEFPoint(p.Struct()), err
|
|
}
|
|
|
|
type ECEFPointDEPRECATED capnp.Struct
|
|
|
|
// ECEFPointDEPRECATED_TypeID is the unique identifier for the type ECEFPointDEPRECATED.
|
|
const ECEFPointDEPRECATED_TypeID = 0xe10e21168db0c7f7
|
|
|
|
func NewECEFPointDEPRECATED(s *capnp.Segment) (ECEFPointDEPRECATED, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 0})
|
|
return ECEFPointDEPRECATED(st), err
|
|
}
|
|
|
|
func NewRootECEFPointDEPRECATED(s *capnp.Segment) (ECEFPointDEPRECATED, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 0})
|
|
return ECEFPointDEPRECATED(st), err
|
|
}
|
|
|
|
func ReadRootECEFPointDEPRECATED(msg *capnp.Message) (ECEFPointDEPRECATED, error) {
|
|
root, err := msg.Root()
|
|
return ECEFPointDEPRECATED(root.Struct()), err
|
|
}
|
|
|
|
func (s ECEFPointDEPRECATED) String() string {
|
|
str, _ := text.Marshal(0xe10e21168db0c7f7, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s ECEFPointDEPRECATED) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (ECEFPointDEPRECATED) DecodeFromPtr(p capnp.Ptr) ECEFPointDEPRECATED {
|
|
return ECEFPointDEPRECATED(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s ECEFPointDEPRECATED) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s ECEFPointDEPRECATED) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s ECEFPointDEPRECATED) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s ECEFPointDEPRECATED) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s ECEFPointDEPRECATED) X() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s ECEFPointDEPRECATED) SetX(v float32) {
|
|
capnp.Struct(s).SetUint32(0, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ECEFPointDEPRECATED) Y() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s ECEFPointDEPRECATED) SetY(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s ECEFPointDEPRECATED) Z() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s ECEFPointDEPRECATED) SetZ(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
// ECEFPointDEPRECATED_List is a list of ECEFPointDEPRECATED.
|
|
type ECEFPointDEPRECATED_List = capnp.StructList[ECEFPointDEPRECATED]
|
|
|
|
// NewECEFPointDEPRECATED creates a new list of ECEFPointDEPRECATED.
|
|
func NewECEFPointDEPRECATED_List(s *capnp.Segment, sz int32) (ECEFPointDEPRECATED_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 0}, sz)
|
|
return capnp.StructList[ECEFPointDEPRECATED](l), err
|
|
}
|
|
|
|
// ECEFPointDEPRECATED_Future is a wrapper for a ECEFPointDEPRECATED promised by a client call.
|
|
type ECEFPointDEPRECATED_Future struct{ *capnp.Future }
|
|
|
|
func (f ECEFPointDEPRECATED_Future) Struct() (ECEFPointDEPRECATED, error) {
|
|
p, err := f.Future.Ptr()
|
|
return ECEFPointDEPRECATED(p.Struct()), err
|
|
}
|
|
|
|
type GPSPlannerPoints capnp.Struct
|
|
|
|
// GPSPlannerPoints_TypeID is the unique identifier for the type GPSPlannerPoints.
|
|
const GPSPlannerPoints_TypeID = 0xab54c59699f8f9f3
|
|
|
|
func NewGPSPlannerPoints(s *capnp.Segment) (GPSPlannerPoints, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 5})
|
|
return GPSPlannerPoints(st), err
|
|
}
|
|
|
|
func NewRootGPSPlannerPoints(s *capnp.Segment) (GPSPlannerPoints, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 5})
|
|
return GPSPlannerPoints(st), err
|
|
}
|
|
|
|
func ReadRootGPSPlannerPoints(msg *capnp.Message) (GPSPlannerPoints, error) {
|
|
root, err := msg.Root()
|
|
return GPSPlannerPoints(root.Struct()), err
|
|
}
|
|
|
|
func (s GPSPlannerPoints) String() string {
|
|
str, _ := text.Marshal(0xab54c59699f8f9f3, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s GPSPlannerPoints) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (GPSPlannerPoints) DecodeFromPtr(p capnp.Ptr) GPSPlannerPoints {
|
|
return GPSPlannerPoints(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s GPSPlannerPoints) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s GPSPlannerPoints) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s GPSPlannerPoints) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s GPSPlannerPoints) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s GPSPlannerPoints) CurPosDEPRECATED() (ECEFPointDEPRECATED, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return ECEFPointDEPRECATED(p.Struct()), err
|
|
}
|
|
|
|
func (s GPSPlannerPoints) HasCurPosDEPRECATED() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s GPSPlannerPoints) SetCurPosDEPRECATED(v ECEFPointDEPRECATED) error {
|
|
return capnp.Struct(s).SetPtr(0, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewCurPosDEPRECATED sets the curPosDEPRECATED field to a newly
|
|
// allocated ECEFPointDEPRECATED struct, preferring placement in s's segment.
|
|
func (s GPSPlannerPoints) NewCurPosDEPRECATED() (ECEFPointDEPRECATED, error) {
|
|
ss, err := NewECEFPointDEPRECATED(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ECEFPointDEPRECATED{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s GPSPlannerPoints) PointsDEPRECATED() (ECEFPointDEPRECATED_List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return ECEFPointDEPRECATED_List(p.List()), err
|
|
}
|
|
|
|
func (s GPSPlannerPoints) HasPointsDEPRECATED() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s GPSPlannerPoints) SetPointsDEPRECATED(v ECEFPointDEPRECATED_List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewPointsDEPRECATED sets the pointsDEPRECATED field to a newly
|
|
// allocated ECEFPointDEPRECATED_List, preferring placement in s's segment.
|
|
func (s GPSPlannerPoints) NewPointsDEPRECATED(n int32) (ECEFPointDEPRECATED_List, error) {
|
|
l, err := NewECEFPointDEPRECATED_List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return ECEFPointDEPRECATED_List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s GPSPlannerPoints) CurPos() (ECEFPoint, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return ECEFPoint(p.Struct()), err
|
|
}
|
|
|
|
func (s GPSPlannerPoints) HasCurPos() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s GPSPlannerPoints) SetCurPos(v ECEFPoint) error {
|
|
return capnp.Struct(s).SetPtr(3, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewCurPos sets the curPos field to a newly
|
|
// allocated ECEFPoint struct, preferring placement in s's segment.
|
|
func (s GPSPlannerPoints) NewCurPos() (ECEFPoint, error) {
|
|
ss, err := NewECEFPoint(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ECEFPoint{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s GPSPlannerPoints) Points() (ECEFPoint_List, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return ECEFPoint_List(p.List()), err
|
|
}
|
|
|
|
func (s GPSPlannerPoints) HasPoints() bool {
|
|
return capnp.Struct(s).HasPtr(4)
|
|
}
|
|
|
|
func (s GPSPlannerPoints) SetPoints(v ECEFPoint_List) error {
|
|
return capnp.Struct(s).SetPtr(4, v.ToPtr())
|
|
}
|
|
|
|
// NewPoints sets the points field to a newly
|
|
// allocated ECEFPoint_List, preferring placement in s's segment.
|
|
func (s GPSPlannerPoints) NewPoints(n int32) (ECEFPoint_List, error) {
|
|
l, err := NewECEFPoint_List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return ECEFPoint_List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(4, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s GPSPlannerPoints) Valid() bool {
|
|
return capnp.Struct(s).Bit(0)
|
|
}
|
|
|
|
func (s GPSPlannerPoints) SetValid(v bool) {
|
|
capnp.Struct(s).SetBit(0, v)
|
|
}
|
|
|
|
func (s GPSPlannerPoints) TrackName() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s GPSPlannerPoints) HasTrackName() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s GPSPlannerPoints) TrackNameBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s GPSPlannerPoints) SetTrackName(v string) error {
|
|
return capnp.Struct(s).SetText(2, v)
|
|
}
|
|
|
|
func (s GPSPlannerPoints) SpeedLimit() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s GPSPlannerPoints) SetSpeedLimit(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s GPSPlannerPoints) AccelTarget() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s GPSPlannerPoints) SetAccelTarget(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
// GPSPlannerPoints_List is a list of GPSPlannerPoints.
|
|
type GPSPlannerPoints_List = capnp.StructList[GPSPlannerPoints]
|
|
|
|
// NewGPSPlannerPoints creates a new list of GPSPlannerPoints.
|
|
func NewGPSPlannerPoints_List(s *capnp.Segment, sz int32) (GPSPlannerPoints_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 5}, sz)
|
|
return capnp.StructList[GPSPlannerPoints](l), err
|
|
}
|
|
|
|
// GPSPlannerPoints_Future is a wrapper for a GPSPlannerPoints promised by a client call.
|
|
type GPSPlannerPoints_Future struct{ *capnp.Future }
|
|
|
|
func (f GPSPlannerPoints_Future) Struct() (GPSPlannerPoints, error) {
|
|
p, err := f.Future.Ptr()
|
|
return GPSPlannerPoints(p.Struct()), err
|
|
}
|
|
func (p GPSPlannerPoints_Future) CurPosDEPRECATED() ECEFPointDEPRECATED_Future {
|
|
return ECEFPointDEPRECATED_Future{Future: p.Future.Field(0, nil)}
|
|
}
|
|
func (p GPSPlannerPoints_Future) CurPos() ECEFPoint_Future {
|
|
return ECEFPoint_Future{Future: p.Future.Field(3, nil)}
|
|
}
|
|
|
|
type GPSPlannerPlan capnp.Struct
|
|
|
|
// GPSPlannerPlan_TypeID is the unique identifier for the type GPSPlannerPlan.
|
|
const GPSPlannerPlan_TypeID = 0xf5ad1d90cdc1dd6b
|
|
|
|
func NewGPSPlannerPlan(s *capnp.Segment) (GPSPlannerPlan, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 4})
|
|
return GPSPlannerPlan(st), err
|
|
}
|
|
|
|
func NewRootGPSPlannerPlan(s *capnp.Segment) (GPSPlannerPlan, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 4})
|
|
return GPSPlannerPlan(st), err
|
|
}
|
|
|
|
func ReadRootGPSPlannerPlan(msg *capnp.Message) (GPSPlannerPlan, error) {
|
|
root, err := msg.Root()
|
|
return GPSPlannerPlan(root.Struct()), err
|
|
}
|
|
|
|
func (s GPSPlannerPlan) String() string {
|
|
str, _ := text.Marshal(0xf5ad1d90cdc1dd6b, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s GPSPlannerPlan) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (GPSPlannerPlan) DecodeFromPtr(p capnp.Ptr) GPSPlannerPlan {
|
|
return GPSPlannerPlan(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s GPSPlannerPlan) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s GPSPlannerPlan) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s GPSPlannerPlan) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s GPSPlannerPlan) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s GPSPlannerPlan) Valid() bool {
|
|
return capnp.Struct(s).Bit(0)
|
|
}
|
|
|
|
func (s GPSPlannerPlan) SetValid(v bool) {
|
|
capnp.Struct(s).SetBit(0, v)
|
|
}
|
|
|
|
func (s GPSPlannerPlan) Poly() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s GPSPlannerPlan) HasPoly() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s GPSPlannerPlan) SetPoly(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewPoly sets the poly field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s GPSPlannerPlan) NewPoly(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s GPSPlannerPlan) TrackName() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s GPSPlannerPlan) HasTrackName() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s GPSPlannerPlan) TrackNameBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s GPSPlannerPlan) SetTrackName(v string) error {
|
|
return capnp.Struct(s).SetText(1, v)
|
|
}
|
|
|
|
func (s GPSPlannerPlan) Speed() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s GPSPlannerPlan) SetSpeed(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s GPSPlannerPlan) Acceleration() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s GPSPlannerPlan) SetAcceleration(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
func (s GPSPlannerPlan) PointsDEPRECATED() (ECEFPointDEPRECATED_List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return ECEFPointDEPRECATED_List(p.List()), err
|
|
}
|
|
|
|
func (s GPSPlannerPlan) HasPointsDEPRECATED() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s GPSPlannerPlan) SetPointsDEPRECATED(v ECEFPointDEPRECATED_List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewPointsDEPRECATED sets the pointsDEPRECATED field to a newly
|
|
// allocated ECEFPointDEPRECATED_List, preferring placement in s's segment.
|
|
func (s GPSPlannerPlan) NewPointsDEPRECATED(n int32) (ECEFPointDEPRECATED_List, error) {
|
|
l, err := NewECEFPointDEPRECATED_List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return ECEFPointDEPRECATED_List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s GPSPlannerPlan) Points() (ECEFPoint_List, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return ECEFPoint_List(p.List()), err
|
|
}
|
|
|
|
func (s GPSPlannerPlan) HasPoints() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s GPSPlannerPlan) SetPoints(v ECEFPoint_List) error {
|
|
return capnp.Struct(s).SetPtr(3, v.ToPtr())
|
|
}
|
|
|
|
// NewPoints sets the points field to a newly
|
|
// allocated ECEFPoint_List, preferring placement in s's segment.
|
|
func (s GPSPlannerPlan) NewPoints(n int32) (ECEFPoint_List, error) {
|
|
l, err := NewECEFPoint_List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return ECEFPoint_List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s GPSPlannerPlan) XLookahead() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(12))
|
|
}
|
|
|
|
func (s GPSPlannerPlan) SetXLookahead(v float32) {
|
|
capnp.Struct(s).SetUint32(12, math.Float32bits(v))
|
|
}
|
|
|
|
// GPSPlannerPlan_List is a list of GPSPlannerPlan.
|
|
type GPSPlannerPlan_List = capnp.StructList[GPSPlannerPlan]
|
|
|
|
// NewGPSPlannerPlan creates a new list of GPSPlannerPlan.
|
|
func NewGPSPlannerPlan_List(s *capnp.Segment, sz int32) (GPSPlannerPlan_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 4}, sz)
|
|
return capnp.StructList[GPSPlannerPlan](l), err
|
|
}
|
|
|
|
// GPSPlannerPlan_Future is a wrapper for a GPSPlannerPlan promised by a client call.
|
|
type GPSPlannerPlan_Future struct{ *capnp.Future }
|
|
|
|
func (f GPSPlannerPlan_Future) Struct() (GPSPlannerPlan, error) {
|
|
p, err := f.Future.Ptr()
|
|
return GPSPlannerPlan(p.Struct()), err
|
|
}
|
|
|
|
type UiNavigationEvent capnp.Struct
|
|
|
|
// UiNavigationEvent_TypeID is the unique identifier for the type UiNavigationEvent.
|
|
const UiNavigationEvent_TypeID = 0x90c8426c3eaddd3b
|
|
|
|
func NewUiNavigationEvent(s *capnp.Segment) (UiNavigationEvent, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 2})
|
|
return UiNavigationEvent(st), err
|
|
}
|
|
|
|
func NewRootUiNavigationEvent(s *capnp.Segment) (UiNavigationEvent, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 2})
|
|
return UiNavigationEvent(st), err
|
|
}
|
|
|
|
func ReadRootUiNavigationEvent(msg *capnp.Message) (UiNavigationEvent, error) {
|
|
root, err := msg.Root()
|
|
return UiNavigationEvent(root.Struct()), err
|
|
}
|
|
|
|
func (s UiNavigationEvent) String() string {
|
|
str, _ := text.Marshal(0x90c8426c3eaddd3b, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s UiNavigationEvent) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (UiNavigationEvent) DecodeFromPtr(p capnp.Ptr) UiNavigationEvent {
|
|
return UiNavigationEvent(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s UiNavigationEvent) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s UiNavigationEvent) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s UiNavigationEvent) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s UiNavigationEvent) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s UiNavigationEvent) Type() UiNavigationEvent_Type {
|
|
return UiNavigationEvent_Type(capnp.Struct(s).Uint16(0))
|
|
}
|
|
|
|
func (s UiNavigationEvent) SetType(v UiNavigationEvent_Type) {
|
|
capnp.Struct(s).SetUint16(0, uint16(v))
|
|
}
|
|
|
|
func (s UiNavigationEvent) Status() UiNavigationEvent_Status {
|
|
return UiNavigationEvent_Status(capnp.Struct(s).Uint16(2))
|
|
}
|
|
|
|
func (s UiNavigationEvent) SetStatus(v UiNavigationEvent_Status) {
|
|
capnp.Struct(s).SetUint16(2, uint16(v))
|
|
}
|
|
|
|
func (s UiNavigationEvent) DistanceTo() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s UiNavigationEvent) SetDistanceTo(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s UiNavigationEvent) EndRoadPointDEPRECATED() (ECEFPointDEPRECATED, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return ECEFPointDEPRECATED(p.Struct()), err
|
|
}
|
|
|
|
func (s UiNavigationEvent) HasEndRoadPointDEPRECATED() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s UiNavigationEvent) SetEndRoadPointDEPRECATED(v ECEFPointDEPRECATED) error {
|
|
return capnp.Struct(s).SetPtr(0, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewEndRoadPointDEPRECATED sets the endRoadPointDEPRECATED field to a newly
|
|
// allocated ECEFPointDEPRECATED struct, preferring placement in s's segment.
|
|
func (s UiNavigationEvent) NewEndRoadPointDEPRECATED() (ECEFPointDEPRECATED, error) {
|
|
ss, err := NewECEFPointDEPRECATED(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ECEFPointDEPRECATED{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s UiNavigationEvent) EndRoadPoint() (ECEFPoint, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return ECEFPoint(p.Struct()), err
|
|
}
|
|
|
|
func (s UiNavigationEvent) HasEndRoadPoint() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s UiNavigationEvent) SetEndRoadPoint(v ECEFPoint) error {
|
|
return capnp.Struct(s).SetPtr(1, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewEndRoadPoint sets the endRoadPoint field to a newly
|
|
// allocated ECEFPoint struct, preferring placement in s's segment.
|
|
func (s UiNavigationEvent) NewEndRoadPoint() (ECEFPoint, error) {
|
|
ss, err := NewECEFPoint(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ECEFPoint{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
// UiNavigationEvent_List is a list of UiNavigationEvent.
|
|
type UiNavigationEvent_List = capnp.StructList[UiNavigationEvent]
|
|
|
|
// NewUiNavigationEvent creates a new list of UiNavigationEvent.
|
|
func NewUiNavigationEvent_List(s *capnp.Segment, sz int32) (UiNavigationEvent_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 2}, sz)
|
|
return capnp.StructList[UiNavigationEvent](l), err
|
|
}
|
|
|
|
// UiNavigationEvent_Future is a wrapper for a UiNavigationEvent promised by a client call.
|
|
type UiNavigationEvent_Future struct{ *capnp.Future }
|
|
|
|
func (f UiNavigationEvent_Future) Struct() (UiNavigationEvent, error) {
|
|
p, err := f.Future.Ptr()
|
|
return UiNavigationEvent(p.Struct()), err
|
|
}
|
|
func (p UiNavigationEvent_Future) EndRoadPointDEPRECATED() ECEFPointDEPRECATED_Future {
|
|
return ECEFPointDEPRECATED_Future{Future: p.Future.Field(0, nil)}
|
|
}
|
|
func (p UiNavigationEvent_Future) EndRoadPoint() ECEFPoint_Future {
|
|
return ECEFPoint_Future{Future: p.Future.Field(1, nil)}
|
|
}
|
|
|
|
type UiNavigationEvent_Type uint16
|
|
|
|
// UiNavigationEvent_Type_TypeID is the unique identifier for the type UiNavigationEvent_Type.
|
|
const UiNavigationEvent_Type_TypeID = 0xe8db07dcf8fcea05
|
|
|
|
// Values of UiNavigationEvent_Type.
|
|
const (
|
|
UiNavigationEvent_Type_none UiNavigationEvent_Type = 0
|
|
UiNavigationEvent_Type_laneChangeLeft UiNavigationEvent_Type = 1
|
|
UiNavigationEvent_Type_laneChangeRight UiNavigationEvent_Type = 2
|
|
UiNavigationEvent_Type_mergeLeft UiNavigationEvent_Type = 3
|
|
UiNavigationEvent_Type_mergeRight UiNavigationEvent_Type = 4
|
|
UiNavigationEvent_Type_turnLeft UiNavigationEvent_Type = 5
|
|
UiNavigationEvent_Type_turnRight UiNavigationEvent_Type = 6
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c UiNavigationEvent_Type) String() string {
|
|
switch c {
|
|
case UiNavigationEvent_Type_none:
|
|
return "none"
|
|
case UiNavigationEvent_Type_laneChangeLeft:
|
|
return "laneChangeLeft"
|
|
case UiNavigationEvent_Type_laneChangeRight:
|
|
return "laneChangeRight"
|
|
case UiNavigationEvent_Type_mergeLeft:
|
|
return "mergeLeft"
|
|
case UiNavigationEvent_Type_mergeRight:
|
|
return "mergeRight"
|
|
case UiNavigationEvent_Type_turnLeft:
|
|
return "turnLeft"
|
|
case UiNavigationEvent_Type_turnRight:
|
|
return "turnRight"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// UiNavigationEvent_TypeFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func UiNavigationEvent_TypeFromString(c string) UiNavigationEvent_Type {
|
|
switch c {
|
|
case "none":
|
|
return UiNavigationEvent_Type_none
|
|
case "laneChangeLeft":
|
|
return UiNavigationEvent_Type_laneChangeLeft
|
|
case "laneChangeRight":
|
|
return UiNavigationEvent_Type_laneChangeRight
|
|
case "mergeLeft":
|
|
return UiNavigationEvent_Type_mergeLeft
|
|
case "mergeRight":
|
|
return UiNavigationEvent_Type_mergeRight
|
|
case "turnLeft":
|
|
return UiNavigationEvent_Type_turnLeft
|
|
case "turnRight":
|
|
return UiNavigationEvent_Type_turnRight
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type UiNavigationEvent_Type_List = capnp.EnumList[UiNavigationEvent_Type]
|
|
|
|
func NewUiNavigationEvent_Type_List(s *capnp.Segment, sz int32) (UiNavigationEvent_Type_List, error) {
|
|
return capnp.NewEnumList[UiNavigationEvent_Type](s, sz)
|
|
}
|
|
|
|
type UiNavigationEvent_Status uint16
|
|
|
|
// UiNavigationEvent_Status_TypeID is the unique identifier for the type UiNavigationEvent_Status.
|
|
const UiNavigationEvent_Status_TypeID = 0xb9aa88c75ef99a1f
|
|
|
|
// Values of UiNavigationEvent_Status.
|
|
const (
|
|
UiNavigationEvent_Status_none UiNavigationEvent_Status = 0
|
|
UiNavigationEvent_Status_passive UiNavigationEvent_Status = 1
|
|
UiNavigationEvent_Status_approaching UiNavigationEvent_Status = 2
|
|
UiNavigationEvent_Status_active UiNavigationEvent_Status = 3
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c UiNavigationEvent_Status) String() string {
|
|
switch c {
|
|
case UiNavigationEvent_Status_none:
|
|
return "none"
|
|
case UiNavigationEvent_Status_passive:
|
|
return "passive"
|
|
case UiNavigationEvent_Status_approaching:
|
|
return "approaching"
|
|
case UiNavigationEvent_Status_active:
|
|
return "active"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// UiNavigationEvent_StatusFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func UiNavigationEvent_StatusFromString(c string) UiNavigationEvent_Status {
|
|
switch c {
|
|
case "none":
|
|
return UiNavigationEvent_Status_none
|
|
case "passive":
|
|
return UiNavigationEvent_Status_passive
|
|
case "approaching":
|
|
return UiNavigationEvent_Status_approaching
|
|
case "active":
|
|
return UiNavigationEvent_Status_active
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type UiNavigationEvent_Status_List = capnp.EnumList[UiNavigationEvent_Status]
|
|
|
|
func NewUiNavigationEvent_Status_List(s *capnp.Segment, sz int32) (UiNavigationEvent_Status_List, error) {
|
|
return capnp.NewEnumList[UiNavigationEvent_Status](s, sz)
|
|
}
|
|
|
|
type LiveLocationData capnp.Struct
|
|
|
|
// LiveLocationData_TypeID is the unique identifier for the type LiveLocationData.
|
|
const LiveLocationData_TypeID = 0xb99b2bc7a57e8128
|
|
|
|
func NewLiveLocationData(s *capnp.Segment) (LiveLocationData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 80, PointerCount: 7})
|
|
return LiveLocationData(st), err
|
|
}
|
|
|
|
func NewRootLiveLocationData(s *capnp.Segment) (LiveLocationData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 80, PointerCount: 7})
|
|
return LiveLocationData(st), err
|
|
}
|
|
|
|
func ReadRootLiveLocationData(msg *capnp.Message) (LiveLocationData, error) {
|
|
root, err := msg.Root()
|
|
return LiveLocationData(root.Struct()), err
|
|
}
|
|
|
|
func (s LiveLocationData) String() string {
|
|
str, _ := text.Marshal(0xb99b2bc7a57e8128, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LiveLocationData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LiveLocationData) DecodeFromPtr(p capnp.Ptr) LiveLocationData {
|
|
return LiveLocationData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LiveLocationData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LiveLocationData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LiveLocationData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LiveLocationData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LiveLocationData) Status() uint8 {
|
|
return capnp.Struct(s).Uint8(0)
|
|
}
|
|
|
|
func (s LiveLocationData) SetStatus(v uint8) {
|
|
capnp.Struct(s).SetUint8(0, v)
|
|
}
|
|
|
|
func (s LiveLocationData) Lat() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(8))
|
|
}
|
|
|
|
func (s LiveLocationData) SetLat(v float64) {
|
|
capnp.Struct(s).SetUint64(8, math.Float64bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) Lon() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(16))
|
|
}
|
|
|
|
func (s LiveLocationData) SetLon(v float64) {
|
|
capnp.Struct(s).SetUint64(16, math.Float64bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) Alt() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s LiveLocationData) SetAlt(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) Speed() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(24))
|
|
}
|
|
|
|
func (s LiveLocationData) SetSpeed(v float32) {
|
|
capnp.Struct(s).SetUint32(24, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) VNED() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLocationData) HasVNED() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s LiveLocationData) SetVNED(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewVNED sets the vNED field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLocationData) NewVNED(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLocationData) Roll() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(28))
|
|
}
|
|
|
|
func (s LiveLocationData) SetRoll(v float32) {
|
|
capnp.Struct(s).SetUint32(28, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) Pitch() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(32))
|
|
}
|
|
|
|
func (s LiveLocationData) SetPitch(v float32) {
|
|
capnp.Struct(s).SetUint32(32, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) Heading() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(36))
|
|
}
|
|
|
|
func (s LiveLocationData) SetHeading(v float32) {
|
|
capnp.Struct(s).SetUint32(36, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) WanderAngle() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(40))
|
|
}
|
|
|
|
func (s LiveLocationData) SetWanderAngle(v float32) {
|
|
capnp.Struct(s).SetUint32(40, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) TrackAngle() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(44))
|
|
}
|
|
|
|
func (s LiveLocationData) SetTrackAngle(v float32) {
|
|
capnp.Struct(s).SetUint32(44, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) Gyro() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLocationData) HasGyro() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s LiveLocationData) SetGyro(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewGyro sets the gyro field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLocationData) NewGyro(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLocationData) Accel() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLocationData) HasAccel() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s LiveLocationData) SetAccel(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewAccel sets the accel field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLocationData) NewAccel(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLocationData) Accuracy() (LiveLocationData_Accuracy, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return LiveLocationData_Accuracy(p.Struct()), err
|
|
}
|
|
|
|
func (s LiveLocationData) HasAccuracy() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s LiveLocationData) SetAccuracy(v LiveLocationData_Accuracy) error {
|
|
return capnp.Struct(s).SetPtr(3, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewAccuracy sets the accuracy field to a newly
|
|
// allocated LiveLocationData_Accuracy struct, preferring placement in s's segment.
|
|
func (s LiveLocationData) NewAccuracy() (LiveLocationData_Accuracy, error) {
|
|
ss, err := NewLiveLocationData_Accuracy(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return LiveLocationData_Accuracy{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s LiveLocationData) Source() LiveLocationData_SensorSource {
|
|
return LiveLocationData_SensorSource(capnp.Struct(s).Uint16(2))
|
|
}
|
|
|
|
func (s LiveLocationData) SetSource(v LiveLocationData_SensorSource) {
|
|
capnp.Struct(s).SetUint16(2, uint16(v))
|
|
}
|
|
|
|
func (s LiveLocationData) FixMonoTime() uint64 {
|
|
return capnp.Struct(s).Uint64(48)
|
|
}
|
|
|
|
func (s LiveLocationData) SetFixMonoTime(v uint64) {
|
|
capnp.Struct(s).SetUint64(48, v)
|
|
}
|
|
|
|
func (s LiveLocationData) GpsWeek() int32 {
|
|
return int32(capnp.Struct(s).Uint32(56))
|
|
}
|
|
|
|
func (s LiveLocationData) SetGpsWeek(v int32) {
|
|
capnp.Struct(s).SetUint32(56, uint32(v))
|
|
}
|
|
|
|
func (s LiveLocationData) TimeOfWeek() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(64))
|
|
}
|
|
|
|
func (s LiveLocationData) SetTimeOfWeek(v float64) {
|
|
capnp.Struct(s).SetUint64(64, math.Float64bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) PositionECEF() (capnp.Float64List, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return capnp.Float64List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLocationData) HasPositionECEF() bool {
|
|
return capnp.Struct(s).HasPtr(4)
|
|
}
|
|
|
|
func (s LiveLocationData) SetPositionECEF(v capnp.Float64List) error {
|
|
return capnp.Struct(s).SetPtr(4, v.ToPtr())
|
|
}
|
|
|
|
// NewPositionECEF sets the positionECEF field to a newly
|
|
// allocated capnp.Float64List, preferring placement in s's segment.
|
|
func (s LiveLocationData) NewPositionECEF(n int32) (capnp.Float64List, error) {
|
|
l, err := capnp.NewFloat64List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float64List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(4, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLocationData) PoseQuatECEF() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(5)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLocationData) HasPoseQuatECEF() bool {
|
|
return capnp.Struct(s).HasPtr(5)
|
|
}
|
|
|
|
func (s LiveLocationData) SetPoseQuatECEF(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(5, v.ToPtr())
|
|
}
|
|
|
|
// NewPoseQuatECEF sets the poseQuatECEF field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLocationData) NewPoseQuatECEF(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(5, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLocationData) PitchCalibration() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(60))
|
|
}
|
|
|
|
func (s LiveLocationData) SetPitchCalibration(v float32) {
|
|
capnp.Struct(s).SetUint32(60, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) YawCalibration() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(72))
|
|
}
|
|
|
|
func (s LiveLocationData) SetYawCalibration(v float32) {
|
|
capnp.Struct(s).SetUint32(72, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData) ImuFrame() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(6)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLocationData) HasImuFrame() bool {
|
|
return capnp.Struct(s).HasPtr(6)
|
|
}
|
|
|
|
func (s LiveLocationData) SetImuFrame(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(6, v.ToPtr())
|
|
}
|
|
|
|
// NewImuFrame sets the imuFrame field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLocationData) NewImuFrame(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(6, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// LiveLocationData_List is a list of LiveLocationData.
|
|
type LiveLocationData_List = capnp.StructList[LiveLocationData]
|
|
|
|
// NewLiveLocationData creates a new list of LiveLocationData.
|
|
func NewLiveLocationData_List(s *capnp.Segment, sz int32) (LiveLocationData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 80, PointerCount: 7}, sz)
|
|
return capnp.StructList[LiveLocationData](l), err
|
|
}
|
|
|
|
// LiveLocationData_Future is a wrapper for a LiveLocationData promised by a client call.
|
|
type LiveLocationData_Future struct{ *capnp.Future }
|
|
|
|
func (f LiveLocationData_Future) Struct() (LiveLocationData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LiveLocationData(p.Struct()), err
|
|
}
|
|
func (p LiveLocationData_Future) Accuracy() LiveLocationData_Accuracy_Future {
|
|
return LiveLocationData_Accuracy_Future{Future: p.Future.Field(3, nil)}
|
|
}
|
|
|
|
type LiveLocationData_Accuracy capnp.Struct
|
|
|
|
// LiveLocationData_Accuracy_TypeID is the unique identifier for the type LiveLocationData_Accuracy.
|
|
const LiveLocationData_Accuracy_TypeID = 0x943dc4625473b03f
|
|
|
|
func NewLiveLocationData_Accuracy(s *capnp.Segment) (LiveLocationData_Accuracy, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 2})
|
|
return LiveLocationData_Accuracy(st), err
|
|
}
|
|
|
|
func NewRootLiveLocationData_Accuracy(s *capnp.Segment) (LiveLocationData_Accuracy, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 2})
|
|
return LiveLocationData_Accuracy(st), err
|
|
}
|
|
|
|
func ReadRootLiveLocationData_Accuracy(msg *capnp.Message) (LiveLocationData_Accuracy, error) {
|
|
root, err := msg.Root()
|
|
return LiveLocationData_Accuracy(root.Struct()), err
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) String() string {
|
|
str, _ := text.Marshal(0x943dc4625473b03f, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LiveLocationData_Accuracy) DecodeFromPtr(p capnp.Ptr) LiveLocationData_Accuracy {
|
|
return LiveLocationData_Accuracy(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LiveLocationData_Accuracy) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LiveLocationData_Accuracy) PNEDError() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) HasPNEDError() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) SetPNEDError(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewPNEDError sets the pNEDError field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLocationData_Accuracy) NewPNEDError(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLocationData_Accuracy) VNEDError() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) HasVNEDError() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) SetVNEDError(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewVNEDError sets the vNEDError field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLocationData_Accuracy) NewVNEDError(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLocationData_Accuracy) RollError() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) SetRollError(v float32) {
|
|
capnp.Struct(s).SetUint32(0, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) PitchError() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) SetPitchError(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) HeadingError() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) SetHeadingError(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) EllipsoidSemiMajorError() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(12))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) SetEllipsoidSemiMajorError(v float32) {
|
|
capnp.Struct(s).SetUint32(12, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) EllipsoidSemiMinorError() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(16))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) SetEllipsoidSemiMinorError(v float32) {
|
|
capnp.Struct(s).SetUint32(16, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) EllipsoidOrientationError() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(20))
|
|
}
|
|
|
|
func (s LiveLocationData_Accuracy) SetEllipsoidOrientationError(v float32) {
|
|
capnp.Struct(s).SetUint32(20, math.Float32bits(v))
|
|
}
|
|
|
|
// LiveLocationData_Accuracy_List is a list of LiveLocationData_Accuracy.
|
|
type LiveLocationData_Accuracy_List = capnp.StructList[LiveLocationData_Accuracy]
|
|
|
|
// NewLiveLocationData_Accuracy creates a new list of LiveLocationData_Accuracy.
|
|
func NewLiveLocationData_Accuracy_List(s *capnp.Segment, sz int32) (LiveLocationData_Accuracy_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 24, PointerCount: 2}, sz)
|
|
return capnp.StructList[LiveLocationData_Accuracy](l), err
|
|
}
|
|
|
|
// LiveLocationData_Accuracy_Future is a wrapper for a LiveLocationData_Accuracy promised by a client call.
|
|
type LiveLocationData_Accuracy_Future struct{ *capnp.Future }
|
|
|
|
func (f LiveLocationData_Accuracy_Future) Struct() (LiveLocationData_Accuracy, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LiveLocationData_Accuracy(p.Struct()), err
|
|
}
|
|
|
|
type LiveLocationData_SensorSource uint16
|
|
|
|
// LiveLocationData_SensorSource_TypeID is the unique identifier for the type LiveLocationData_SensorSource.
|
|
const LiveLocationData_SensorSource_TypeID = 0xc871d3cc252af657
|
|
|
|
// Values of LiveLocationData_SensorSource.
|
|
const (
|
|
LiveLocationData_SensorSource_applanix LiveLocationData_SensorSource = 0
|
|
LiveLocationData_SensorSource_kalman LiveLocationData_SensorSource = 1
|
|
LiveLocationData_SensorSource_orbslam LiveLocationData_SensorSource = 2
|
|
LiveLocationData_SensorSource_timing LiveLocationData_SensorSource = 3
|
|
LiveLocationData_SensorSource_dummy LiveLocationData_SensorSource = 4
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c LiveLocationData_SensorSource) String() string {
|
|
switch c {
|
|
case LiveLocationData_SensorSource_applanix:
|
|
return "applanix"
|
|
case LiveLocationData_SensorSource_kalman:
|
|
return "kalman"
|
|
case LiveLocationData_SensorSource_orbslam:
|
|
return "orbslam"
|
|
case LiveLocationData_SensorSource_timing:
|
|
return "timing"
|
|
case LiveLocationData_SensorSource_dummy:
|
|
return "dummy"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// LiveLocationData_SensorSourceFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func LiveLocationData_SensorSourceFromString(c string) LiveLocationData_SensorSource {
|
|
switch c {
|
|
case "applanix":
|
|
return LiveLocationData_SensorSource_applanix
|
|
case "kalman":
|
|
return LiveLocationData_SensorSource_kalman
|
|
case "orbslam":
|
|
return LiveLocationData_SensorSource_orbslam
|
|
case "timing":
|
|
return LiveLocationData_SensorSource_timing
|
|
case "dummy":
|
|
return LiveLocationData_SensorSource_dummy
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type LiveLocationData_SensorSource_List = capnp.EnumList[LiveLocationData_SensorSource]
|
|
|
|
func NewLiveLocationData_SensorSource_List(s *capnp.Segment, sz int32) (LiveLocationData_SensorSource_List, error) {
|
|
return capnp.NewEnumList[LiveLocationData_SensorSource](s, sz)
|
|
}
|
|
|
|
type OrbOdometry capnp.Struct
|
|
|
|
// OrbOdometry_TypeID is the unique identifier for the type OrbOdometry.
|
|
const OrbOdometry_TypeID = 0xd7700859ed1f5b76
|
|
|
|
func NewOrbOdometry(s *capnp.Segment) (OrbOdometry, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 32, PointerCount: 2})
|
|
return OrbOdometry(st), err
|
|
}
|
|
|
|
func NewRootOrbOdometry(s *capnp.Segment) (OrbOdometry, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 32, PointerCount: 2})
|
|
return OrbOdometry(st), err
|
|
}
|
|
|
|
func ReadRootOrbOdometry(msg *capnp.Message) (OrbOdometry, error) {
|
|
root, err := msg.Root()
|
|
return OrbOdometry(root.Struct()), err
|
|
}
|
|
|
|
func (s OrbOdometry) String() string {
|
|
str, _ := text.Marshal(0xd7700859ed1f5b76, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s OrbOdometry) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (OrbOdometry) DecodeFromPtr(p capnp.Ptr) OrbOdometry {
|
|
return OrbOdometry(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s OrbOdometry) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s OrbOdometry) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s OrbOdometry) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s OrbOdometry) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s OrbOdometry) StartMonoTime() uint64 {
|
|
return capnp.Struct(s).Uint64(0)
|
|
}
|
|
|
|
func (s OrbOdometry) SetStartMonoTime(v uint64) {
|
|
capnp.Struct(s).SetUint64(0, v)
|
|
}
|
|
|
|
func (s OrbOdometry) EndMonoTime() uint64 {
|
|
return capnp.Struct(s).Uint64(8)
|
|
}
|
|
|
|
func (s OrbOdometry) SetEndMonoTime(v uint64) {
|
|
capnp.Struct(s).SetUint64(8, v)
|
|
}
|
|
|
|
func (s OrbOdometry) F() (capnp.Float64List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float64List(p.List()), err
|
|
}
|
|
|
|
func (s OrbOdometry) HasF() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s OrbOdometry) SetF(v capnp.Float64List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewF sets the f field to a newly
|
|
// allocated capnp.Float64List, preferring placement in s's segment.
|
|
func (s OrbOdometry) NewF(n int32) (capnp.Float64List, error) {
|
|
l, err := capnp.NewFloat64List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float64List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s OrbOdometry) Err() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(16))
|
|
}
|
|
|
|
func (s OrbOdometry) SetErr(v float64) {
|
|
capnp.Struct(s).SetUint64(16, math.Float64bits(v))
|
|
}
|
|
|
|
func (s OrbOdometry) Inliers() int32 {
|
|
return int32(capnp.Struct(s).Uint32(24))
|
|
}
|
|
|
|
func (s OrbOdometry) SetInliers(v int32) {
|
|
capnp.Struct(s).SetUint32(24, uint32(v))
|
|
}
|
|
|
|
func (s OrbOdometry) Matches() (capnp.Int16List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Int16List(p.List()), err
|
|
}
|
|
|
|
func (s OrbOdometry) HasMatches() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s OrbOdometry) SetMatches(v capnp.Int16List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewMatches sets the matches field to a newly
|
|
// allocated capnp.Int16List, preferring placement in s's segment.
|
|
func (s OrbOdometry) NewMatches(n int32) (capnp.Int16List, error) {
|
|
l, err := capnp.NewInt16List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Int16List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// OrbOdometry_List is a list of OrbOdometry.
|
|
type OrbOdometry_List = capnp.StructList[OrbOdometry]
|
|
|
|
// NewOrbOdometry creates a new list of OrbOdometry.
|
|
func NewOrbOdometry_List(s *capnp.Segment, sz int32) (OrbOdometry_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 32, PointerCount: 2}, sz)
|
|
return capnp.StructList[OrbOdometry](l), err
|
|
}
|
|
|
|
// OrbOdometry_Future is a wrapper for a OrbOdometry promised by a client call.
|
|
type OrbOdometry_Future struct{ *capnp.Future }
|
|
|
|
func (f OrbOdometry_Future) Struct() (OrbOdometry, error) {
|
|
p, err := f.Future.Ptr()
|
|
return OrbOdometry(p.Struct()), err
|
|
}
|
|
|
|
type OrbFeatures capnp.Struct
|
|
|
|
// OrbFeatures_TypeID is the unique identifier for the type OrbFeatures.
|
|
const OrbFeatures_TypeID = 0xcd60164a8a0159ef
|
|
|
|
func NewOrbFeatures(s *capnp.Segment) (OrbFeatures, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 5})
|
|
return OrbFeatures(st), err
|
|
}
|
|
|
|
func NewRootOrbFeatures(s *capnp.Segment) (OrbFeatures, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 5})
|
|
return OrbFeatures(st), err
|
|
}
|
|
|
|
func ReadRootOrbFeatures(msg *capnp.Message) (OrbFeatures, error) {
|
|
root, err := msg.Root()
|
|
return OrbFeatures(root.Struct()), err
|
|
}
|
|
|
|
func (s OrbFeatures) String() string {
|
|
str, _ := text.Marshal(0xcd60164a8a0159ef, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s OrbFeatures) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (OrbFeatures) DecodeFromPtr(p capnp.Ptr) OrbFeatures {
|
|
return OrbFeatures(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s OrbFeatures) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s OrbFeatures) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s OrbFeatures) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s OrbFeatures) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s OrbFeatures) TimestampEof() uint64 {
|
|
return capnp.Struct(s).Uint64(0)
|
|
}
|
|
|
|
func (s OrbFeatures) SetTimestampEof(v uint64) {
|
|
capnp.Struct(s).SetUint64(0, v)
|
|
}
|
|
|
|
func (s OrbFeatures) Xs() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s OrbFeatures) HasXs() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s OrbFeatures) SetXs(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewXs sets the xs field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s OrbFeatures) NewXs(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s OrbFeatures) Ys() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s OrbFeatures) HasYs() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s OrbFeatures) SetYs(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewYs sets the ys field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s OrbFeatures) NewYs(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s OrbFeatures) Descriptors() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return []byte(p.Data()), err
|
|
}
|
|
|
|
func (s OrbFeatures) HasDescriptors() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s OrbFeatures) SetDescriptors(v []byte) error {
|
|
return capnp.Struct(s).SetData(2, v)
|
|
}
|
|
|
|
func (s OrbFeatures) Octaves() (capnp.Int8List, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return capnp.Int8List(p.List()), err
|
|
}
|
|
|
|
func (s OrbFeatures) HasOctaves() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s OrbFeatures) SetOctaves(v capnp.Int8List) error {
|
|
return capnp.Struct(s).SetPtr(3, v.ToPtr())
|
|
}
|
|
|
|
// NewOctaves sets the octaves field to a newly
|
|
// allocated capnp.Int8List, preferring placement in s's segment.
|
|
func (s OrbFeatures) NewOctaves(n int32) (capnp.Int8List, error) {
|
|
l, err := capnp.NewInt8List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Int8List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s OrbFeatures) TimestampLastEof() uint64 {
|
|
return capnp.Struct(s).Uint64(8)
|
|
}
|
|
|
|
func (s OrbFeatures) SetTimestampLastEof(v uint64) {
|
|
capnp.Struct(s).SetUint64(8, v)
|
|
}
|
|
|
|
func (s OrbFeatures) Matches() (capnp.Int16List, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return capnp.Int16List(p.List()), err
|
|
}
|
|
|
|
func (s OrbFeatures) HasMatches() bool {
|
|
return capnp.Struct(s).HasPtr(4)
|
|
}
|
|
|
|
func (s OrbFeatures) SetMatches(v capnp.Int16List) error {
|
|
return capnp.Struct(s).SetPtr(4, v.ToPtr())
|
|
}
|
|
|
|
// NewMatches sets the matches field to a newly
|
|
// allocated capnp.Int16List, preferring placement in s's segment.
|
|
func (s OrbFeatures) NewMatches(n int32) (capnp.Int16List, error) {
|
|
l, err := capnp.NewInt16List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Int16List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(4, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// OrbFeatures_List is a list of OrbFeatures.
|
|
type OrbFeatures_List = capnp.StructList[OrbFeatures]
|
|
|
|
// NewOrbFeatures creates a new list of OrbFeatures.
|
|
func NewOrbFeatures_List(s *capnp.Segment, sz int32) (OrbFeatures_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 5}, sz)
|
|
return capnp.StructList[OrbFeatures](l), err
|
|
}
|
|
|
|
// OrbFeatures_Future is a wrapper for a OrbFeatures promised by a client call.
|
|
type OrbFeatures_Future struct{ *capnp.Future }
|
|
|
|
func (f OrbFeatures_Future) Struct() (OrbFeatures, error) {
|
|
p, err := f.Future.Ptr()
|
|
return OrbFeatures(p.Struct()), err
|
|
}
|
|
|
|
type OrbFeaturesSummary capnp.Struct
|
|
|
|
// OrbFeaturesSummary_TypeID is the unique identifier for the type OrbFeaturesSummary.
|
|
const OrbFeaturesSummary_TypeID = 0xd500d30c5803fa4f
|
|
|
|
func NewOrbFeaturesSummary(s *capnp.Segment) (OrbFeaturesSummary, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 32, PointerCount: 0})
|
|
return OrbFeaturesSummary(st), err
|
|
}
|
|
|
|
func NewRootOrbFeaturesSummary(s *capnp.Segment) (OrbFeaturesSummary, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 32, PointerCount: 0})
|
|
return OrbFeaturesSummary(st), err
|
|
}
|
|
|
|
func ReadRootOrbFeaturesSummary(msg *capnp.Message) (OrbFeaturesSummary, error) {
|
|
root, err := msg.Root()
|
|
return OrbFeaturesSummary(root.Struct()), err
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) String() string {
|
|
str, _ := text.Marshal(0xd500d30c5803fa4f, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (OrbFeaturesSummary) DecodeFromPtr(p capnp.Ptr) OrbFeaturesSummary {
|
|
return OrbFeaturesSummary(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s OrbFeaturesSummary) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s OrbFeaturesSummary) TimestampEof() uint64 {
|
|
return capnp.Struct(s).Uint64(0)
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) SetTimestampEof(v uint64) {
|
|
capnp.Struct(s).SetUint64(0, v)
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) TimestampLastEof() uint64 {
|
|
return capnp.Struct(s).Uint64(8)
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) SetTimestampLastEof(v uint64) {
|
|
capnp.Struct(s).SetUint64(8, v)
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) FeatureCount() uint16 {
|
|
return capnp.Struct(s).Uint16(16)
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) SetFeatureCount(v uint16) {
|
|
capnp.Struct(s).SetUint16(16, v)
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) MatchCount() uint16 {
|
|
return capnp.Struct(s).Uint16(18)
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) SetMatchCount(v uint16) {
|
|
capnp.Struct(s).SetUint16(18, v)
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) ComputeNs() uint64 {
|
|
return capnp.Struct(s).Uint64(24)
|
|
}
|
|
|
|
func (s OrbFeaturesSummary) SetComputeNs(v uint64) {
|
|
capnp.Struct(s).SetUint64(24, v)
|
|
}
|
|
|
|
// OrbFeaturesSummary_List is a list of OrbFeaturesSummary.
|
|
type OrbFeaturesSummary_List = capnp.StructList[OrbFeaturesSummary]
|
|
|
|
// NewOrbFeaturesSummary creates a new list of OrbFeaturesSummary.
|
|
func NewOrbFeaturesSummary_List(s *capnp.Segment, sz int32) (OrbFeaturesSummary_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 32, PointerCount: 0}, sz)
|
|
return capnp.StructList[OrbFeaturesSummary](l), err
|
|
}
|
|
|
|
// OrbFeaturesSummary_Future is a wrapper for a OrbFeaturesSummary promised by a client call.
|
|
type OrbFeaturesSummary_Future struct{ *capnp.Future }
|
|
|
|
func (f OrbFeaturesSummary_Future) Struct() (OrbFeaturesSummary, error) {
|
|
p, err := f.Future.Ptr()
|
|
return OrbFeaturesSummary(p.Struct()), err
|
|
}
|
|
|
|
type OrbKeyFrame capnp.Struct
|
|
|
|
// OrbKeyFrame_TypeID is the unique identifier for the type OrbKeyFrame.
|
|
const OrbKeyFrame_TypeID = 0xc8233c0345e27e24
|
|
|
|
func NewOrbKeyFrame(s *capnp.Segment) (OrbKeyFrame, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3})
|
|
return OrbKeyFrame(st), err
|
|
}
|
|
|
|
func NewRootOrbKeyFrame(s *capnp.Segment) (OrbKeyFrame, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3})
|
|
return OrbKeyFrame(st), err
|
|
}
|
|
|
|
func ReadRootOrbKeyFrame(msg *capnp.Message) (OrbKeyFrame, error) {
|
|
root, err := msg.Root()
|
|
return OrbKeyFrame(root.Struct()), err
|
|
}
|
|
|
|
func (s OrbKeyFrame) String() string {
|
|
str, _ := text.Marshal(0xc8233c0345e27e24, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s OrbKeyFrame) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (OrbKeyFrame) DecodeFromPtr(p capnp.Ptr) OrbKeyFrame {
|
|
return OrbKeyFrame(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s OrbKeyFrame) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s OrbKeyFrame) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s OrbKeyFrame) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s OrbKeyFrame) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s OrbKeyFrame) Id() uint64 {
|
|
return capnp.Struct(s).Uint64(0)
|
|
}
|
|
|
|
func (s OrbKeyFrame) SetId(v uint64) {
|
|
capnp.Struct(s).SetUint64(0, v)
|
|
}
|
|
|
|
func (s OrbKeyFrame) Pos() (ECEFPoint, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return ECEFPoint(p.Struct()), err
|
|
}
|
|
|
|
func (s OrbKeyFrame) HasPos() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s OrbKeyFrame) SetPos(v ECEFPoint) error {
|
|
return capnp.Struct(s).SetPtr(0, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewPos sets the pos field to a newly
|
|
// allocated ECEFPoint struct, preferring placement in s's segment.
|
|
func (s OrbKeyFrame) NewPos() (ECEFPoint, error) {
|
|
ss, err := NewECEFPoint(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return ECEFPoint{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s OrbKeyFrame) Dpos() (ECEFPoint_List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return ECEFPoint_List(p.List()), err
|
|
}
|
|
|
|
func (s OrbKeyFrame) HasDpos() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s OrbKeyFrame) SetDpos(v ECEFPoint_List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewDpos sets the dpos field to a newly
|
|
// allocated ECEFPoint_List, preferring placement in s's segment.
|
|
func (s OrbKeyFrame) NewDpos(n int32) (ECEFPoint_List, error) {
|
|
l, err := NewECEFPoint_List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return ECEFPoint_List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s OrbKeyFrame) Descriptors() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return []byte(p.Data()), err
|
|
}
|
|
|
|
func (s OrbKeyFrame) HasDescriptors() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s OrbKeyFrame) SetDescriptors(v []byte) error {
|
|
return capnp.Struct(s).SetData(2, v)
|
|
}
|
|
|
|
// OrbKeyFrame_List is a list of OrbKeyFrame.
|
|
type OrbKeyFrame_List = capnp.StructList[OrbKeyFrame]
|
|
|
|
// NewOrbKeyFrame creates a new list of OrbKeyFrame.
|
|
func NewOrbKeyFrame_List(s *capnp.Segment, sz int32) (OrbKeyFrame_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3}, sz)
|
|
return capnp.StructList[OrbKeyFrame](l), err
|
|
}
|
|
|
|
// OrbKeyFrame_Future is a wrapper for a OrbKeyFrame promised by a client call.
|
|
type OrbKeyFrame_Future struct{ *capnp.Future }
|
|
|
|
func (f OrbKeyFrame_Future) Struct() (OrbKeyFrame, error) {
|
|
p, err := f.Future.Ptr()
|
|
return OrbKeyFrame(p.Struct()), err
|
|
}
|
|
func (p OrbKeyFrame_Future) Pos() ECEFPoint_Future {
|
|
return ECEFPoint_Future{Future: p.Future.Field(0, nil)}
|
|
}
|
|
|
|
type KalmanOdometry capnp.Struct
|
|
|
|
// KalmanOdometry_TypeID is the unique identifier for the type KalmanOdometry.
|
|
const KalmanOdometry_TypeID = 0x92e21bb7ea38793a
|
|
|
|
func NewKalmanOdometry(s *capnp.Segment) (KalmanOdometry, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 4})
|
|
return KalmanOdometry(st), err
|
|
}
|
|
|
|
func NewRootKalmanOdometry(s *capnp.Segment) (KalmanOdometry, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 4})
|
|
return KalmanOdometry(st), err
|
|
}
|
|
|
|
func ReadRootKalmanOdometry(msg *capnp.Message) (KalmanOdometry, error) {
|
|
root, err := msg.Root()
|
|
return KalmanOdometry(root.Struct()), err
|
|
}
|
|
|
|
func (s KalmanOdometry) String() string {
|
|
str, _ := text.Marshal(0x92e21bb7ea38793a, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s KalmanOdometry) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (KalmanOdometry) DecodeFromPtr(p capnp.Ptr) KalmanOdometry {
|
|
return KalmanOdometry(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s KalmanOdometry) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s KalmanOdometry) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s KalmanOdometry) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s KalmanOdometry) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s KalmanOdometry) Trans() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s KalmanOdometry) HasTrans() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s KalmanOdometry) SetTrans(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewTrans sets the trans field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s KalmanOdometry) NewTrans(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s KalmanOdometry) Rot() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s KalmanOdometry) HasRot() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s KalmanOdometry) SetRot(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewRot sets the rot field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s KalmanOdometry) NewRot(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s KalmanOdometry) TransStd() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s KalmanOdometry) HasTransStd() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s KalmanOdometry) SetTransStd(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewTransStd sets the transStd field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s KalmanOdometry) NewTransStd(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s KalmanOdometry) RotStd() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s KalmanOdometry) HasRotStd() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s KalmanOdometry) SetRotStd(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(3, v.ToPtr())
|
|
}
|
|
|
|
// NewRotStd sets the rotStd field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s KalmanOdometry) NewRotStd(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// KalmanOdometry_List is a list of KalmanOdometry.
|
|
type KalmanOdometry_List = capnp.StructList[KalmanOdometry]
|
|
|
|
// NewKalmanOdometry creates a new list of KalmanOdometry.
|
|
func NewKalmanOdometry_List(s *capnp.Segment, sz int32) (KalmanOdometry_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 4}, sz)
|
|
return capnp.StructList[KalmanOdometry](l), err
|
|
}
|
|
|
|
// KalmanOdometry_Future is a wrapper for a KalmanOdometry promised by a client call.
|
|
type KalmanOdometry_Future struct{ *capnp.Future }
|
|
|
|
func (f KalmanOdometry_Future) Struct() (KalmanOdometry, error) {
|
|
p, err := f.Future.Ptr()
|
|
return KalmanOdometry(p.Struct()), err
|
|
}
|
|
|
|
type OrbObservation capnp.Struct
|
|
|
|
// OrbObservation_TypeID is the unique identifier for the type OrbObservation.
|
|
const OrbObservation_TypeID = 0x9b326d4e436afec7
|
|
|
|
func NewOrbObservation(s *capnp.Segment) (OrbObservation, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 2})
|
|
return OrbObservation(st), err
|
|
}
|
|
|
|
func NewRootOrbObservation(s *capnp.Segment) (OrbObservation, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 2})
|
|
return OrbObservation(st), err
|
|
}
|
|
|
|
func ReadRootOrbObservation(msg *capnp.Message) (OrbObservation, error) {
|
|
root, err := msg.Root()
|
|
return OrbObservation(root.Struct()), err
|
|
}
|
|
|
|
func (s OrbObservation) String() string {
|
|
str, _ := text.Marshal(0x9b326d4e436afec7, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s OrbObservation) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (OrbObservation) DecodeFromPtr(p capnp.Ptr) OrbObservation {
|
|
return OrbObservation(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s OrbObservation) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s OrbObservation) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s OrbObservation) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s OrbObservation) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s OrbObservation) ObservationMonoTime() uint64 {
|
|
return capnp.Struct(s).Uint64(0)
|
|
}
|
|
|
|
func (s OrbObservation) SetObservationMonoTime(v uint64) {
|
|
capnp.Struct(s).SetUint64(0, v)
|
|
}
|
|
|
|
func (s OrbObservation) NormalizedCoordinates() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s OrbObservation) HasNormalizedCoordinates() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s OrbObservation) SetNormalizedCoordinates(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewNormalizedCoordinates sets the normalizedCoordinates field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s OrbObservation) NewNormalizedCoordinates(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s OrbObservation) LocationECEF() (capnp.Float64List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float64List(p.List()), err
|
|
}
|
|
|
|
func (s OrbObservation) HasLocationECEF() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s OrbObservation) SetLocationECEF(v capnp.Float64List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewLocationECEF sets the locationECEF field to a newly
|
|
// allocated capnp.Float64List, preferring placement in s's segment.
|
|
func (s OrbObservation) NewLocationECEF(n int32) (capnp.Float64List, error) {
|
|
l, err := capnp.NewFloat64List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float64List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s OrbObservation) MatchDistance() uint32 {
|
|
return capnp.Struct(s).Uint32(8)
|
|
}
|
|
|
|
func (s OrbObservation) SetMatchDistance(v uint32) {
|
|
capnp.Struct(s).SetUint32(8, v)
|
|
}
|
|
|
|
// OrbObservation_List is a list of OrbObservation.
|
|
type OrbObservation_List = capnp.StructList[OrbObservation]
|
|
|
|
// NewOrbObservation creates a new list of OrbObservation.
|
|
func NewOrbObservation_List(s *capnp.Segment, sz int32) (OrbObservation_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 2}, sz)
|
|
return capnp.StructList[OrbObservation](l), err
|
|
}
|
|
|
|
// OrbObservation_Future is a wrapper for a OrbObservation promised by a client call.
|
|
type OrbObservation_Future struct{ *capnp.Future }
|
|
|
|
func (f OrbObservation_Future) Struct() (OrbObservation, error) {
|
|
p, err := f.Future.Ptr()
|
|
return OrbObservation(p.Struct()), err
|
|
}
|
|
|
|
type CalibrationFeatures capnp.Struct
|
|
|
|
// CalibrationFeatures_TypeID is the unique identifier for the type CalibrationFeatures.
|
|
const CalibrationFeatures_TypeID = 0x8fdfadb254ea867a
|
|
|
|
func NewCalibrationFeatures(s *capnp.Segment) (CalibrationFeatures, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3})
|
|
return CalibrationFeatures(st), err
|
|
}
|
|
|
|
func NewRootCalibrationFeatures(s *capnp.Segment) (CalibrationFeatures, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3})
|
|
return CalibrationFeatures(st), err
|
|
}
|
|
|
|
func ReadRootCalibrationFeatures(msg *capnp.Message) (CalibrationFeatures, error) {
|
|
root, err := msg.Root()
|
|
return CalibrationFeatures(root.Struct()), err
|
|
}
|
|
|
|
func (s CalibrationFeatures) String() string {
|
|
str, _ := text.Marshal(0x8fdfadb254ea867a, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s CalibrationFeatures) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (CalibrationFeatures) DecodeFromPtr(p capnp.Ptr) CalibrationFeatures {
|
|
return CalibrationFeatures(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s CalibrationFeatures) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s CalibrationFeatures) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s CalibrationFeatures) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s CalibrationFeatures) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s CalibrationFeatures) FrameId() uint32 {
|
|
return capnp.Struct(s).Uint32(0)
|
|
}
|
|
|
|
func (s CalibrationFeatures) SetFrameId(v uint32) {
|
|
capnp.Struct(s).SetUint32(0, v)
|
|
}
|
|
|
|
func (s CalibrationFeatures) P0() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s CalibrationFeatures) HasP0() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s CalibrationFeatures) SetP0(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewP0 sets the p0 field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s CalibrationFeatures) NewP0(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s CalibrationFeatures) P1() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s CalibrationFeatures) HasP1() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s CalibrationFeatures) SetP1(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewP1 sets the p1 field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s CalibrationFeatures) NewP1(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s CalibrationFeatures) Status() (capnp.Int8List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Int8List(p.List()), err
|
|
}
|
|
|
|
func (s CalibrationFeatures) HasStatus() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s CalibrationFeatures) SetStatus(v capnp.Int8List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewStatus sets the status field to a newly
|
|
// allocated capnp.Int8List, preferring placement in s's segment.
|
|
func (s CalibrationFeatures) NewStatus(n int32) (capnp.Int8List, error) {
|
|
l, err := capnp.NewInt8List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Int8List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// CalibrationFeatures_List is a list of CalibrationFeatures.
|
|
type CalibrationFeatures_List = capnp.StructList[CalibrationFeatures]
|
|
|
|
// NewCalibrationFeatures creates a new list of CalibrationFeatures.
|
|
func NewCalibrationFeatures_List(s *capnp.Segment, sz int32) (CalibrationFeatures_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3}, sz)
|
|
return capnp.StructList[CalibrationFeatures](l), err
|
|
}
|
|
|
|
// CalibrationFeatures_Future is a wrapper for a CalibrationFeatures promised by a client call.
|
|
type CalibrationFeatures_Future struct{ *capnp.Future }
|
|
|
|
func (f CalibrationFeatures_Future) Struct() (CalibrationFeatures, error) {
|
|
p, err := f.Future.Ptr()
|
|
return CalibrationFeatures(p.Struct()), err
|
|
}
|
|
|
|
type NavStatus capnp.Struct
|
|
|
|
// NavStatus_TypeID is the unique identifier for the type NavStatus.
|
|
const NavStatus_TypeID = 0xbd8822120928120c
|
|
|
|
func NewNavStatus(s *capnp.Segment) (NavStatus, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return NavStatus(st), err
|
|
}
|
|
|
|
func NewRootNavStatus(s *capnp.Segment) (NavStatus, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return NavStatus(st), err
|
|
}
|
|
|
|
func ReadRootNavStatus(msg *capnp.Message) (NavStatus, error) {
|
|
root, err := msg.Root()
|
|
return NavStatus(root.Struct()), err
|
|
}
|
|
|
|
func (s NavStatus) String() string {
|
|
str, _ := text.Marshal(0xbd8822120928120c, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s NavStatus) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (NavStatus) DecodeFromPtr(p capnp.Ptr) NavStatus {
|
|
return NavStatus(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s NavStatus) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s NavStatus) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s NavStatus) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s NavStatus) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s NavStatus) IsNavigating() bool {
|
|
return capnp.Struct(s).Bit(0)
|
|
}
|
|
|
|
func (s NavStatus) SetIsNavigating(v bool) {
|
|
capnp.Struct(s).SetBit(0, v)
|
|
}
|
|
|
|
func (s NavStatus) CurrentAddress() (NavStatus_Address, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return NavStatus_Address(p.Struct()), err
|
|
}
|
|
|
|
func (s NavStatus) HasCurrentAddress() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s NavStatus) SetCurrentAddress(v NavStatus_Address) error {
|
|
return capnp.Struct(s).SetPtr(0, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewCurrentAddress sets the currentAddress field to a newly
|
|
// allocated NavStatus_Address struct, preferring placement in s's segment.
|
|
func (s NavStatus) NewCurrentAddress() (NavStatus_Address, error) {
|
|
ss, err := NewNavStatus_Address(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return NavStatus_Address{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
// NavStatus_List is a list of NavStatus.
|
|
type NavStatus_List = capnp.StructList[NavStatus]
|
|
|
|
// NewNavStatus creates a new list of NavStatus.
|
|
func NewNavStatus_List(s *capnp.Segment, sz int32) (NavStatus_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1}, sz)
|
|
return capnp.StructList[NavStatus](l), err
|
|
}
|
|
|
|
// NavStatus_Future is a wrapper for a NavStatus promised by a client call.
|
|
type NavStatus_Future struct{ *capnp.Future }
|
|
|
|
func (f NavStatus_Future) Struct() (NavStatus, error) {
|
|
p, err := f.Future.Ptr()
|
|
return NavStatus(p.Struct()), err
|
|
}
|
|
func (p NavStatus_Future) CurrentAddress() NavStatus_Address_Future {
|
|
return NavStatus_Address_Future{Future: p.Future.Field(0, nil)}
|
|
}
|
|
|
|
type NavStatus_Address capnp.Struct
|
|
|
|
// NavStatus_Address_TypeID is the unique identifier for the type NavStatus_Address.
|
|
const NavStatus_Address_TypeID = 0xce7cd672cacc7814
|
|
|
|
func NewNavStatus_Address(s *capnp.Segment) (NavStatus_Address, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 7})
|
|
return NavStatus_Address(st), err
|
|
}
|
|
|
|
func NewRootNavStatus_Address(s *capnp.Segment) (NavStatus_Address, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 7})
|
|
return NavStatus_Address(st), err
|
|
}
|
|
|
|
func ReadRootNavStatus_Address(msg *capnp.Message) (NavStatus_Address, error) {
|
|
root, err := msg.Root()
|
|
return NavStatus_Address(root.Struct()), err
|
|
}
|
|
|
|
func (s NavStatus_Address) String() string {
|
|
str, _ := text.Marshal(0xce7cd672cacc7814, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s NavStatus_Address) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (NavStatus_Address) DecodeFromPtr(p capnp.Ptr) NavStatus_Address {
|
|
return NavStatus_Address(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s NavStatus_Address) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s NavStatus_Address) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s NavStatus_Address) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s NavStatus_Address) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s NavStatus_Address) Title() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) HasTitle() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s NavStatus_Address) TitleBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) SetTitle(v string) error {
|
|
return capnp.Struct(s).SetText(0, v)
|
|
}
|
|
|
|
func (s NavStatus_Address) Lat() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(0))
|
|
}
|
|
|
|
func (s NavStatus_Address) SetLat(v float64) {
|
|
capnp.Struct(s).SetUint64(0, math.Float64bits(v))
|
|
}
|
|
|
|
func (s NavStatus_Address) Lng() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(8))
|
|
}
|
|
|
|
func (s NavStatus_Address) SetLng(v float64) {
|
|
capnp.Struct(s).SetUint64(8, math.Float64bits(v))
|
|
}
|
|
|
|
func (s NavStatus_Address) House() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) HasHouse() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s NavStatus_Address) HouseBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) SetHouse(v string) error {
|
|
return capnp.Struct(s).SetText(1, v)
|
|
}
|
|
|
|
func (s NavStatus_Address) Address() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) HasAddress() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s NavStatus_Address) AddressBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) SetAddress(v string) error {
|
|
return capnp.Struct(s).SetText(2, v)
|
|
}
|
|
|
|
func (s NavStatus_Address) Street() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) HasStreet() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s NavStatus_Address) StreetBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) SetStreet(v string) error {
|
|
return capnp.Struct(s).SetText(3, v)
|
|
}
|
|
|
|
func (s NavStatus_Address) City() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) HasCity() bool {
|
|
return capnp.Struct(s).HasPtr(4)
|
|
}
|
|
|
|
func (s NavStatus_Address) CityBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) SetCity(v string) error {
|
|
return capnp.Struct(s).SetText(4, v)
|
|
}
|
|
|
|
func (s NavStatus_Address) State() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(5)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) HasState() bool {
|
|
return capnp.Struct(s).HasPtr(5)
|
|
}
|
|
|
|
func (s NavStatus_Address) StateBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(5)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) SetState(v string) error {
|
|
return capnp.Struct(s).SetText(5, v)
|
|
}
|
|
|
|
func (s NavStatus_Address) Country() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(6)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) HasCountry() bool {
|
|
return capnp.Struct(s).HasPtr(6)
|
|
}
|
|
|
|
func (s NavStatus_Address) CountryBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(6)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s NavStatus_Address) SetCountry(v string) error {
|
|
return capnp.Struct(s).SetText(6, v)
|
|
}
|
|
|
|
// NavStatus_Address_List is a list of NavStatus_Address.
|
|
type NavStatus_Address_List = capnp.StructList[NavStatus_Address]
|
|
|
|
// NewNavStatus_Address creates a new list of NavStatus_Address.
|
|
func NewNavStatus_Address_List(s *capnp.Segment, sz int32) (NavStatus_Address_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 7}, sz)
|
|
return capnp.StructList[NavStatus_Address](l), err
|
|
}
|
|
|
|
// NavStatus_Address_Future is a wrapper for a NavStatus_Address promised by a client call.
|
|
type NavStatus_Address_Future struct{ *capnp.Future }
|
|
|
|
func (f NavStatus_Address_Future) Struct() (NavStatus_Address, error) {
|
|
p, err := f.Future.Ptr()
|
|
return NavStatus_Address(p.Struct()), err
|
|
}
|
|
|
|
type NavUpdate capnp.Struct
|
|
|
|
// NavUpdate_TypeID is the unique identifier for the type NavUpdate.
|
|
const NavUpdate_TypeID = 0xdb98be6565516acb
|
|
|
|
func NewNavUpdate(s *capnp.Segment) (NavUpdate, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return NavUpdate(st), err
|
|
}
|
|
|
|
func NewRootNavUpdate(s *capnp.Segment) (NavUpdate, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return NavUpdate(st), err
|
|
}
|
|
|
|
func ReadRootNavUpdate(msg *capnp.Message) (NavUpdate, error) {
|
|
root, err := msg.Root()
|
|
return NavUpdate(root.Struct()), err
|
|
}
|
|
|
|
func (s NavUpdate) String() string {
|
|
str, _ := text.Marshal(0xdb98be6565516acb, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s NavUpdate) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (NavUpdate) DecodeFromPtr(p capnp.Ptr) NavUpdate {
|
|
return NavUpdate(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s NavUpdate) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s NavUpdate) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s NavUpdate) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s NavUpdate) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s NavUpdate) IsNavigating() bool {
|
|
return capnp.Struct(s).Bit(0)
|
|
}
|
|
|
|
func (s NavUpdate) SetIsNavigating(v bool) {
|
|
capnp.Struct(s).SetBit(0, v)
|
|
}
|
|
|
|
func (s NavUpdate) CurSegment() int32 {
|
|
return int32(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s NavUpdate) SetCurSegment(v int32) {
|
|
capnp.Struct(s).SetUint32(4, uint32(v))
|
|
}
|
|
|
|
func (s NavUpdate) Segments() (NavUpdate_Segment_List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return NavUpdate_Segment_List(p.List()), err
|
|
}
|
|
|
|
func (s NavUpdate) HasSegments() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s NavUpdate) SetSegments(v NavUpdate_Segment_List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewSegments sets the segments field to a newly
|
|
// allocated NavUpdate_Segment_List, preferring placement in s's segment.
|
|
func (s NavUpdate) NewSegments(n int32) (NavUpdate_Segment_List, error) {
|
|
l, err := NewNavUpdate_Segment_List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return NavUpdate_Segment_List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// NavUpdate_List is a list of NavUpdate.
|
|
type NavUpdate_List = capnp.StructList[NavUpdate]
|
|
|
|
// NewNavUpdate creates a new list of NavUpdate.
|
|
func NewNavUpdate_List(s *capnp.Segment, sz int32) (NavUpdate_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1}, sz)
|
|
return capnp.StructList[NavUpdate](l), err
|
|
}
|
|
|
|
// NavUpdate_Future is a wrapper for a NavUpdate promised by a client call.
|
|
type NavUpdate_Future struct{ *capnp.Future }
|
|
|
|
func (f NavUpdate_Future) Struct() (NavUpdate, error) {
|
|
p, err := f.Future.Ptr()
|
|
return NavUpdate(p.Struct()), err
|
|
}
|
|
|
|
type NavUpdate_LatLng capnp.Struct
|
|
|
|
// NavUpdate_LatLng_TypeID is the unique identifier for the type NavUpdate_LatLng.
|
|
const NavUpdate_LatLng_TypeID = 0x9eaef9187cadbb9b
|
|
|
|
func NewNavUpdate_LatLng(s *capnp.Segment) (NavUpdate_LatLng, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 0})
|
|
return NavUpdate_LatLng(st), err
|
|
}
|
|
|
|
func NewRootNavUpdate_LatLng(s *capnp.Segment) (NavUpdate_LatLng, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 0})
|
|
return NavUpdate_LatLng(st), err
|
|
}
|
|
|
|
func ReadRootNavUpdate_LatLng(msg *capnp.Message) (NavUpdate_LatLng, error) {
|
|
root, err := msg.Root()
|
|
return NavUpdate_LatLng(root.Struct()), err
|
|
}
|
|
|
|
func (s NavUpdate_LatLng) String() string {
|
|
str, _ := text.Marshal(0x9eaef9187cadbb9b, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s NavUpdate_LatLng) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (NavUpdate_LatLng) DecodeFromPtr(p capnp.Ptr) NavUpdate_LatLng {
|
|
return NavUpdate_LatLng(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s NavUpdate_LatLng) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s NavUpdate_LatLng) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s NavUpdate_LatLng) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s NavUpdate_LatLng) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s NavUpdate_LatLng) Lat() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(0))
|
|
}
|
|
|
|
func (s NavUpdate_LatLng) SetLat(v float64) {
|
|
capnp.Struct(s).SetUint64(0, math.Float64bits(v))
|
|
}
|
|
|
|
func (s NavUpdate_LatLng) Lng() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(8))
|
|
}
|
|
|
|
func (s NavUpdate_LatLng) SetLng(v float64) {
|
|
capnp.Struct(s).SetUint64(8, math.Float64bits(v))
|
|
}
|
|
|
|
// NavUpdate_LatLng_List is a list of NavUpdate_LatLng.
|
|
type NavUpdate_LatLng_List = capnp.StructList[NavUpdate_LatLng]
|
|
|
|
// NewNavUpdate_LatLng creates a new list of NavUpdate_LatLng.
|
|
func NewNavUpdate_LatLng_List(s *capnp.Segment, sz int32) (NavUpdate_LatLng_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 0}, sz)
|
|
return capnp.StructList[NavUpdate_LatLng](l), err
|
|
}
|
|
|
|
// NavUpdate_LatLng_Future is a wrapper for a NavUpdate_LatLng promised by a client call.
|
|
type NavUpdate_LatLng_Future struct{ *capnp.Future }
|
|
|
|
func (f NavUpdate_LatLng_Future) Struct() (NavUpdate_LatLng, error) {
|
|
p, err := f.Future.Ptr()
|
|
return NavUpdate_LatLng(p.Struct()), err
|
|
}
|
|
|
|
type NavUpdate_Segment capnp.Struct
|
|
|
|
// NavUpdate_Segment_TypeID is the unique identifier for the type NavUpdate_Segment.
|
|
const NavUpdate_Segment_TypeID = 0xa5b39b4fc4d7da3f
|
|
|
|
func NewNavUpdate_Segment(s *capnp.Segment) (NavUpdate_Segment, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 3})
|
|
return NavUpdate_Segment(st), err
|
|
}
|
|
|
|
func NewRootNavUpdate_Segment(s *capnp.Segment) (NavUpdate_Segment, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 3})
|
|
return NavUpdate_Segment(st), err
|
|
}
|
|
|
|
func ReadRootNavUpdate_Segment(msg *capnp.Message) (NavUpdate_Segment, error) {
|
|
root, err := msg.Root()
|
|
return NavUpdate_Segment(root.Struct()), err
|
|
}
|
|
|
|
func (s NavUpdate_Segment) String() string {
|
|
str, _ := text.Marshal(0xa5b39b4fc4d7da3f, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s NavUpdate_Segment) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (NavUpdate_Segment) DecodeFromPtr(p capnp.Ptr) NavUpdate_Segment {
|
|
return NavUpdate_Segment(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s NavUpdate_Segment) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s NavUpdate_Segment) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s NavUpdate_Segment) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s NavUpdate_Segment) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s NavUpdate_Segment) From() (NavUpdate_LatLng, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return NavUpdate_LatLng(p.Struct()), err
|
|
}
|
|
|
|
func (s NavUpdate_Segment) HasFrom() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s NavUpdate_Segment) SetFrom(v NavUpdate_LatLng) error {
|
|
return capnp.Struct(s).SetPtr(0, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewFrom sets the from field to a newly
|
|
// allocated NavUpdate_LatLng struct, preferring placement in s's segment.
|
|
func (s NavUpdate_Segment) NewFrom() (NavUpdate_LatLng, error) {
|
|
ss, err := NewNavUpdate_LatLng(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return NavUpdate_LatLng{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s NavUpdate_Segment) To() (NavUpdate_LatLng, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return NavUpdate_LatLng(p.Struct()), err
|
|
}
|
|
|
|
func (s NavUpdate_Segment) HasTo() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s NavUpdate_Segment) SetTo(v NavUpdate_LatLng) error {
|
|
return capnp.Struct(s).SetPtr(1, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewTo sets the to field to a newly
|
|
// allocated NavUpdate_LatLng struct, preferring placement in s's segment.
|
|
func (s NavUpdate_Segment) NewTo() (NavUpdate_LatLng, error) {
|
|
ss, err := NewNavUpdate_LatLng(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return NavUpdate_LatLng{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s NavUpdate_Segment) UpdateTime() int32 {
|
|
return int32(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s NavUpdate_Segment) SetUpdateTime(v int32) {
|
|
capnp.Struct(s).SetUint32(0, uint32(v))
|
|
}
|
|
|
|
func (s NavUpdate_Segment) Distance() int32 {
|
|
return int32(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s NavUpdate_Segment) SetDistance(v int32) {
|
|
capnp.Struct(s).SetUint32(4, uint32(v))
|
|
}
|
|
|
|
func (s NavUpdate_Segment) CrossTime() int32 {
|
|
return int32(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s NavUpdate_Segment) SetCrossTime(v int32) {
|
|
capnp.Struct(s).SetUint32(8, uint32(v))
|
|
}
|
|
|
|
func (s NavUpdate_Segment) ExitNo() int32 {
|
|
return int32(capnp.Struct(s).Uint32(12))
|
|
}
|
|
|
|
func (s NavUpdate_Segment) SetExitNo(v int32) {
|
|
capnp.Struct(s).SetUint32(12, uint32(v))
|
|
}
|
|
|
|
func (s NavUpdate_Segment) Instruction() NavUpdate_Segment_Instruction {
|
|
return NavUpdate_Segment_Instruction(capnp.Struct(s).Uint16(16))
|
|
}
|
|
|
|
func (s NavUpdate_Segment) SetInstruction(v NavUpdate_Segment_Instruction) {
|
|
capnp.Struct(s).SetUint16(16, uint16(v))
|
|
}
|
|
|
|
func (s NavUpdate_Segment) Parts() (NavUpdate_LatLng_List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return NavUpdate_LatLng_List(p.List()), err
|
|
}
|
|
|
|
func (s NavUpdate_Segment) HasParts() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s NavUpdate_Segment) SetParts(v NavUpdate_LatLng_List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewParts sets the parts field to a newly
|
|
// allocated NavUpdate_LatLng_List, preferring placement in s's segment.
|
|
func (s NavUpdate_Segment) NewParts(n int32) (NavUpdate_LatLng_List, error) {
|
|
l, err := NewNavUpdate_LatLng_List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return NavUpdate_LatLng_List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// NavUpdate_Segment_List is a list of NavUpdate_Segment.
|
|
type NavUpdate_Segment_List = capnp.StructList[NavUpdate_Segment]
|
|
|
|
// NewNavUpdate_Segment creates a new list of NavUpdate_Segment.
|
|
func NewNavUpdate_Segment_List(s *capnp.Segment, sz int32) (NavUpdate_Segment_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 24, PointerCount: 3}, sz)
|
|
return capnp.StructList[NavUpdate_Segment](l), err
|
|
}
|
|
|
|
// NavUpdate_Segment_Future is a wrapper for a NavUpdate_Segment promised by a client call.
|
|
type NavUpdate_Segment_Future struct{ *capnp.Future }
|
|
|
|
func (f NavUpdate_Segment_Future) Struct() (NavUpdate_Segment, error) {
|
|
p, err := f.Future.Ptr()
|
|
return NavUpdate_Segment(p.Struct()), err
|
|
}
|
|
func (p NavUpdate_Segment_Future) From() NavUpdate_LatLng_Future {
|
|
return NavUpdate_LatLng_Future{Future: p.Future.Field(0, nil)}
|
|
}
|
|
func (p NavUpdate_Segment_Future) To() NavUpdate_LatLng_Future {
|
|
return NavUpdate_LatLng_Future{Future: p.Future.Field(1, nil)}
|
|
}
|
|
|
|
type NavUpdate_Segment_Instruction uint16
|
|
|
|
// NavUpdate_Segment_Instruction_TypeID is the unique identifier for the type NavUpdate_Segment_Instruction.
|
|
const NavUpdate_Segment_Instruction_TypeID = 0xc5417a637451246f
|
|
|
|
// Values of NavUpdate_Segment_Instruction.
|
|
const (
|
|
NavUpdate_Segment_Instruction_turnLeft NavUpdate_Segment_Instruction = 0
|
|
NavUpdate_Segment_Instruction_turnRight NavUpdate_Segment_Instruction = 1
|
|
NavUpdate_Segment_Instruction_keepLeft NavUpdate_Segment_Instruction = 2
|
|
NavUpdate_Segment_Instruction_keepRight NavUpdate_Segment_Instruction = 3
|
|
NavUpdate_Segment_Instruction_straight NavUpdate_Segment_Instruction = 4
|
|
NavUpdate_Segment_Instruction_roundaboutExitNumber NavUpdate_Segment_Instruction = 5
|
|
NavUpdate_Segment_Instruction_roundaboutExit NavUpdate_Segment_Instruction = 6
|
|
NavUpdate_Segment_Instruction_roundaboutTurnLeft NavUpdate_Segment_Instruction = 7
|
|
NavUpdate_Segment_Instruction_unkn8 NavUpdate_Segment_Instruction = 8
|
|
NavUpdate_Segment_Instruction_roundaboutStraight NavUpdate_Segment_Instruction = 9
|
|
NavUpdate_Segment_Instruction_unkn10 NavUpdate_Segment_Instruction = 10
|
|
NavUpdate_Segment_Instruction_roundaboutTurnRight NavUpdate_Segment_Instruction = 11
|
|
NavUpdate_Segment_Instruction_unkn12 NavUpdate_Segment_Instruction = 12
|
|
NavUpdate_Segment_Instruction_roundaboutUturn NavUpdate_Segment_Instruction = 13
|
|
NavUpdate_Segment_Instruction_unkn14 NavUpdate_Segment_Instruction = 14
|
|
NavUpdate_Segment_Instruction_arrive NavUpdate_Segment_Instruction = 15
|
|
NavUpdate_Segment_Instruction_exitLeft NavUpdate_Segment_Instruction = 16
|
|
NavUpdate_Segment_Instruction_exitRight NavUpdate_Segment_Instruction = 17
|
|
NavUpdate_Segment_Instruction_unkn18 NavUpdate_Segment_Instruction = 18
|
|
NavUpdate_Segment_Instruction_uturn NavUpdate_Segment_Instruction = 19
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c NavUpdate_Segment_Instruction) String() string {
|
|
switch c {
|
|
case NavUpdate_Segment_Instruction_turnLeft:
|
|
return "turnLeft"
|
|
case NavUpdate_Segment_Instruction_turnRight:
|
|
return "turnRight"
|
|
case NavUpdate_Segment_Instruction_keepLeft:
|
|
return "keepLeft"
|
|
case NavUpdate_Segment_Instruction_keepRight:
|
|
return "keepRight"
|
|
case NavUpdate_Segment_Instruction_straight:
|
|
return "straight"
|
|
case NavUpdate_Segment_Instruction_roundaboutExitNumber:
|
|
return "roundaboutExitNumber"
|
|
case NavUpdate_Segment_Instruction_roundaboutExit:
|
|
return "roundaboutExit"
|
|
case NavUpdate_Segment_Instruction_roundaboutTurnLeft:
|
|
return "roundaboutTurnLeft"
|
|
case NavUpdate_Segment_Instruction_unkn8:
|
|
return "unkn8"
|
|
case NavUpdate_Segment_Instruction_roundaboutStraight:
|
|
return "roundaboutStraight"
|
|
case NavUpdate_Segment_Instruction_unkn10:
|
|
return "unkn10"
|
|
case NavUpdate_Segment_Instruction_roundaboutTurnRight:
|
|
return "roundaboutTurnRight"
|
|
case NavUpdate_Segment_Instruction_unkn12:
|
|
return "unkn12"
|
|
case NavUpdate_Segment_Instruction_roundaboutUturn:
|
|
return "roundaboutUturn"
|
|
case NavUpdate_Segment_Instruction_unkn14:
|
|
return "unkn14"
|
|
case NavUpdate_Segment_Instruction_arrive:
|
|
return "arrive"
|
|
case NavUpdate_Segment_Instruction_exitLeft:
|
|
return "exitLeft"
|
|
case NavUpdate_Segment_Instruction_exitRight:
|
|
return "exitRight"
|
|
case NavUpdate_Segment_Instruction_unkn18:
|
|
return "unkn18"
|
|
case NavUpdate_Segment_Instruction_uturn:
|
|
return "uturn"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// NavUpdate_Segment_InstructionFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func NavUpdate_Segment_InstructionFromString(c string) NavUpdate_Segment_Instruction {
|
|
switch c {
|
|
case "turnLeft":
|
|
return NavUpdate_Segment_Instruction_turnLeft
|
|
case "turnRight":
|
|
return NavUpdate_Segment_Instruction_turnRight
|
|
case "keepLeft":
|
|
return NavUpdate_Segment_Instruction_keepLeft
|
|
case "keepRight":
|
|
return NavUpdate_Segment_Instruction_keepRight
|
|
case "straight":
|
|
return NavUpdate_Segment_Instruction_straight
|
|
case "roundaboutExitNumber":
|
|
return NavUpdate_Segment_Instruction_roundaboutExitNumber
|
|
case "roundaboutExit":
|
|
return NavUpdate_Segment_Instruction_roundaboutExit
|
|
case "roundaboutTurnLeft":
|
|
return NavUpdate_Segment_Instruction_roundaboutTurnLeft
|
|
case "unkn8":
|
|
return NavUpdate_Segment_Instruction_unkn8
|
|
case "roundaboutStraight":
|
|
return NavUpdate_Segment_Instruction_roundaboutStraight
|
|
case "unkn10":
|
|
return NavUpdate_Segment_Instruction_unkn10
|
|
case "roundaboutTurnRight":
|
|
return NavUpdate_Segment_Instruction_roundaboutTurnRight
|
|
case "unkn12":
|
|
return NavUpdate_Segment_Instruction_unkn12
|
|
case "roundaboutUturn":
|
|
return NavUpdate_Segment_Instruction_roundaboutUturn
|
|
case "unkn14":
|
|
return NavUpdate_Segment_Instruction_unkn14
|
|
case "arrive":
|
|
return NavUpdate_Segment_Instruction_arrive
|
|
case "exitLeft":
|
|
return NavUpdate_Segment_Instruction_exitLeft
|
|
case "exitRight":
|
|
return NavUpdate_Segment_Instruction_exitRight
|
|
case "unkn18":
|
|
return NavUpdate_Segment_Instruction_unkn18
|
|
case "uturn":
|
|
return NavUpdate_Segment_Instruction_uturn
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type NavUpdate_Segment_Instruction_List = capnp.EnumList[NavUpdate_Segment_Instruction]
|
|
|
|
func NewNavUpdate_Segment_Instruction_List(s *capnp.Segment, sz int32) (NavUpdate_Segment_Instruction_List, error) {
|
|
return capnp.NewEnumList[NavUpdate_Segment_Instruction](s, sz)
|
|
}
|
|
|
|
type TrafficEvent capnp.Struct
|
|
|
|
// TrafficEvent_TypeID is the unique identifier for the type TrafficEvent.
|
|
const TrafficEvent_TypeID = 0xacfa74a094e62626
|
|
|
|
func NewTrafficEvent(s *capnp.Segment) (TrafficEvent, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 0})
|
|
return TrafficEvent(st), err
|
|
}
|
|
|
|
func NewRootTrafficEvent(s *capnp.Segment) (TrafficEvent, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 0})
|
|
return TrafficEvent(st), err
|
|
}
|
|
|
|
func ReadRootTrafficEvent(msg *capnp.Message) (TrafficEvent, error) {
|
|
root, err := msg.Root()
|
|
return TrafficEvent(root.Struct()), err
|
|
}
|
|
|
|
func (s TrafficEvent) String() string {
|
|
str, _ := text.Marshal(0xacfa74a094e62626, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s TrafficEvent) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (TrafficEvent) DecodeFromPtr(p capnp.Ptr) TrafficEvent {
|
|
return TrafficEvent(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s TrafficEvent) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s TrafficEvent) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s TrafficEvent) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s TrafficEvent) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s TrafficEvent) Type() TrafficEvent_Type {
|
|
return TrafficEvent_Type(capnp.Struct(s).Uint16(0))
|
|
}
|
|
|
|
func (s TrafficEvent) SetType(v TrafficEvent_Type) {
|
|
capnp.Struct(s).SetUint16(0, uint16(v))
|
|
}
|
|
|
|
func (s TrafficEvent) Distance() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s TrafficEvent) SetDistance(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s TrafficEvent) Action() TrafficEvent_Action {
|
|
return TrafficEvent_Action(capnp.Struct(s).Uint16(2))
|
|
}
|
|
|
|
func (s TrafficEvent) SetAction(v TrafficEvent_Action) {
|
|
capnp.Struct(s).SetUint16(2, uint16(v))
|
|
}
|
|
|
|
func (s TrafficEvent) Resuming() bool {
|
|
return capnp.Struct(s).Bit(64)
|
|
}
|
|
|
|
func (s TrafficEvent) SetResuming(v bool) {
|
|
capnp.Struct(s).SetBit(64, v)
|
|
}
|
|
|
|
// TrafficEvent_List is a list of TrafficEvent.
|
|
type TrafficEvent_List = capnp.StructList[TrafficEvent]
|
|
|
|
// NewTrafficEvent creates a new list of TrafficEvent.
|
|
func NewTrafficEvent_List(s *capnp.Segment, sz int32) (TrafficEvent_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 0}, sz)
|
|
return capnp.StructList[TrafficEvent](l), err
|
|
}
|
|
|
|
// TrafficEvent_Future is a wrapper for a TrafficEvent promised by a client call.
|
|
type TrafficEvent_Future struct{ *capnp.Future }
|
|
|
|
func (f TrafficEvent_Future) Struct() (TrafficEvent, error) {
|
|
p, err := f.Future.Ptr()
|
|
return TrafficEvent(p.Struct()), err
|
|
}
|
|
|
|
type TrafficEvent_Type uint16
|
|
|
|
// TrafficEvent_Type_TypeID is the unique identifier for the type TrafficEvent_Type.
|
|
const TrafficEvent_Type_TypeID = 0xd85d75253435bf4b
|
|
|
|
// Values of TrafficEvent_Type.
|
|
const (
|
|
TrafficEvent_Type_stopSign TrafficEvent_Type = 0
|
|
TrafficEvent_Type_lightRed TrafficEvent_Type = 1
|
|
TrafficEvent_Type_lightYellow TrafficEvent_Type = 2
|
|
TrafficEvent_Type_lightGreen TrafficEvent_Type = 3
|
|
TrafficEvent_Type_stopLight TrafficEvent_Type = 4
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c TrafficEvent_Type) String() string {
|
|
switch c {
|
|
case TrafficEvent_Type_stopSign:
|
|
return "stopSign"
|
|
case TrafficEvent_Type_lightRed:
|
|
return "lightRed"
|
|
case TrafficEvent_Type_lightYellow:
|
|
return "lightYellow"
|
|
case TrafficEvent_Type_lightGreen:
|
|
return "lightGreen"
|
|
case TrafficEvent_Type_stopLight:
|
|
return "stopLight"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// TrafficEvent_TypeFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func TrafficEvent_TypeFromString(c string) TrafficEvent_Type {
|
|
switch c {
|
|
case "stopSign":
|
|
return TrafficEvent_Type_stopSign
|
|
case "lightRed":
|
|
return TrafficEvent_Type_lightRed
|
|
case "lightYellow":
|
|
return TrafficEvent_Type_lightYellow
|
|
case "lightGreen":
|
|
return TrafficEvent_Type_lightGreen
|
|
case "stopLight":
|
|
return TrafficEvent_Type_stopLight
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type TrafficEvent_Type_List = capnp.EnumList[TrafficEvent_Type]
|
|
|
|
func NewTrafficEvent_Type_List(s *capnp.Segment, sz int32) (TrafficEvent_Type_List, error) {
|
|
return capnp.NewEnumList[TrafficEvent_Type](s, sz)
|
|
}
|
|
|
|
type TrafficEvent_Action uint16
|
|
|
|
// TrafficEvent_Action_TypeID is the unique identifier for the type TrafficEvent_Action.
|
|
const TrafficEvent_Action_TypeID = 0xa6f6ce72165ccb49
|
|
|
|
// Values of TrafficEvent_Action.
|
|
const (
|
|
TrafficEvent_Action_none TrafficEvent_Action = 0
|
|
TrafficEvent_Action_yield TrafficEvent_Action = 1
|
|
TrafficEvent_Action_stop TrafficEvent_Action = 2
|
|
TrafficEvent_Action_resumeReady TrafficEvent_Action = 3
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c TrafficEvent_Action) String() string {
|
|
switch c {
|
|
case TrafficEvent_Action_none:
|
|
return "none"
|
|
case TrafficEvent_Action_yield:
|
|
return "yield"
|
|
case TrafficEvent_Action_stop:
|
|
return "stop"
|
|
case TrafficEvent_Action_resumeReady:
|
|
return "resumeReady"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// TrafficEvent_ActionFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func TrafficEvent_ActionFromString(c string) TrafficEvent_Action {
|
|
switch c {
|
|
case "none":
|
|
return TrafficEvent_Action_none
|
|
case "yield":
|
|
return TrafficEvent_Action_yield
|
|
case "stop":
|
|
return TrafficEvent_Action_stop
|
|
case "resumeReady":
|
|
return TrafficEvent_Action_resumeReady
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type TrafficEvent_Action_List = capnp.EnumList[TrafficEvent_Action]
|
|
|
|
func NewTrafficEvent_Action_List(s *capnp.Segment, sz int32) (TrafficEvent_Action_List, error) {
|
|
return capnp.NewEnumList[TrafficEvent_Action](s, sz)
|
|
}
|
|
|
|
type AndroidGnss capnp.Struct
|
|
type AndroidGnss_Which uint16
|
|
|
|
const (
|
|
AndroidGnss_Which_measurements AndroidGnss_Which = 0
|
|
AndroidGnss_Which_navigationMessage AndroidGnss_Which = 1
|
|
)
|
|
|
|
func (w AndroidGnss_Which) String() string {
|
|
const s = "measurementsnavigationMessage"
|
|
switch w {
|
|
case AndroidGnss_Which_measurements:
|
|
return s[0:12]
|
|
case AndroidGnss_Which_navigationMessage:
|
|
return s[12:29]
|
|
|
|
}
|
|
return "AndroidGnss_Which(" + strconv.FormatUint(uint64(w), 10) + ")"
|
|
}
|
|
|
|
// AndroidGnss_TypeID is the unique identifier for the type AndroidGnss.
|
|
const AndroidGnss_TypeID = 0xdfdf30d03fc485bd
|
|
|
|
func NewAndroidGnss(s *capnp.Segment) (AndroidGnss, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return AndroidGnss(st), err
|
|
}
|
|
|
|
func NewRootAndroidGnss(s *capnp.Segment) (AndroidGnss, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return AndroidGnss(st), err
|
|
}
|
|
|
|
func ReadRootAndroidGnss(msg *capnp.Message) (AndroidGnss, error) {
|
|
root, err := msg.Root()
|
|
return AndroidGnss(root.Struct()), err
|
|
}
|
|
|
|
func (s AndroidGnss) String() string {
|
|
str, _ := text.Marshal(0xdfdf30d03fc485bd, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s AndroidGnss) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (AndroidGnss) DecodeFromPtr(p capnp.Ptr) AndroidGnss {
|
|
return AndroidGnss(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s AndroidGnss) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
|
|
func (s AndroidGnss) Which() AndroidGnss_Which {
|
|
return AndroidGnss_Which(capnp.Struct(s).Uint16(0))
|
|
}
|
|
func (s AndroidGnss) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s AndroidGnss) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s AndroidGnss) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s AndroidGnss) Measurements() (AndroidGnss_Measurements, error) {
|
|
if capnp.Struct(s).Uint16(0) != 0 {
|
|
panic("Which() != measurements")
|
|
}
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return AndroidGnss_Measurements(p.Struct()), err
|
|
}
|
|
|
|
func (s AndroidGnss) HasMeasurements() bool {
|
|
if capnp.Struct(s).Uint16(0) != 0 {
|
|
return false
|
|
}
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s AndroidGnss) SetMeasurements(v AndroidGnss_Measurements) error {
|
|
capnp.Struct(s).SetUint16(0, 0)
|
|
return capnp.Struct(s).SetPtr(0, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewMeasurements sets the measurements field to a newly
|
|
// allocated AndroidGnss_Measurements struct, preferring placement in s's segment.
|
|
func (s AndroidGnss) NewMeasurements() (AndroidGnss_Measurements, error) {
|
|
capnp.Struct(s).SetUint16(0, 0)
|
|
ss, err := NewAndroidGnss_Measurements(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return AndroidGnss_Measurements{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s AndroidGnss) NavigationMessage() (AndroidGnss_NavigationMessage, error) {
|
|
if capnp.Struct(s).Uint16(0) != 1 {
|
|
panic("Which() != navigationMessage")
|
|
}
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return AndroidGnss_NavigationMessage(p.Struct()), err
|
|
}
|
|
|
|
func (s AndroidGnss) HasNavigationMessage() bool {
|
|
if capnp.Struct(s).Uint16(0) != 1 {
|
|
return false
|
|
}
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s AndroidGnss) SetNavigationMessage(v AndroidGnss_NavigationMessage) error {
|
|
capnp.Struct(s).SetUint16(0, 1)
|
|
return capnp.Struct(s).SetPtr(0, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewNavigationMessage sets the navigationMessage field to a newly
|
|
// allocated AndroidGnss_NavigationMessage struct, preferring placement in s's segment.
|
|
func (s AndroidGnss) NewNavigationMessage() (AndroidGnss_NavigationMessage, error) {
|
|
capnp.Struct(s).SetUint16(0, 1)
|
|
ss, err := NewAndroidGnss_NavigationMessage(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return AndroidGnss_NavigationMessage{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
// AndroidGnss_List is a list of AndroidGnss.
|
|
type AndroidGnss_List = capnp.StructList[AndroidGnss]
|
|
|
|
// NewAndroidGnss creates a new list of AndroidGnss.
|
|
func NewAndroidGnss_List(s *capnp.Segment, sz int32) (AndroidGnss_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1}, sz)
|
|
return capnp.StructList[AndroidGnss](l), err
|
|
}
|
|
|
|
// AndroidGnss_Future is a wrapper for a AndroidGnss promised by a client call.
|
|
type AndroidGnss_Future struct{ *capnp.Future }
|
|
|
|
func (f AndroidGnss_Future) Struct() (AndroidGnss, error) {
|
|
p, err := f.Future.Ptr()
|
|
return AndroidGnss(p.Struct()), err
|
|
}
|
|
func (p AndroidGnss_Future) Measurements() AndroidGnss_Measurements_Future {
|
|
return AndroidGnss_Measurements_Future{Future: p.Future.Field(0, nil)}
|
|
}
|
|
func (p AndroidGnss_Future) NavigationMessage() AndroidGnss_NavigationMessage_Future {
|
|
return AndroidGnss_NavigationMessage_Future{Future: p.Future.Field(0, nil)}
|
|
}
|
|
|
|
type AndroidGnss_Measurements capnp.Struct
|
|
|
|
// AndroidGnss_Measurements_TypeID is the unique identifier for the type AndroidGnss_Measurements.
|
|
const AndroidGnss_Measurements_TypeID = 0xa20710d4f428d6cd
|
|
|
|
func NewAndroidGnss_Measurements(s *capnp.Segment) (AndroidGnss_Measurements, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 2})
|
|
return AndroidGnss_Measurements(st), err
|
|
}
|
|
|
|
func NewRootAndroidGnss_Measurements(s *capnp.Segment) (AndroidGnss_Measurements, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 2})
|
|
return AndroidGnss_Measurements(st), err
|
|
}
|
|
|
|
func ReadRootAndroidGnss_Measurements(msg *capnp.Message) (AndroidGnss_Measurements, error) {
|
|
root, err := msg.Root()
|
|
return AndroidGnss_Measurements(root.Struct()), err
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements) String() string {
|
|
str, _ := text.Marshal(0xa20710d4f428d6cd, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (AndroidGnss_Measurements) DecodeFromPtr(p capnp.Ptr) AndroidGnss_Measurements {
|
|
return AndroidGnss_Measurements(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s AndroidGnss_Measurements) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s AndroidGnss_Measurements) Clock() (AndroidGnss_Measurements_Clock, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return AndroidGnss_Measurements_Clock(p.Struct()), err
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements) HasClock() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements) SetClock(v AndroidGnss_Measurements_Clock) error {
|
|
return capnp.Struct(s).SetPtr(0, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewClock sets the clock field to a newly
|
|
// allocated AndroidGnss_Measurements_Clock struct, preferring placement in s's segment.
|
|
func (s AndroidGnss_Measurements) NewClock() (AndroidGnss_Measurements_Clock, error) {
|
|
ss, err := NewAndroidGnss_Measurements_Clock(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return AndroidGnss_Measurements_Clock{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements) Measurements() (AndroidGnss_Measurements_Measurement_List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return AndroidGnss_Measurements_Measurement_List(p.List()), err
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements) HasMeasurements() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements) SetMeasurements(v AndroidGnss_Measurements_Measurement_List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewMeasurements sets the measurements field to a newly
|
|
// allocated AndroidGnss_Measurements_Measurement_List, preferring placement in s's segment.
|
|
func (s AndroidGnss_Measurements) NewMeasurements(n int32) (AndroidGnss_Measurements_Measurement_List, error) {
|
|
l, err := NewAndroidGnss_Measurements_Measurement_List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return AndroidGnss_Measurements_Measurement_List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// AndroidGnss_Measurements_List is a list of AndroidGnss_Measurements.
|
|
type AndroidGnss_Measurements_List = capnp.StructList[AndroidGnss_Measurements]
|
|
|
|
// NewAndroidGnss_Measurements creates a new list of AndroidGnss_Measurements.
|
|
func NewAndroidGnss_Measurements_List(s *capnp.Segment, sz int32) (AndroidGnss_Measurements_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 2}, sz)
|
|
return capnp.StructList[AndroidGnss_Measurements](l), err
|
|
}
|
|
|
|
// AndroidGnss_Measurements_Future is a wrapper for a AndroidGnss_Measurements promised by a client call.
|
|
type AndroidGnss_Measurements_Future struct{ *capnp.Future }
|
|
|
|
func (f AndroidGnss_Measurements_Future) Struct() (AndroidGnss_Measurements, error) {
|
|
p, err := f.Future.Ptr()
|
|
return AndroidGnss_Measurements(p.Struct()), err
|
|
}
|
|
func (p AndroidGnss_Measurements_Future) Clock() AndroidGnss_Measurements_Clock_Future {
|
|
return AndroidGnss_Measurements_Clock_Future{Future: p.Future.Field(0, nil)}
|
|
}
|
|
|
|
type AndroidGnss_Measurements_Clock capnp.Struct
|
|
|
|
// AndroidGnss_Measurements_Clock_TypeID is the unique identifier for the type AndroidGnss_Measurements_Clock.
|
|
const AndroidGnss_Measurements_Clock_TypeID = 0xa0e27b453a38f450
|
|
|
|
func NewAndroidGnss_Measurements_Clock(s *capnp.Segment) (AndroidGnss_Measurements_Clock, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 72, PointerCount: 0})
|
|
return AndroidGnss_Measurements_Clock(st), err
|
|
}
|
|
|
|
func NewRootAndroidGnss_Measurements_Clock(s *capnp.Segment) (AndroidGnss_Measurements_Clock, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 72, PointerCount: 0})
|
|
return AndroidGnss_Measurements_Clock(st), err
|
|
}
|
|
|
|
func ReadRootAndroidGnss_Measurements_Clock(msg *capnp.Message) (AndroidGnss_Measurements_Clock, error) {
|
|
root, err := msg.Root()
|
|
return AndroidGnss_Measurements_Clock(root.Struct()), err
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) String() string {
|
|
str, _ := text.Marshal(0xa0e27b453a38f450, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (AndroidGnss_Measurements_Clock) DecodeFromPtr(p capnp.Ptr) AndroidGnss_Measurements_Clock {
|
|
return AndroidGnss_Measurements_Clock(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s AndroidGnss_Measurements_Clock) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s AndroidGnss_Measurements_Clock) TimeNanos() int64 {
|
|
return int64(capnp.Struct(s).Uint64(0))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetTimeNanos(v int64) {
|
|
capnp.Struct(s).SetUint64(0, uint64(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) HardwareClockDiscontinuityCount() int32 {
|
|
return int32(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetHardwareClockDiscontinuityCount(v int32) {
|
|
capnp.Struct(s).SetUint32(8, uint32(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) HasTimeUncertaintyNanos() bool {
|
|
return capnp.Struct(s).Bit(96)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetHasTimeUncertaintyNanos(v bool) {
|
|
capnp.Struct(s).SetBit(96, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) TimeUncertaintyNanos() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(16))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetTimeUncertaintyNanos(v float64) {
|
|
capnp.Struct(s).SetUint64(16, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) HasLeapSecond() bool {
|
|
return capnp.Struct(s).Bit(97)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetHasLeapSecond(v bool) {
|
|
capnp.Struct(s).SetBit(97, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) LeapSecond() int32 {
|
|
return int32(capnp.Struct(s).Uint32(24))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetLeapSecond(v int32) {
|
|
capnp.Struct(s).SetUint32(24, uint32(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) HasFullBiasNanos() bool {
|
|
return capnp.Struct(s).Bit(98)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetHasFullBiasNanos(v bool) {
|
|
capnp.Struct(s).SetBit(98, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) FullBiasNanos() int64 {
|
|
return int64(capnp.Struct(s).Uint64(32))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetFullBiasNanos(v int64) {
|
|
capnp.Struct(s).SetUint64(32, uint64(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) HasBiasNanos() bool {
|
|
return capnp.Struct(s).Bit(99)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetHasBiasNanos(v bool) {
|
|
capnp.Struct(s).SetBit(99, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) BiasNanos() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(40))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetBiasNanos(v float64) {
|
|
capnp.Struct(s).SetUint64(40, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) HasBiasUncertaintyNanos() bool {
|
|
return capnp.Struct(s).Bit(100)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetHasBiasUncertaintyNanos(v bool) {
|
|
capnp.Struct(s).SetBit(100, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) BiasUncertaintyNanos() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(48))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetBiasUncertaintyNanos(v float64) {
|
|
capnp.Struct(s).SetUint64(48, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) HasDriftNanosPerSecond() bool {
|
|
return capnp.Struct(s).Bit(101)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetHasDriftNanosPerSecond(v bool) {
|
|
capnp.Struct(s).SetBit(101, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) DriftNanosPerSecond() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(56))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetDriftNanosPerSecond(v float64) {
|
|
capnp.Struct(s).SetUint64(56, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) HasDriftUncertaintyNanosPerSecond() bool {
|
|
return capnp.Struct(s).Bit(102)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetHasDriftUncertaintyNanosPerSecond(v bool) {
|
|
capnp.Struct(s).SetBit(102, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) DriftUncertaintyNanosPerSecond() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(64))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Clock) SetDriftUncertaintyNanosPerSecond(v float64) {
|
|
capnp.Struct(s).SetUint64(64, math.Float64bits(v))
|
|
}
|
|
|
|
// AndroidGnss_Measurements_Clock_List is a list of AndroidGnss_Measurements_Clock.
|
|
type AndroidGnss_Measurements_Clock_List = capnp.StructList[AndroidGnss_Measurements_Clock]
|
|
|
|
// NewAndroidGnss_Measurements_Clock creates a new list of AndroidGnss_Measurements_Clock.
|
|
func NewAndroidGnss_Measurements_Clock_List(s *capnp.Segment, sz int32) (AndroidGnss_Measurements_Clock_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 72, PointerCount: 0}, sz)
|
|
return capnp.StructList[AndroidGnss_Measurements_Clock](l), err
|
|
}
|
|
|
|
// AndroidGnss_Measurements_Clock_Future is a wrapper for a AndroidGnss_Measurements_Clock promised by a client call.
|
|
type AndroidGnss_Measurements_Clock_Future struct{ *capnp.Future }
|
|
|
|
func (f AndroidGnss_Measurements_Clock_Future) Struct() (AndroidGnss_Measurements_Clock, error) {
|
|
p, err := f.Future.Ptr()
|
|
return AndroidGnss_Measurements_Clock(p.Struct()), err
|
|
}
|
|
|
|
type AndroidGnss_Measurements_Measurement capnp.Struct
|
|
|
|
// AndroidGnss_Measurements_Measurement_TypeID is the unique identifier for the type AndroidGnss_Measurements_Measurement.
|
|
const AndroidGnss_Measurements_Measurement_TypeID = 0xd949bf717d77614d
|
|
|
|
func NewAndroidGnss_Measurements_Measurement(s *capnp.Segment) (AndroidGnss_Measurements_Measurement, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 120, PointerCount: 0})
|
|
return AndroidGnss_Measurements_Measurement(st), err
|
|
}
|
|
|
|
func NewRootAndroidGnss_Measurements_Measurement(s *capnp.Segment) (AndroidGnss_Measurements_Measurement, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 120, PointerCount: 0})
|
|
return AndroidGnss_Measurements_Measurement(st), err
|
|
}
|
|
|
|
func ReadRootAndroidGnss_Measurements_Measurement(msg *capnp.Message) (AndroidGnss_Measurements_Measurement, error) {
|
|
root, err := msg.Root()
|
|
return AndroidGnss_Measurements_Measurement(root.Struct()), err
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) String() string {
|
|
str, _ := text.Marshal(0xd949bf717d77614d, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (AndroidGnss_Measurements_Measurement) DecodeFromPtr(p capnp.Ptr) AndroidGnss_Measurements_Measurement {
|
|
return AndroidGnss_Measurements_Measurement(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s AndroidGnss_Measurements_Measurement) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s AndroidGnss_Measurements_Measurement) SvId() int32 {
|
|
return int32(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetSvId(v int32) {
|
|
capnp.Struct(s).SetUint32(0, uint32(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) Constellation() AndroidGnss_Measurements_Measurement_Constellation {
|
|
return AndroidGnss_Measurements_Measurement_Constellation(capnp.Struct(s).Uint16(4))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetConstellation(v AndroidGnss_Measurements_Measurement_Constellation) {
|
|
capnp.Struct(s).SetUint16(4, uint16(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) TimeOffsetNanos() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(8))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetTimeOffsetNanos(v float64) {
|
|
capnp.Struct(s).SetUint64(8, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) State() int32 {
|
|
return int32(capnp.Struct(s).Uint32(16))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetState(v int32) {
|
|
capnp.Struct(s).SetUint32(16, uint32(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) ReceivedSvTimeNanos() int64 {
|
|
return int64(capnp.Struct(s).Uint64(24))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetReceivedSvTimeNanos(v int64) {
|
|
capnp.Struct(s).SetUint64(24, uint64(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) ReceivedSvTimeUncertaintyNanos() int64 {
|
|
return int64(capnp.Struct(s).Uint64(32))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetReceivedSvTimeUncertaintyNanos(v int64) {
|
|
capnp.Struct(s).SetUint64(32, uint64(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) Cn0DbHz() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(40))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetCn0DbHz(v float64) {
|
|
capnp.Struct(s).SetUint64(40, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) PseudorangeRateMetersPerSecond() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(48))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetPseudorangeRateMetersPerSecond(v float64) {
|
|
capnp.Struct(s).SetUint64(48, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) PseudorangeRateUncertaintyMetersPerSecond() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(56))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetPseudorangeRateUncertaintyMetersPerSecond(v float64) {
|
|
capnp.Struct(s).SetUint64(56, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) AccumulatedDeltaRangeState() int32 {
|
|
return int32(capnp.Struct(s).Uint32(20))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetAccumulatedDeltaRangeState(v int32) {
|
|
capnp.Struct(s).SetUint32(20, uint32(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) AccumulatedDeltaRangeMeters() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(64))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetAccumulatedDeltaRangeMeters(v float64) {
|
|
capnp.Struct(s).SetUint64(64, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) AccumulatedDeltaRangeUncertaintyMeters() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(72))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetAccumulatedDeltaRangeUncertaintyMeters(v float64) {
|
|
capnp.Struct(s).SetUint64(72, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) HasCarrierFrequencyHz() bool {
|
|
return capnp.Struct(s).Bit(48)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetHasCarrierFrequencyHz(v bool) {
|
|
capnp.Struct(s).SetBit(48, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) CarrierFrequencyHz() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(80))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetCarrierFrequencyHz(v float32) {
|
|
capnp.Struct(s).SetUint32(80, math.Float32bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) HasCarrierCycles() bool {
|
|
return capnp.Struct(s).Bit(49)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetHasCarrierCycles(v bool) {
|
|
capnp.Struct(s).SetBit(49, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) CarrierCycles() int64 {
|
|
return int64(capnp.Struct(s).Uint64(88))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetCarrierCycles(v int64) {
|
|
capnp.Struct(s).SetUint64(88, uint64(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) HasCarrierPhase() bool {
|
|
return capnp.Struct(s).Bit(50)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetHasCarrierPhase(v bool) {
|
|
capnp.Struct(s).SetBit(50, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) CarrierPhase() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(96))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetCarrierPhase(v float64) {
|
|
capnp.Struct(s).SetUint64(96, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) HasCarrierPhaseUncertainty() bool {
|
|
return capnp.Struct(s).Bit(51)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetHasCarrierPhaseUncertainty(v bool) {
|
|
capnp.Struct(s).SetBit(51, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) CarrierPhaseUncertainty() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(104))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetCarrierPhaseUncertainty(v float64) {
|
|
capnp.Struct(s).SetUint64(104, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) HasSnrInDb() bool {
|
|
return capnp.Struct(s).Bit(52)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetHasSnrInDb(v bool) {
|
|
capnp.Struct(s).SetBit(52, v)
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SnrInDb() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(112))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetSnrInDb(v float64) {
|
|
capnp.Struct(s).SetUint64(112, math.Float64bits(v))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) MultipathIndicator() AndroidGnss_Measurements_Measurement_MultipathIndicator {
|
|
return AndroidGnss_Measurements_Measurement_MultipathIndicator(capnp.Struct(s).Uint16(84))
|
|
}
|
|
|
|
func (s AndroidGnss_Measurements_Measurement) SetMultipathIndicator(v AndroidGnss_Measurements_Measurement_MultipathIndicator) {
|
|
capnp.Struct(s).SetUint16(84, uint16(v))
|
|
}
|
|
|
|
// AndroidGnss_Measurements_Measurement_List is a list of AndroidGnss_Measurements_Measurement.
|
|
type AndroidGnss_Measurements_Measurement_List = capnp.StructList[AndroidGnss_Measurements_Measurement]
|
|
|
|
// NewAndroidGnss_Measurements_Measurement creates a new list of AndroidGnss_Measurements_Measurement.
|
|
func NewAndroidGnss_Measurements_Measurement_List(s *capnp.Segment, sz int32) (AndroidGnss_Measurements_Measurement_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 120, PointerCount: 0}, sz)
|
|
return capnp.StructList[AndroidGnss_Measurements_Measurement](l), err
|
|
}
|
|
|
|
// AndroidGnss_Measurements_Measurement_Future is a wrapper for a AndroidGnss_Measurements_Measurement promised by a client call.
|
|
type AndroidGnss_Measurements_Measurement_Future struct{ *capnp.Future }
|
|
|
|
func (f AndroidGnss_Measurements_Measurement_Future) Struct() (AndroidGnss_Measurements_Measurement, error) {
|
|
p, err := f.Future.Ptr()
|
|
return AndroidGnss_Measurements_Measurement(p.Struct()), err
|
|
}
|
|
|
|
type AndroidGnss_Measurements_Measurement_Constellation uint16
|
|
|
|
// AndroidGnss_Measurements_Measurement_Constellation_TypeID is the unique identifier for the type AndroidGnss_Measurements_Measurement_Constellation.
|
|
const AndroidGnss_Measurements_Measurement_Constellation_TypeID = 0x9ef1f3ff0deb5ffb
|
|
|
|
// Values of AndroidGnss_Measurements_Measurement_Constellation.
|
|
const (
|
|
AndroidGnss_Measurements_Measurement_Constellation_unknown AndroidGnss_Measurements_Measurement_Constellation = 0
|
|
AndroidGnss_Measurements_Measurement_Constellation_gps AndroidGnss_Measurements_Measurement_Constellation = 1
|
|
AndroidGnss_Measurements_Measurement_Constellation_sbas AndroidGnss_Measurements_Measurement_Constellation = 2
|
|
AndroidGnss_Measurements_Measurement_Constellation_glonass AndroidGnss_Measurements_Measurement_Constellation = 3
|
|
AndroidGnss_Measurements_Measurement_Constellation_qzss AndroidGnss_Measurements_Measurement_Constellation = 4
|
|
AndroidGnss_Measurements_Measurement_Constellation_beidou AndroidGnss_Measurements_Measurement_Constellation = 5
|
|
AndroidGnss_Measurements_Measurement_Constellation_galileo AndroidGnss_Measurements_Measurement_Constellation = 6
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c AndroidGnss_Measurements_Measurement_Constellation) String() string {
|
|
switch c {
|
|
case AndroidGnss_Measurements_Measurement_Constellation_unknown:
|
|
return "unknown"
|
|
case AndroidGnss_Measurements_Measurement_Constellation_gps:
|
|
return "gps"
|
|
case AndroidGnss_Measurements_Measurement_Constellation_sbas:
|
|
return "sbas"
|
|
case AndroidGnss_Measurements_Measurement_Constellation_glonass:
|
|
return "glonass"
|
|
case AndroidGnss_Measurements_Measurement_Constellation_qzss:
|
|
return "qzss"
|
|
case AndroidGnss_Measurements_Measurement_Constellation_beidou:
|
|
return "beidou"
|
|
case AndroidGnss_Measurements_Measurement_Constellation_galileo:
|
|
return "galileo"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// AndroidGnss_Measurements_Measurement_ConstellationFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func AndroidGnss_Measurements_Measurement_ConstellationFromString(c string) AndroidGnss_Measurements_Measurement_Constellation {
|
|
switch c {
|
|
case "unknown":
|
|
return AndroidGnss_Measurements_Measurement_Constellation_unknown
|
|
case "gps":
|
|
return AndroidGnss_Measurements_Measurement_Constellation_gps
|
|
case "sbas":
|
|
return AndroidGnss_Measurements_Measurement_Constellation_sbas
|
|
case "glonass":
|
|
return AndroidGnss_Measurements_Measurement_Constellation_glonass
|
|
case "qzss":
|
|
return AndroidGnss_Measurements_Measurement_Constellation_qzss
|
|
case "beidou":
|
|
return AndroidGnss_Measurements_Measurement_Constellation_beidou
|
|
case "galileo":
|
|
return AndroidGnss_Measurements_Measurement_Constellation_galileo
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type AndroidGnss_Measurements_Measurement_Constellation_List = capnp.EnumList[AndroidGnss_Measurements_Measurement_Constellation]
|
|
|
|
func NewAndroidGnss_Measurements_Measurement_Constellation_List(s *capnp.Segment, sz int32) (AndroidGnss_Measurements_Measurement_Constellation_List, error) {
|
|
return capnp.NewEnumList[AndroidGnss_Measurements_Measurement_Constellation](s, sz)
|
|
}
|
|
|
|
type AndroidGnss_Measurements_Measurement_State uint16
|
|
|
|
// AndroidGnss_Measurements_Measurement_State_TypeID is the unique identifier for the type AndroidGnss_Measurements_Measurement_State.
|
|
const AndroidGnss_Measurements_Measurement_State_TypeID = 0xcbb9490adce12d72
|
|
|
|
// Values of AndroidGnss_Measurements_Measurement_State.
|
|
const (
|
|
AndroidGnss_Measurements_Measurement_State_unknown AndroidGnss_Measurements_Measurement_State = 0
|
|
AndroidGnss_Measurements_Measurement_State_codeLock AndroidGnss_Measurements_Measurement_State = 1
|
|
AndroidGnss_Measurements_Measurement_State_bitSync AndroidGnss_Measurements_Measurement_State = 2
|
|
AndroidGnss_Measurements_Measurement_State_subframeSync AndroidGnss_Measurements_Measurement_State = 3
|
|
AndroidGnss_Measurements_Measurement_State_towDecoded AndroidGnss_Measurements_Measurement_State = 4
|
|
AndroidGnss_Measurements_Measurement_State_msecAmbiguous AndroidGnss_Measurements_Measurement_State = 5
|
|
AndroidGnss_Measurements_Measurement_State_symbolSync AndroidGnss_Measurements_Measurement_State = 6
|
|
AndroidGnss_Measurements_Measurement_State_gloStringSync AndroidGnss_Measurements_Measurement_State = 7
|
|
AndroidGnss_Measurements_Measurement_State_gloTodDecoded AndroidGnss_Measurements_Measurement_State = 8
|
|
AndroidGnss_Measurements_Measurement_State_bdsD2BitSync AndroidGnss_Measurements_Measurement_State = 9
|
|
AndroidGnss_Measurements_Measurement_State_bdsD2SubframeSync AndroidGnss_Measurements_Measurement_State = 10
|
|
AndroidGnss_Measurements_Measurement_State_galE1bcCodeLock AndroidGnss_Measurements_Measurement_State = 11
|
|
AndroidGnss_Measurements_Measurement_State_galE1c2ndCodeLock AndroidGnss_Measurements_Measurement_State = 12
|
|
AndroidGnss_Measurements_Measurement_State_galE1bPageSync AndroidGnss_Measurements_Measurement_State = 13
|
|
AndroidGnss_Measurements_Measurement_State_sbasSync AndroidGnss_Measurements_Measurement_State = 14
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c AndroidGnss_Measurements_Measurement_State) String() string {
|
|
switch c {
|
|
case AndroidGnss_Measurements_Measurement_State_unknown:
|
|
return "unknown"
|
|
case AndroidGnss_Measurements_Measurement_State_codeLock:
|
|
return "codeLock"
|
|
case AndroidGnss_Measurements_Measurement_State_bitSync:
|
|
return "bitSync"
|
|
case AndroidGnss_Measurements_Measurement_State_subframeSync:
|
|
return "subframeSync"
|
|
case AndroidGnss_Measurements_Measurement_State_towDecoded:
|
|
return "towDecoded"
|
|
case AndroidGnss_Measurements_Measurement_State_msecAmbiguous:
|
|
return "msecAmbiguous"
|
|
case AndroidGnss_Measurements_Measurement_State_symbolSync:
|
|
return "symbolSync"
|
|
case AndroidGnss_Measurements_Measurement_State_gloStringSync:
|
|
return "gloStringSync"
|
|
case AndroidGnss_Measurements_Measurement_State_gloTodDecoded:
|
|
return "gloTodDecoded"
|
|
case AndroidGnss_Measurements_Measurement_State_bdsD2BitSync:
|
|
return "bdsD2BitSync"
|
|
case AndroidGnss_Measurements_Measurement_State_bdsD2SubframeSync:
|
|
return "bdsD2SubframeSync"
|
|
case AndroidGnss_Measurements_Measurement_State_galE1bcCodeLock:
|
|
return "galE1bcCodeLock"
|
|
case AndroidGnss_Measurements_Measurement_State_galE1c2ndCodeLock:
|
|
return "galE1c2ndCodeLock"
|
|
case AndroidGnss_Measurements_Measurement_State_galE1bPageSync:
|
|
return "galE1bPageSync"
|
|
case AndroidGnss_Measurements_Measurement_State_sbasSync:
|
|
return "sbasSync"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// AndroidGnss_Measurements_Measurement_StateFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func AndroidGnss_Measurements_Measurement_StateFromString(c string) AndroidGnss_Measurements_Measurement_State {
|
|
switch c {
|
|
case "unknown":
|
|
return AndroidGnss_Measurements_Measurement_State_unknown
|
|
case "codeLock":
|
|
return AndroidGnss_Measurements_Measurement_State_codeLock
|
|
case "bitSync":
|
|
return AndroidGnss_Measurements_Measurement_State_bitSync
|
|
case "subframeSync":
|
|
return AndroidGnss_Measurements_Measurement_State_subframeSync
|
|
case "towDecoded":
|
|
return AndroidGnss_Measurements_Measurement_State_towDecoded
|
|
case "msecAmbiguous":
|
|
return AndroidGnss_Measurements_Measurement_State_msecAmbiguous
|
|
case "symbolSync":
|
|
return AndroidGnss_Measurements_Measurement_State_symbolSync
|
|
case "gloStringSync":
|
|
return AndroidGnss_Measurements_Measurement_State_gloStringSync
|
|
case "gloTodDecoded":
|
|
return AndroidGnss_Measurements_Measurement_State_gloTodDecoded
|
|
case "bdsD2BitSync":
|
|
return AndroidGnss_Measurements_Measurement_State_bdsD2BitSync
|
|
case "bdsD2SubframeSync":
|
|
return AndroidGnss_Measurements_Measurement_State_bdsD2SubframeSync
|
|
case "galE1bcCodeLock":
|
|
return AndroidGnss_Measurements_Measurement_State_galE1bcCodeLock
|
|
case "galE1c2ndCodeLock":
|
|
return AndroidGnss_Measurements_Measurement_State_galE1c2ndCodeLock
|
|
case "galE1bPageSync":
|
|
return AndroidGnss_Measurements_Measurement_State_galE1bPageSync
|
|
case "sbasSync":
|
|
return AndroidGnss_Measurements_Measurement_State_sbasSync
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type AndroidGnss_Measurements_Measurement_State_List = capnp.EnumList[AndroidGnss_Measurements_Measurement_State]
|
|
|
|
func NewAndroidGnss_Measurements_Measurement_State_List(s *capnp.Segment, sz int32) (AndroidGnss_Measurements_Measurement_State_List, error) {
|
|
return capnp.NewEnumList[AndroidGnss_Measurements_Measurement_State](s, sz)
|
|
}
|
|
|
|
type AndroidGnss_Measurements_Measurement_MultipathIndicator uint16
|
|
|
|
// AndroidGnss_Measurements_Measurement_MultipathIndicator_TypeID is the unique identifier for the type AndroidGnss_Measurements_Measurement_MultipathIndicator.
|
|
const AndroidGnss_Measurements_Measurement_MultipathIndicator_TypeID = 0xc04e7b6231d4caa8
|
|
|
|
// Values of AndroidGnss_Measurements_Measurement_MultipathIndicator.
|
|
const (
|
|
AndroidGnss_Measurements_Measurement_MultipathIndicator_unknown AndroidGnss_Measurements_Measurement_MultipathIndicator = 0
|
|
AndroidGnss_Measurements_Measurement_MultipathIndicator_detected AndroidGnss_Measurements_Measurement_MultipathIndicator = 1
|
|
AndroidGnss_Measurements_Measurement_MultipathIndicator_notDetected AndroidGnss_Measurements_Measurement_MultipathIndicator = 2
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c AndroidGnss_Measurements_Measurement_MultipathIndicator) String() string {
|
|
switch c {
|
|
case AndroidGnss_Measurements_Measurement_MultipathIndicator_unknown:
|
|
return "unknown"
|
|
case AndroidGnss_Measurements_Measurement_MultipathIndicator_detected:
|
|
return "detected"
|
|
case AndroidGnss_Measurements_Measurement_MultipathIndicator_notDetected:
|
|
return "notDetected"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// AndroidGnss_Measurements_Measurement_MultipathIndicatorFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func AndroidGnss_Measurements_Measurement_MultipathIndicatorFromString(c string) AndroidGnss_Measurements_Measurement_MultipathIndicator {
|
|
switch c {
|
|
case "unknown":
|
|
return AndroidGnss_Measurements_Measurement_MultipathIndicator_unknown
|
|
case "detected":
|
|
return AndroidGnss_Measurements_Measurement_MultipathIndicator_detected
|
|
case "notDetected":
|
|
return AndroidGnss_Measurements_Measurement_MultipathIndicator_notDetected
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type AndroidGnss_Measurements_Measurement_MultipathIndicator_List = capnp.EnumList[AndroidGnss_Measurements_Measurement_MultipathIndicator]
|
|
|
|
func NewAndroidGnss_Measurements_Measurement_MultipathIndicator_List(s *capnp.Segment, sz int32) (AndroidGnss_Measurements_Measurement_MultipathIndicator_List, error) {
|
|
return capnp.NewEnumList[AndroidGnss_Measurements_Measurement_MultipathIndicator](s, sz)
|
|
}
|
|
|
|
type AndroidGnss_NavigationMessage capnp.Struct
|
|
|
|
// AndroidGnss_NavigationMessage_TypeID is the unique identifier for the type AndroidGnss_NavigationMessage.
|
|
const AndroidGnss_NavigationMessage_TypeID = 0xe2517b083095fd4e
|
|
|
|
func NewAndroidGnss_NavigationMessage(s *capnp.Segment) (AndroidGnss_NavigationMessage, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 1})
|
|
return AndroidGnss_NavigationMessage(st), err
|
|
}
|
|
|
|
func NewRootAndroidGnss_NavigationMessage(s *capnp.Segment) (AndroidGnss_NavigationMessage, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 1})
|
|
return AndroidGnss_NavigationMessage(st), err
|
|
}
|
|
|
|
func ReadRootAndroidGnss_NavigationMessage(msg *capnp.Message) (AndroidGnss_NavigationMessage, error) {
|
|
root, err := msg.Root()
|
|
return AndroidGnss_NavigationMessage(root.Struct()), err
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) String() string {
|
|
str, _ := text.Marshal(0xe2517b083095fd4e, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (AndroidGnss_NavigationMessage) DecodeFromPtr(p capnp.Ptr) AndroidGnss_NavigationMessage {
|
|
return AndroidGnss_NavigationMessage(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s AndroidGnss_NavigationMessage) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s AndroidGnss_NavigationMessage) Type() int32 {
|
|
return int32(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) SetType(v int32) {
|
|
capnp.Struct(s).SetUint32(0, uint32(v))
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) SvId() int32 {
|
|
return int32(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) SetSvId(v int32) {
|
|
capnp.Struct(s).SetUint32(4, uint32(v))
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) MessageId() int32 {
|
|
return int32(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) SetMessageId(v int32) {
|
|
capnp.Struct(s).SetUint32(8, uint32(v))
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) SubmessageId() int32 {
|
|
return int32(capnp.Struct(s).Uint32(12))
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) SetSubmessageId(v int32) {
|
|
capnp.Struct(s).SetUint32(12, uint32(v))
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) Data() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return []byte(p.Data()), err
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) HasData() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) SetData(v []byte) error {
|
|
return capnp.Struct(s).SetData(0, v)
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) Status() AndroidGnss_NavigationMessage_Status {
|
|
return AndroidGnss_NavigationMessage_Status(capnp.Struct(s).Uint16(16))
|
|
}
|
|
|
|
func (s AndroidGnss_NavigationMessage) SetStatus(v AndroidGnss_NavigationMessage_Status) {
|
|
capnp.Struct(s).SetUint16(16, uint16(v))
|
|
}
|
|
|
|
// AndroidGnss_NavigationMessage_List is a list of AndroidGnss_NavigationMessage.
|
|
type AndroidGnss_NavigationMessage_List = capnp.StructList[AndroidGnss_NavigationMessage]
|
|
|
|
// NewAndroidGnss_NavigationMessage creates a new list of AndroidGnss_NavigationMessage.
|
|
func NewAndroidGnss_NavigationMessage_List(s *capnp.Segment, sz int32) (AndroidGnss_NavigationMessage_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 24, PointerCount: 1}, sz)
|
|
return capnp.StructList[AndroidGnss_NavigationMessage](l), err
|
|
}
|
|
|
|
// AndroidGnss_NavigationMessage_Future is a wrapper for a AndroidGnss_NavigationMessage promised by a client call.
|
|
type AndroidGnss_NavigationMessage_Future struct{ *capnp.Future }
|
|
|
|
func (f AndroidGnss_NavigationMessage_Future) Struct() (AndroidGnss_NavigationMessage, error) {
|
|
p, err := f.Future.Ptr()
|
|
return AndroidGnss_NavigationMessage(p.Struct()), err
|
|
}
|
|
|
|
type AndroidGnss_NavigationMessage_Status uint16
|
|
|
|
// AndroidGnss_NavigationMessage_Status_TypeID is the unique identifier for the type AndroidGnss_NavigationMessage_Status.
|
|
const AndroidGnss_NavigationMessage_Status_TypeID = 0xec1ff7996b35366f
|
|
|
|
// Values of AndroidGnss_NavigationMessage_Status.
|
|
const (
|
|
AndroidGnss_NavigationMessage_Status_unknown AndroidGnss_NavigationMessage_Status = 0
|
|
AndroidGnss_NavigationMessage_Status_parityPassed AndroidGnss_NavigationMessage_Status = 1
|
|
AndroidGnss_NavigationMessage_Status_parityRebuilt AndroidGnss_NavigationMessage_Status = 2
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c AndroidGnss_NavigationMessage_Status) String() string {
|
|
switch c {
|
|
case AndroidGnss_NavigationMessage_Status_unknown:
|
|
return "unknown"
|
|
case AndroidGnss_NavigationMessage_Status_parityPassed:
|
|
return "parityPassed"
|
|
case AndroidGnss_NavigationMessage_Status_parityRebuilt:
|
|
return "parityRebuilt"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// AndroidGnss_NavigationMessage_StatusFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func AndroidGnss_NavigationMessage_StatusFromString(c string) AndroidGnss_NavigationMessage_Status {
|
|
switch c {
|
|
case "unknown":
|
|
return AndroidGnss_NavigationMessage_Status_unknown
|
|
case "parityPassed":
|
|
return AndroidGnss_NavigationMessage_Status_parityPassed
|
|
case "parityRebuilt":
|
|
return AndroidGnss_NavigationMessage_Status_parityRebuilt
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type AndroidGnss_NavigationMessage_Status_List = capnp.EnumList[AndroidGnss_NavigationMessage_Status]
|
|
|
|
func NewAndroidGnss_NavigationMessage_Status_List(s *capnp.Segment, sz int32) (AndroidGnss_NavigationMessage_Status_List, error) {
|
|
return capnp.NewEnumList[AndroidGnss_NavigationMessage_Status](s, sz)
|
|
}
|
|
|
|
type LidarPts capnp.Struct
|
|
|
|
// LidarPts_TypeID is the unique identifier for the type LidarPts.
|
|
const LidarPts_TypeID = 0xe3d6685d4e9d8f7a
|
|
|
|
func NewLidarPts(s *capnp.Segment) (LidarPts, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 4})
|
|
return LidarPts(st), err
|
|
}
|
|
|
|
func NewRootLidarPts(s *capnp.Segment) (LidarPts, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 4})
|
|
return LidarPts(st), err
|
|
}
|
|
|
|
func ReadRootLidarPts(msg *capnp.Message) (LidarPts, error) {
|
|
root, err := msg.Root()
|
|
return LidarPts(root.Struct()), err
|
|
}
|
|
|
|
func (s LidarPts) String() string {
|
|
str, _ := text.Marshal(0xe3d6685d4e9d8f7a, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LidarPts) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LidarPts) DecodeFromPtr(p capnp.Ptr) LidarPts {
|
|
return LidarPts(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LidarPts) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LidarPts) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LidarPts) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LidarPts) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LidarPts) R() (capnp.UInt16List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.UInt16List(p.List()), err
|
|
}
|
|
|
|
func (s LidarPts) HasR() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s LidarPts) SetR(v capnp.UInt16List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewR sets the r field to a newly
|
|
// allocated capnp.UInt16List, preferring placement in s's segment.
|
|
func (s LidarPts) NewR(n int32) (capnp.UInt16List, error) {
|
|
l, err := capnp.NewUInt16List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.UInt16List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LidarPts) Theta() (capnp.UInt16List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.UInt16List(p.List()), err
|
|
}
|
|
|
|
func (s LidarPts) HasTheta() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s LidarPts) SetTheta(v capnp.UInt16List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewTheta sets the theta field to a newly
|
|
// allocated capnp.UInt16List, preferring placement in s's segment.
|
|
func (s LidarPts) NewTheta(n int32) (capnp.UInt16List, error) {
|
|
l, err := capnp.NewUInt16List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.UInt16List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LidarPts) Reflect() (capnp.UInt8List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.UInt8List(p.List()), err
|
|
}
|
|
|
|
func (s LidarPts) HasReflect() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s LidarPts) SetReflect(v capnp.UInt8List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewReflect sets the reflect field to a newly
|
|
// allocated capnp.UInt8List, preferring placement in s's segment.
|
|
func (s LidarPts) NewReflect(n int32) (capnp.UInt8List, error) {
|
|
l, err := capnp.NewUInt8List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.UInt8List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LidarPts) Idx() uint64 {
|
|
return capnp.Struct(s).Uint64(0)
|
|
}
|
|
|
|
func (s LidarPts) SetIdx(v uint64) {
|
|
capnp.Struct(s).SetUint64(0, v)
|
|
}
|
|
|
|
func (s LidarPts) Pkt() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return []byte(p.Data()), err
|
|
}
|
|
|
|
func (s LidarPts) HasPkt() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s LidarPts) SetPkt(v []byte) error {
|
|
return capnp.Struct(s).SetData(3, v)
|
|
}
|
|
|
|
// LidarPts_List is a list of LidarPts.
|
|
type LidarPts_List = capnp.StructList[LidarPts]
|
|
|
|
// NewLidarPts creates a new list of LidarPts.
|
|
func NewLidarPts_List(s *capnp.Segment, sz int32) (LidarPts_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 4}, sz)
|
|
return capnp.StructList[LidarPts](l), err
|
|
}
|
|
|
|
// LidarPts_Future is a wrapper for a LidarPts promised by a client call.
|
|
type LidarPts_Future struct{ *capnp.Future }
|
|
|
|
func (f LidarPts_Future) Struct() (LidarPts, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LidarPts(p.Struct()), err
|
|
}
|
|
|
|
type LiveTracksDEPRECATED capnp.Struct
|
|
|
|
// LiveTracksDEPRECATED_TypeID is the unique identifier for the type LiveTracksDEPRECATED.
|
|
const LiveTracksDEPRECATED_TypeID = 0xb16f60103159415a
|
|
|
|
func NewLiveTracksDEPRECATED(s *capnp.Segment) (LiveTracksDEPRECATED, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 40, PointerCount: 0})
|
|
return LiveTracksDEPRECATED(st), err
|
|
}
|
|
|
|
func NewRootLiveTracksDEPRECATED(s *capnp.Segment) (LiveTracksDEPRECATED, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 40, PointerCount: 0})
|
|
return LiveTracksDEPRECATED(st), err
|
|
}
|
|
|
|
func ReadRootLiveTracksDEPRECATED(msg *capnp.Message) (LiveTracksDEPRECATED, error) {
|
|
root, err := msg.Root()
|
|
return LiveTracksDEPRECATED(root.Struct()), err
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) String() string {
|
|
str, _ := text.Marshal(0xb16f60103159415a, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LiveTracksDEPRECATED) DecodeFromPtr(p capnp.Ptr) LiveTracksDEPRECATED {
|
|
return LiveTracksDEPRECATED(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LiveTracksDEPRECATED) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LiveTracksDEPRECATED) TrackId() int32 {
|
|
return int32(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) SetTrackId(v int32) {
|
|
capnp.Struct(s).SetUint32(0, uint32(v))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) DRel() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) SetDRel(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) YRel() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) SetYRel(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) VRel() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(12))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) SetVRel(v float32) {
|
|
capnp.Struct(s).SetUint32(12, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) ARel() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(16))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) SetARel(v float32) {
|
|
capnp.Struct(s).SetUint32(16, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) TimeStamp() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(20))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) SetTimeStamp(v float32) {
|
|
capnp.Struct(s).SetUint32(20, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) Status() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(24))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) SetStatus(v float32) {
|
|
capnp.Struct(s).SetUint32(24, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) CurrentTime() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(28))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) SetCurrentTime(v float32) {
|
|
capnp.Struct(s).SetUint32(28, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) Stationary() bool {
|
|
return capnp.Struct(s).Bit(256)
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) SetStationary(v bool) {
|
|
capnp.Struct(s).SetBit(256, v)
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) Oncoming() bool {
|
|
return capnp.Struct(s).Bit(257)
|
|
}
|
|
|
|
func (s LiveTracksDEPRECATED) SetOncoming(v bool) {
|
|
capnp.Struct(s).SetBit(257, v)
|
|
}
|
|
|
|
// LiveTracksDEPRECATED_List is a list of LiveTracksDEPRECATED.
|
|
type LiveTracksDEPRECATED_List = capnp.StructList[LiveTracksDEPRECATED]
|
|
|
|
// NewLiveTracksDEPRECATED creates a new list of LiveTracksDEPRECATED.
|
|
func NewLiveTracksDEPRECATED_List(s *capnp.Segment, sz int32) (LiveTracksDEPRECATED_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 40, PointerCount: 0}, sz)
|
|
return capnp.StructList[LiveTracksDEPRECATED](l), err
|
|
}
|
|
|
|
// LiveTracksDEPRECATED_Future is a wrapper for a LiveTracksDEPRECATED promised by a client call.
|
|
type LiveTracksDEPRECATED_Future struct{ *capnp.Future }
|
|
|
|
func (f LiveTracksDEPRECATED_Future) Struct() (LiveTracksDEPRECATED, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LiveTracksDEPRECATED(p.Struct()), err
|
|
}
|
|
|
|
type LiveMpcData capnp.Struct
|
|
|
|
// LiveMpcData_TypeID is the unique identifier for the type LiveMpcData.
|
|
const LiveMpcData_TypeID = 0x92a5e332a85f32a0
|
|
|
|
func NewLiveMpcData(s *capnp.Segment) (LiveMpcData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 4})
|
|
return LiveMpcData(st), err
|
|
}
|
|
|
|
func NewRootLiveMpcData(s *capnp.Segment) (LiveMpcData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 4})
|
|
return LiveMpcData(st), err
|
|
}
|
|
|
|
func ReadRootLiveMpcData(msg *capnp.Message) (LiveMpcData, error) {
|
|
root, err := msg.Root()
|
|
return LiveMpcData(root.Struct()), err
|
|
}
|
|
|
|
func (s LiveMpcData) String() string {
|
|
str, _ := text.Marshal(0x92a5e332a85f32a0, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LiveMpcData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LiveMpcData) DecodeFromPtr(p capnp.Ptr) LiveMpcData {
|
|
return LiveMpcData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LiveMpcData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LiveMpcData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LiveMpcData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LiveMpcData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LiveMpcData) X() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveMpcData) HasX() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s LiveMpcData) SetX(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewX sets the x field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveMpcData) NewX(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveMpcData) Y() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveMpcData) HasY() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s LiveMpcData) SetY(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewY sets the y field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveMpcData) NewY(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveMpcData) Psi() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveMpcData) HasPsi() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s LiveMpcData) SetPsi(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewPsi sets the psi field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveMpcData) NewPsi(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveMpcData) Curvature() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveMpcData) HasCurvature() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s LiveMpcData) SetCurvature(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(3, v.ToPtr())
|
|
}
|
|
|
|
// NewCurvature sets the curvature field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveMpcData) NewCurvature(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveMpcData) QpIterations() uint32 {
|
|
return capnp.Struct(s).Uint32(0)
|
|
}
|
|
|
|
func (s LiveMpcData) SetQpIterations(v uint32) {
|
|
capnp.Struct(s).SetUint32(0, v)
|
|
}
|
|
|
|
func (s LiveMpcData) CalculationTime() uint64 {
|
|
return capnp.Struct(s).Uint64(8)
|
|
}
|
|
|
|
func (s LiveMpcData) SetCalculationTime(v uint64) {
|
|
capnp.Struct(s).SetUint64(8, v)
|
|
}
|
|
|
|
func (s LiveMpcData) Cost() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(16))
|
|
}
|
|
|
|
func (s LiveMpcData) SetCost(v float64) {
|
|
capnp.Struct(s).SetUint64(16, math.Float64bits(v))
|
|
}
|
|
|
|
// LiveMpcData_List is a list of LiveMpcData.
|
|
type LiveMpcData_List = capnp.StructList[LiveMpcData]
|
|
|
|
// NewLiveMpcData creates a new list of LiveMpcData.
|
|
func NewLiveMpcData_List(s *capnp.Segment, sz int32) (LiveMpcData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 24, PointerCount: 4}, sz)
|
|
return capnp.StructList[LiveMpcData](l), err
|
|
}
|
|
|
|
// LiveMpcData_Future is a wrapper for a LiveMpcData promised by a client call.
|
|
type LiveMpcData_Future struct{ *capnp.Future }
|
|
|
|
func (f LiveMpcData_Future) Struct() (LiveMpcData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LiveMpcData(p.Struct()), err
|
|
}
|
|
|
|
type LiveLongitudinalMpcData capnp.Struct
|
|
|
|
// LiveLongitudinalMpcData_TypeID is the unique identifier for the type LiveLongitudinalMpcData.
|
|
const LiveLongitudinalMpcData_TypeID = 0xe7e17c434f865ae2
|
|
|
|
func NewLiveLongitudinalMpcData(s *capnp.Segment) (LiveLongitudinalMpcData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 32, PointerCount: 6})
|
|
return LiveLongitudinalMpcData(st), err
|
|
}
|
|
|
|
func NewRootLiveLongitudinalMpcData(s *capnp.Segment) (LiveLongitudinalMpcData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 32, PointerCount: 6})
|
|
return LiveLongitudinalMpcData(st), err
|
|
}
|
|
|
|
func ReadRootLiveLongitudinalMpcData(msg *capnp.Message) (LiveLongitudinalMpcData, error) {
|
|
root, err := msg.Root()
|
|
return LiveLongitudinalMpcData(root.Struct()), err
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) String() string {
|
|
str, _ := text.Marshal(0xe7e17c434f865ae2, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LiveLongitudinalMpcData) DecodeFromPtr(p capnp.Ptr) LiveLongitudinalMpcData {
|
|
return LiveLongitudinalMpcData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LiveLongitudinalMpcData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LiveLongitudinalMpcData) XEgo() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) HasXEgo() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) SetXEgo(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewXEgo sets the xEgo field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLongitudinalMpcData) NewXEgo(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLongitudinalMpcData) VEgo() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) HasVEgo() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) SetVEgo(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewVEgo sets the vEgo field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLongitudinalMpcData) NewVEgo(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLongitudinalMpcData) AEgo() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) HasAEgo() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) SetAEgo(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewAEgo sets the aEgo field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLongitudinalMpcData) NewAEgo(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLongitudinalMpcData) XLead() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) HasXLead() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) SetXLead(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(3, v.ToPtr())
|
|
}
|
|
|
|
// NewXLead sets the xLead field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLongitudinalMpcData) NewXLead(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLongitudinalMpcData) VLead() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) HasVLead() bool {
|
|
return capnp.Struct(s).HasPtr(4)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) SetVLead(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(4, v.ToPtr())
|
|
}
|
|
|
|
// NewVLead sets the vLead field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLongitudinalMpcData) NewVLead(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(4, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLongitudinalMpcData) ALead() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(5)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) HasALead() bool {
|
|
return capnp.Struct(s).HasPtr(5)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) SetALead(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(5, v.ToPtr())
|
|
}
|
|
|
|
// NewALead sets the aLead field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LiveLongitudinalMpcData) NewALead(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(5, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LiveLongitudinalMpcData) ALeadTau() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) SetALeadTau(v float32) {
|
|
capnp.Struct(s).SetUint32(0, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) QpIterations() uint32 {
|
|
return capnp.Struct(s).Uint32(4)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) SetQpIterations(v uint32) {
|
|
capnp.Struct(s).SetUint32(4, v)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) MpcId() uint32 {
|
|
return capnp.Struct(s).Uint32(8)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) SetMpcId(v uint32) {
|
|
capnp.Struct(s).SetUint32(8, v)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) CalculationTime() uint64 {
|
|
return capnp.Struct(s).Uint64(16)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) SetCalculationTime(v uint64) {
|
|
capnp.Struct(s).SetUint64(16, v)
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) Cost() float64 {
|
|
return math.Float64frombits(capnp.Struct(s).Uint64(24))
|
|
}
|
|
|
|
func (s LiveLongitudinalMpcData) SetCost(v float64) {
|
|
capnp.Struct(s).SetUint64(24, math.Float64bits(v))
|
|
}
|
|
|
|
// LiveLongitudinalMpcData_List is a list of LiveLongitudinalMpcData.
|
|
type LiveLongitudinalMpcData_List = capnp.StructList[LiveLongitudinalMpcData]
|
|
|
|
// NewLiveLongitudinalMpcData creates a new list of LiveLongitudinalMpcData.
|
|
func NewLiveLongitudinalMpcData_List(s *capnp.Segment, sz int32) (LiveLongitudinalMpcData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 32, PointerCount: 6}, sz)
|
|
return capnp.StructList[LiveLongitudinalMpcData](l), err
|
|
}
|
|
|
|
// LiveLongitudinalMpcData_Future is a wrapper for a LiveLongitudinalMpcData promised by a client call.
|
|
type LiveLongitudinalMpcData_Future struct{ *capnp.Future }
|
|
|
|
func (f LiveLongitudinalMpcData_Future) Struct() (LiveLongitudinalMpcData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LiveLongitudinalMpcData(p.Struct()), err
|
|
}
|
|
|
|
type DriverStateDEPRECATED capnp.Struct
|
|
|
|
// DriverStateDEPRECATED_TypeID is the unique identifier for the type DriverStateDEPRECATED.
|
|
const DriverStateDEPRECATED_TypeID = 0xb83c6cc593ed0a00
|
|
|
|
func NewDriverStateDEPRECATED(s *capnp.Segment) (DriverStateDEPRECATED, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 72, PointerCount: 8})
|
|
return DriverStateDEPRECATED(st), err
|
|
}
|
|
|
|
func NewRootDriverStateDEPRECATED(s *capnp.Segment) (DriverStateDEPRECATED, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 72, PointerCount: 8})
|
|
return DriverStateDEPRECATED(st), err
|
|
}
|
|
|
|
func ReadRootDriverStateDEPRECATED(msg *capnp.Message) (DriverStateDEPRECATED, error) {
|
|
root, err := msg.Root()
|
|
return DriverStateDEPRECATED(root.Struct()), err
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) String() string {
|
|
str, _ := text.Marshal(0xb83c6cc593ed0a00, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (DriverStateDEPRECATED) DecodeFromPtr(p capnp.Ptr) DriverStateDEPRECATED {
|
|
return DriverStateDEPRECATED(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s DriverStateDEPRECATED) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s DriverStateDEPRECATED) FrameId() uint32 {
|
|
return capnp.Struct(s).Uint32(0)
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetFrameId(v uint32) {
|
|
capnp.Struct(s).SetUint32(0, v)
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) ModelExecutionTime() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(36))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetModelExecutionTime(v float32) {
|
|
capnp.Struct(s).SetUint32(36, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) DspExecutionTime() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(40))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetDspExecutionTime(v float32) {
|
|
capnp.Struct(s).SetUint32(40, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) RawPredictions() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(5)
|
|
return []byte(p.Data()), err
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) HasRawPredictions() bool {
|
|
return capnp.Struct(s).HasPtr(5)
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetRawPredictions(v []byte) error {
|
|
return capnp.Struct(s).SetData(5, v)
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) FaceOrientation() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) HasFaceOrientation() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetFaceOrientation(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewFaceOrientation sets the faceOrientation field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s DriverStateDEPRECATED) NewFaceOrientation(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s DriverStateDEPRECATED) FacePosition() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) HasFacePosition() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetFacePosition(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewFacePosition sets the facePosition field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s DriverStateDEPRECATED) NewFacePosition(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s DriverStateDEPRECATED) FaceProb() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetFaceProb(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) LeftEyeProb() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(12))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetLeftEyeProb(v float32) {
|
|
capnp.Struct(s).SetUint32(12, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) RightEyeProb() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(16))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetRightEyeProb(v float32) {
|
|
capnp.Struct(s).SetUint32(16, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) LeftBlinkProb() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(20))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetLeftBlinkProb(v float32) {
|
|
capnp.Struct(s).SetUint32(20, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) RightBlinkProb() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(24))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetRightBlinkProb(v float32) {
|
|
capnp.Struct(s).SetUint32(24, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) FaceOrientationStd() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) HasFaceOrientationStd() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetFaceOrientationStd(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(3, v.ToPtr())
|
|
}
|
|
|
|
// NewFaceOrientationStd sets the faceOrientationStd field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s DriverStateDEPRECATED) NewFaceOrientationStd(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s DriverStateDEPRECATED) FacePositionStd() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) HasFacePositionStd() bool {
|
|
return capnp.Struct(s).HasPtr(4)
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetFacePositionStd(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(4, v.ToPtr())
|
|
}
|
|
|
|
// NewFacePositionStd sets the facePositionStd field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s DriverStateDEPRECATED) NewFacePositionStd(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(4, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s DriverStateDEPRECATED) SunglassesProb() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(32))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetSunglassesProb(v float32) {
|
|
capnp.Struct(s).SetUint32(32, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) PoorVision() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(44))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetPoorVision(v float32) {
|
|
capnp.Struct(s).SetUint32(44, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) PartialFace() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(48))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetPartialFace(v float32) {
|
|
capnp.Struct(s).SetUint32(48, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) DistractedPose() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(52))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetDistractedPose(v float32) {
|
|
capnp.Struct(s).SetUint32(52, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) DistractedEyes() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(56))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetDistractedEyes(v float32) {
|
|
capnp.Struct(s).SetUint32(56, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) EyesOnRoad() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(60))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetEyesOnRoad(v float32) {
|
|
capnp.Struct(s).SetUint32(60, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) PhoneUse() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(64))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetPhoneUse(v float32) {
|
|
capnp.Struct(s).SetUint32(64, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) OccludedProb() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(68))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetOccludedProb(v float32) {
|
|
capnp.Struct(s).SetUint32(68, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) ReadyProb() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(6)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) HasReadyProb() bool {
|
|
return capnp.Struct(s).HasPtr(6)
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetReadyProb(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(6, v.ToPtr())
|
|
}
|
|
|
|
// NewReadyProb sets the readyProb field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s DriverStateDEPRECATED) NewReadyProb(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(6, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s DriverStateDEPRECATED) NotReadyProb() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(7)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) HasNotReadyProb() bool {
|
|
return capnp.Struct(s).HasPtr(7)
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetNotReadyProb(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(7, v.ToPtr())
|
|
}
|
|
|
|
// NewNotReadyProb sets the notReadyProb field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s DriverStateDEPRECATED) NewNotReadyProb(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(7, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s DriverStateDEPRECATED) IrPwrDEPRECATED() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(28))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetIrPwrDEPRECATED(v float32) {
|
|
capnp.Struct(s).SetUint32(28, math.Float32bits(v))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) DescriptorDEPRECATED() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) HasDescriptorDEPRECATED() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetDescriptorDEPRECATED(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewDescriptorDEPRECATED sets the descriptorDEPRECATED field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s DriverStateDEPRECATED) NewDescriptorDEPRECATED(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s DriverStateDEPRECATED) StdDEPRECATED() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s DriverStateDEPRECATED) SetStdDEPRECATED(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
// DriverStateDEPRECATED_List is a list of DriverStateDEPRECATED.
|
|
type DriverStateDEPRECATED_List = capnp.StructList[DriverStateDEPRECATED]
|
|
|
|
// NewDriverStateDEPRECATED creates a new list of DriverStateDEPRECATED.
|
|
func NewDriverStateDEPRECATED_List(s *capnp.Segment, sz int32) (DriverStateDEPRECATED_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 72, PointerCount: 8}, sz)
|
|
return capnp.StructList[DriverStateDEPRECATED](l), err
|
|
}
|
|
|
|
// DriverStateDEPRECATED_Future is a wrapper for a DriverStateDEPRECATED promised by a client call.
|
|
type DriverStateDEPRECATED_Future struct{ *capnp.Future }
|
|
|
|
func (f DriverStateDEPRECATED_Future) Struct() (DriverStateDEPRECATED, error) {
|
|
p, err := f.Future.Ptr()
|
|
return DriverStateDEPRECATED(p.Struct()), err
|
|
}
|
|
|
|
type NavModelData capnp.Struct
|
|
|
|
// NavModelData_TypeID is the unique identifier for the type NavModelData.
|
|
const NavModelData_TypeID = 0xac3de5c437be057a
|
|
|
|
func NewNavModelData(s *capnp.Segment) (NavModelData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 3})
|
|
return NavModelData(st), err
|
|
}
|
|
|
|
func NewRootNavModelData(s *capnp.Segment) (NavModelData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 3})
|
|
return NavModelData(st), err
|
|
}
|
|
|
|
func ReadRootNavModelData(msg *capnp.Message) (NavModelData, error) {
|
|
root, err := msg.Root()
|
|
return NavModelData(root.Struct()), err
|
|
}
|
|
|
|
func (s NavModelData) String() string {
|
|
str, _ := text.Marshal(0xac3de5c437be057a, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s NavModelData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (NavModelData) DecodeFromPtr(p capnp.Ptr) NavModelData {
|
|
return NavModelData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s NavModelData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s NavModelData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s NavModelData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s NavModelData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s NavModelData) FrameId() uint32 {
|
|
return capnp.Struct(s).Uint32(0)
|
|
}
|
|
|
|
func (s NavModelData) SetFrameId(v uint32) {
|
|
capnp.Struct(s).SetUint32(0, v)
|
|
}
|
|
|
|
func (s NavModelData) LocationMonoTime() uint64 {
|
|
return capnp.Struct(s).Uint64(16)
|
|
}
|
|
|
|
func (s NavModelData) SetLocationMonoTime(v uint64) {
|
|
capnp.Struct(s).SetUint64(16, v)
|
|
}
|
|
|
|
func (s NavModelData) ModelExecutionTime() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s NavModelData) SetModelExecutionTime(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s NavModelData) DspExecutionTime() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s NavModelData) SetDspExecutionTime(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
func (s NavModelData) Features() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s NavModelData) HasFeatures() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s NavModelData) SetFeatures(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewFeatures sets the features field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s NavModelData) NewFeatures(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s NavModelData) Position() (NavModelData_XYData, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return NavModelData_XYData(p.Struct()), err
|
|
}
|
|
|
|
func (s NavModelData) HasPosition() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s NavModelData) SetPosition(v NavModelData_XYData) error {
|
|
return capnp.Struct(s).SetPtr(1, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewPosition sets the position field to a newly
|
|
// allocated NavModelData_XYData struct, preferring placement in s's segment.
|
|
func (s NavModelData) NewPosition() (NavModelData_XYData, error) {
|
|
ss, err := NewNavModelData_XYData(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return NavModelData_XYData{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s NavModelData) DesirePrediction() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s NavModelData) HasDesirePrediction() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s NavModelData) SetDesirePrediction(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewDesirePrediction sets the desirePrediction field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s NavModelData) NewDesirePrediction(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// NavModelData_List is a list of NavModelData.
|
|
type NavModelData_List = capnp.StructList[NavModelData]
|
|
|
|
// NewNavModelData creates a new list of NavModelData.
|
|
func NewNavModelData_List(s *capnp.Segment, sz int32) (NavModelData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 24, PointerCount: 3}, sz)
|
|
return capnp.StructList[NavModelData](l), err
|
|
}
|
|
|
|
// NavModelData_Future is a wrapper for a NavModelData promised by a client call.
|
|
type NavModelData_Future struct{ *capnp.Future }
|
|
|
|
func (f NavModelData_Future) Struct() (NavModelData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return NavModelData(p.Struct()), err
|
|
}
|
|
func (p NavModelData_Future) Position() NavModelData_XYData_Future {
|
|
return NavModelData_XYData_Future{Future: p.Future.Field(1, nil)}
|
|
}
|
|
|
|
type NavModelData_XYData capnp.Struct
|
|
|
|
// NavModelData_XYData_TypeID is the unique identifier for the type NavModelData_XYData.
|
|
const NavModelData_XYData_TypeID = 0xbe09e615b2507e26
|
|
|
|
func NewNavModelData_XYData(s *capnp.Segment) (NavModelData_XYData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 4})
|
|
return NavModelData_XYData(st), err
|
|
}
|
|
|
|
func NewRootNavModelData_XYData(s *capnp.Segment) (NavModelData_XYData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 4})
|
|
return NavModelData_XYData(st), err
|
|
}
|
|
|
|
func ReadRootNavModelData_XYData(msg *capnp.Message) (NavModelData_XYData, error) {
|
|
root, err := msg.Root()
|
|
return NavModelData_XYData(root.Struct()), err
|
|
}
|
|
|
|
func (s NavModelData_XYData) String() string {
|
|
str, _ := text.Marshal(0xbe09e615b2507e26, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s NavModelData_XYData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (NavModelData_XYData) DecodeFromPtr(p capnp.Ptr) NavModelData_XYData {
|
|
return NavModelData_XYData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s NavModelData_XYData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s NavModelData_XYData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s NavModelData_XYData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s NavModelData_XYData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s NavModelData_XYData) X() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s NavModelData_XYData) HasX() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s NavModelData_XYData) SetX(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewX sets the x field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s NavModelData_XYData) NewX(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s NavModelData_XYData) Y() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s NavModelData_XYData) HasY() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s NavModelData_XYData) SetY(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewY sets the y field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s NavModelData_XYData) NewY(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s NavModelData_XYData) XStd() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s NavModelData_XYData) HasXStd() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s NavModelData_XYData) SetXStd(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewXStd sets the xStd field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s NavModelData_XYData) NewXStd(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s NavModelData_XYData) YStd() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s NavModelData_XYData) HasYStd() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s NavModelData_XYData) SetYStd(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(3, v.ToPtr())
|
|
}
|
|
|
|
// NewYStd sets the yStd field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s NavModelData_XYData) NewYStd(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// NavModelData_XYData_List is a list of NavModelData_XYData.
|
|
type NavModelData_XYData_List = capnp.StructList[NavModelData_XYData]
|
|
|
|
// NewNavModelData_XYData creates a new list of NavModelData_XYData.
|
|
func NewNavModelData_XYData_List(s *capnp.Segment, sz int32) (NavModelData_XYData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 4}, sz)
|
|
return capnp.StructList[NavModelData_XYData](l), err
|
|
}
|
|
|
|
// NavModelData_XYData_Future is a wrapper for a NavModelData_XYData promised by a client call.
|
|
type NavModelData_XYData_Future struct{ *capnp.Future }
|
|
|
|
func (f NavModelData_XYData_Future) Struct() (NavModelData_XYData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return NavModelData_XYData(p.Struct()), err
|
|
}
|
|
|
|
type AndroidBuildInfo capnp.Struct
|
|
|
|
// AndroidBuildInfo_TypeID is the unique identifier for the type AndroidBuildInfo.
|
|
const AndroidBuildInfo_TypeID = 0xfe2919d5c21f426c
|
|
|
|
func NewAndroidBuildInfo(s *capnp.Segment) (AndroidBuildInfo, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 21})
|
|
return AndroidBuildInfo(st), err
|
|
}
|
|
|
|
func NewRootAndroidBuildInfo(s *capnp.Segment) (AndroidBuildInfo, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 21})
|
|
return AndroidBuildInfo(st), err
|
|
}
|
|
|
|
func ReadRootAndroidBuildInfo(msg *capnp.Message) (AndroidBuildInfo, error) {
|
|
root, err := msg.Root()
|
|
return AndroidBuildInfo(root.Struct()), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) String() string {
|
|
str, _ := text.Marshal(0xfe2919d5c21f426c, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s AndroidBuildInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (AndroidBuildInfo) DecodeFromPtr(p capnp.Ptr) AndroidBuildInfo {
|
|
return AndroidBuildInfo(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s AndroidBuildInfo) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s AndroidBuildInfo) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s AndroidBuildInfo) Board() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasBoard() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) BoardBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetBoard(v string) error {
|
|
return capnp.Struct(s).SetText(0, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Bootloader() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasBootloader() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) BootloaderBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetBootloader(v string) error {
|
|
return capnp.Struct(s).SetText(1, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Brand() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasBrand() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) BrandBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetBrand(v string) error {
|
|
return capnp.Struct(s).SetText(2, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Device() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasDevice() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) DeviceBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetDevice(v string) error {
|
|
return capnp.Struct(s).SetText(3, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Display() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasDisplay() bool {
|
|
return capnp.Struct(s).HasPtr(4)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) DisplayBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetDisplay(v string) error {
|
|
return capnp.Struct(s).SetText(4, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Fingerprint() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(5)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasFingerprint() bool {
|
|
return capnp.Struct(s).HasPtr(5)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) FingerprintBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(5)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetFingerprint(v string) error {
|
|
return capnp.Struct(s).SetText(5, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Hardware() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(6)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasHardware() bool {
|
|
return capnp.Struct(s).HasPtr(6)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HardwareBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(6)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetHardware(v string) error {
|
|
return capnp.Struct(s).SetText(6, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Host() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(7)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasHost() bool {
|
|
return capnp.Struct(s).HasPtr(7)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HostBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(7)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetHost(v string) error {
|
|
return capnp.Struct(s).SetText(7, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Id() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(8)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasId() bool {
|
|
return capnp.Struct(s).HasPtr(8)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) IdBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(8)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetId(v string) error {
|
|
return capnp.Struct(s).SetText(8, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Manufacturer() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(9)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasManufacturer() bool {
|
|
return capnp.Struct(s).HasPtr(9)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) ManufacturerBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(9)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetManufacturer(v string) error {
|
|
return capnp.Struct(s).SetText(9, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Model() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(10)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasModel() bool {
|
|
return capnp.Struct(s).HasPtr(10)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) ModelBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(10)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetModel(v string) error {
|
|
return capnp.Struct(s).SetText(10, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Product() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(11)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasProduct() bool {
|
|
return capnp.Struct(s).HasPtr(11)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) ProductBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(11)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetProduct(v string) error {
|
|
return capnp.Struct(s).SetText(11, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) RadioVersion() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(12)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasRadioVersion() bool {
|
|
return capnp.Struct(s).HasPtr(12)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) RadioVersionBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(12)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetRadioVersion(v string) error {
|
|
return capnp.Struct(s).SetText(12, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Serial() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(13)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasSerial() bool {
|
|
return capnp.Struct(s).HasPtr(13)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SerialBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(13)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetSerial(v string) error {
|
|
return capnp.Struct(s).SetText(13, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SupportedAbis() (capnp.TextList, error) {
|
|
p, err := capnp.Struct(s).Ptr(14)
|
|
return capnp.TextList(p.List()), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasSupportedAbis() bool {
|
|
return capnp.Struct(s).HasPtr(14)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetSupportedAbis(v capnp.TextList) error {
|
|
return capnp.Struct(s).SetPtr(14, v.ToPtr())
|
|
}
|
|
|
|
// NewSupportedAbis sets the supportedAbis field to a newly
|
|
// allocated capnp.TextList, preferring placement in s's segment.
|
|
func (s AndroidBuildInfo) NewSupportedAbis(n int32) (capnp.TextList, error) {
|
|
l, err := capnp.NewTextList(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.TextList{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(14, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s AndroidBuildInfo) Tags() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(15)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasTags() bool {
|
|
return capnp.Struct(s).HasPtr(15)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) TagsBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(15)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetTags(v string) error {
|
|
return capnp.Struct(s).SetText(15, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Time() int64 {
|
|
return int64(capnp.Struct(s).Uint64(0))
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetTime(v int64) {
|
|
capnp.Struct(s).SetUint64(0, uint64(v))
|
|
}
|
|
|
|
func (s AndroidBuildInfo) Type() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(16)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasType() bool {
|
|
return capnp.Struct(s).HasPtr(16)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) TypeBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(16)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetType(v string) error {
|
|
return capnp.Struct(s).SetText(16, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) User() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(17)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasUser() bool {
|
|
return capnp.Struct(s).HasPtr(17)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) UserBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(17)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetUser(v string) error {
|
|
return capnp.Struct(s).SetText(17, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) VersionCodename() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(18)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasVersionCodename() bool {
|
|
return capnp.Struct(s).HasPtr(18)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) VersionCodenameBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(18)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetVersionCodename(v string) error {
|
|
return capnp.Struct(s).SetText(18, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) VersionRelease() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(19)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasVersionRelease() bool {
|
|
return capnp.Struct(s).HasPtr(19)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) VersionReleaseBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(19)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetVersionRelease(v string) error {
|
|
return capnp.Struct(s).SetText(19, v)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) VersionSdk() int32 {
|
|
return int32(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetVersionSdk(v int32) {
|
|
capnp.Struct(s).SetUint32(8, uint32(v))
|
|
}
|
|
|
|
func (s AndroidBuildInfo) VersionSecurityPatch() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(20)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) HasVersionSecurityPatch() bool {
|
|
return capnp.Struct(s).HasPtr(20)
|
|
}
|
|
|
|
func (s AndroidBuildInfo) VersionSecurityPatchBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(20)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidBuildInfo) SetVersionSecurityPatch(v string) error {
|
|
return capnp.Struct(s).SetText(20, v)
|
|
}
|
|
|
|
// AndroidBuildInfo_List is a list of AndroidBuildInfo.
|
|
type AndroidBuildInfo_List = capnp.StructList[AndroidBuildInfo]
|
|
|
|
// NewAndroidBuildInfo creates a new list of AndroidBuildInfo.
|
|
func NewAndroidBuildInfo_List(s *capnp.Segment, sz int32) (AndroidBuildInfo_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 21}, sz)
|
|
return capnp.StructList[AndroidBuildInfo](l), err
|
|
}
|
|
|
|
// AndroidBuildInfo_Future is a wrapper for a AndroidBuildInfo promised by a client call.
|
|
type AndroidBuildInfo_Future struct{ *capnp.Future }
|
|
|
|
func (f AndroidBuildInfo_Future) Struct() (AndroidBuildInfo, error) {
|
|
p, err := f.Future.Ptr()
|
|
return AndroidBuildInfo(p.Struct()), err
|
|
}
|
|
|
|
type AndroidSensor capnp.Struct
|
|
|
|
// AndroidSensor_TypeID is the unique identifier for the type AndroidSensor.
|
|
const AndroidSensor_TypeID = 0x9b513b93a887dbcd
|
|
|
|
func NewAndroidSensor(s *capnp.Segment) (AndroidSensor, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 48, PointerCount: 3})
|
|
return AndroidSensor(st), err
|
|
}
|
|
|
|
func NewRootAndroidSensor(s *capnp.Segment) (AndroidSensor, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 48, PointerCount: 3})
|
|
return AndroidSensor(st), err
|
|
}
|
|
|
|
func ReadRootAndroidSensor(msg *capnp.Message) (AndroidSensor, error) {
|
|
root, err := msg.Root()
|
|
return AndroidSensor(root.Struct()), err
|
|
}
|
|
|
|
func (s AndroidSensor) String() string {
|
|
str, _ := text.Marshal(0x9b513b93a887dbcd, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s AndroidSensor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (AndroidSensor) DecodeFromPtr(p capnp.Ptr) AndroidSensor {
|
|
return AndroidSensor(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s AndroidSensor) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s AndroidSensor) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s AndroidSensor) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s AndroidSensor) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s AndroidSensor) Id() int32 {
|
|
return int32(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s AndroidSensor) SetId(v int32) {
|
|
capnp.Struct(s).SetUint32(0, uint32(v))
|
|
}
|
|
|
|
func (s AndroidSensor) Name() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidSensor) HasName() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s AndroidSensor) NameBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidSensor) SetName(v string) error {
|
|
return capnp.Struct(s).SetText(0, v)
|
|
}
|
|
|
|
func (s AndroidSensor) Vendor() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidSensor) HasVendor() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s AndroidSensor) VendorBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidSensor) SetVendor(v string) error {
|
|
return capnp.Struct(s).SetText(1, v)
|
|
}
|
|
|
|
func (s AndroidSensor) Version() int32 {
|
|
return int32(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s AndroidSensor) SetVersion(v int32) {
|
|
capnp.Struct(s).SetUint32(4, uint32(v))
|
|
}
|
|
|
|
func (s AndroidSensor) Handle() int32 {
|
|
return int32(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s AndroidSensor) SetHandle(v int32) {
|
|
capnp.Struct(s).SetUint32(8, uint32(v))
|
|
}
|
|
|
|
func (s AndroidSensor) Type() int32 {
|
|
return int32(capnp.Struct(s).Uint32(12))
|
|
}
|
|
|
|
func (s AndroidSensor) SetType(v int32) {
|
|
capnp.Struct(s).SetUint32(12, uint32(v))
|
|
}
|
|
|
|
func (s AndroidSensor) MaxRange() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(16))
|
|
}
|
|
|
|
func (s AndroidSensor) SetMaxRange(v float32) {
|
|
capnp.Struct(s).SetUint32(16, math.Float32bits(v))
|
|
}
|
|
|
|
func (s AndroidSensor) Resolution() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(20))
|
|
}
|
|
|
|
func (s AndroidSensor) SetResolution(v float32) {
|
|
capnp.Struct(s).SetUint32(20, math.Float32bits(v))
|
|
}
|
|
|
|
func (s AndroidSensor) Power() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(24))
|
|
}
|
|
|
|
func (s AndroidSensor) SetPower(v float32) {
|
|
capnp.Struct(s).SetUint32(24, math.Float32bits(v))
|
|
}
|
|
|
|
func (s AndroidSensor) MinDelay() int32 {
|
|
return int32(capnp.Struct(s).Uint32(28))
|
|
}
|
|
|
|
func (s AndroidSensor) SetMinDelay(v int32) {
|
|
capnp.Struct(s).SetUint32(28, uint32(v))
|
|
}
|
|
|
|
func (s AndroidSensor) FifoReservedEventCount() uint32 {
|
|
return capnp.Struct(s).Uint32(32)
|
|
}
|
|
|
|
func (s AndroidSensor) SetFifoReservedEventCount(v uint32) {
|
|
capnp.Struct(s).SetUint32(32, v)
|
|
}
|
|
|
|
func (s AndroidSensor) FifoMaxEventCount() uint32 {
|
|
return capnp.Struct(s).Uint32(36)
|
|
}
|
|
|
|
func (s AndroidSensor) SetFifoMaxEventCount(v uint32) {
|
|
capnp.Struct(s).SetUint32(36, v)
|
|
}
|
|
|
|
func (s AndroidSensor) StringType() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s AndroidSensor) HasStringType() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s AndroidSensor) StringTypeBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s AndroidSensor) SetStringType(v string) error {
|
|
return capnp.Struct(s).SetText(2, v)
|
|
}
|
|
|
|
func (s AndroidSensor) MaxDelay() int32 {
|
|
return int32(capnp.Struct(s).Uint32(40))
|
|
}
|
|
|
|
func (s AndroidSensor) SetMaxDelay(v int32) {
|
|
capnp.Struct(s).SetUint32(40, uint32(v))
|
|
}
|
|
|
|
// AndroidSensor_List is a list of AndroidSensor.
|
|
type AndroidSensor_List = capnp.StructList[AndroidSensor]
|
|
|
|
// NewAndroidSensor creates a new list of AndroidSensor.
|
|
func NewAndroidSensor_List(s *capnp.Segment, sz int32) (AndroidSensor_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 48, PointerCount: 3}, sz)
|
|
return capnp.StructList[AndroidSensor](l), err
|
|
}
|
|
|
|
// AndroidSensor_Future is a wrapper for a AndroidSensor promised by a client call.
|
|
type AndroidSensor_Future struct{ *capnp.Future }
|
|
|
|
func (f AndroidSensor_Future) Struct() (AndroidSensor, error) {
|
|
p, err := f.Future.Ptr()
|
|
return AndroidSensor(p.Struct()), err
|
|
}
|
|
|
|
type IosBuildInfo capnp.Struct
|
|
|
|
// IosBuildInfo_TypeID is the unique identifier for the type IosBuildInfo.
|
|
const IosBuildInfo_TypeID = 0xd97e3b28239f5580
|
|
|
|
func NewIosBuildInfo(s *capnp.Segment) (IosBuildInfo, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3})
|
|
return IosBuildInfo(st), err
|
|
}
|
|
|
|
func NewRootIosBuildInfo(s *capnp.Segment) (IosBuildInfo, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3})
|
|
return IosBuildInfo(st), err
|
|
}
|
|
|
|
func ReadRootIosBuildInfo(msg *capnp.Message) (IosBuildInfo, error) {
|
|
root, err := msg.Root()
|
|
return IosBuildInfo(root.Struct()), err
|
|
}
|
|
|
|
func (s IosBuildInfo) String() string {
|
|
str, _ := text.Marshal(0xd97e3b28239f5580, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s IosBuildInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (IosBuildInfo) DecodeFromPtr(p capnp.Ptr) IosBuildInfo {
|
|
return IosBuildInfo(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s IosBuildInfo) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s IosBuildInfo) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s IosBuildInfo) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s IosBuildInfo) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s IosBuildInfo) AppVersion() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s IosBuildInfo) HasAppVersion() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s IosBuildInfo) AppVersionBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s IosBuildInfo) SetAppVersion(v string) error {
|
|
return capnp.Struct(s).SetText(0, v)
|
|
}
|
|
|
|
func (s IosBuildInfo) AppBuild() uint32 {
|
|
return capnp.Struct(s).Uint32(0)
|
|
}
|
|
|
|
func (s IosBuildInfo) SetAppBuild(v uint32) {
|
|
capnp.Struct(s).SetUint32(0, v)
|
|
}
|
|
|
|
func (s IosBuildInfo) OsVersion() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s IosBuildInfo) HasOsVersion() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s IosBuildInfo) OsVersionBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s IosBuildInfo) SetOsVersion(v string) error {
|
|
return capnp.Struct(s).SetText(1, v)
|
|
}
|
|
|
|
func (s IosBuildInfo) DeviceModel() (string, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.Text(), err
|
|
}
|
|
|
|
func (s IosBuildInfo) HasDeviceModel() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s IosBuildInfo) DeviceModelBytes() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return p.TextBytes(), err
|
|
}
|
|
|
|
func (s IosBuildInfo) SetDeviceModel(v string) error {
|
|
return capnp.Struct(s).SetText(2, v)
|
|
}
|
|
|
|
// IosBuildInfo_List is a list of IosBuildInfo.
|
|
type IosBuildInfo_List = capnp.StructList[IosBuildInfo]
|
|
|
|
// NewIosBuildInfo creates a new list of IosBuildInfo.
|
|
func NewIosBuildInfo_List(s *capnp.Segment, sz int32) (IosBuildInfo_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 3}, sz)
|
|
return capnp.StructList[IosBuildInfo](l), err
|
|
}
|
|
|
|
// IosBuildInfo_Future is a wrapper for a IosBuildInfo promised by a client call.
|
|
type IosBuildInfo_Future struct{ *capnp.Future }
|
|
|
|
func (f IosBuildInfo_Future) Struct() (IosBuildInfo, error) {
|
|
p, err := f.Future.Ptr()
|
|
return IosBuildInfo(p.Struct()), err
|
|
}
|
|
|
|
type FrameTypeDEPRECATED uint16
|
|
|
|
// FrameTypeDEPRECATED_TypeID is the unique identifier for the type FrameTypeDEPRECATED.
|
|
const FrameTypeDEPRECATED_TypeID = 0xa37f0d8558e193fd
|
|
|
|
// Values of FrameTypeDEPRECATED.
|
|
const (
|
|
FrameTypeDEPRECATED_unknown FrameTypeDEPRECATED = 0
|
|
FrameTypeDEPRECATED_neo FrameTypeDEPRECATED = 1
|
|
FrameTypeDEPRECATED_chffrAndroid FrameTypeDEPRECATED = 2
|
|
FrameTypeDEPRECATED_front FrameTypeDEPRECATED = 3
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c FrameTypeDEPRECATED) String() string {
|
|
switch c {
|
|
case FrameTypeDEPRECATED_unknown:
|
|
return "unknown"
|
|
case FrameTypeDEPRECATED_neo:
|
|
return "neo"
|
|
case FrameTypeDEPRECATED_chffrAndroid:
|
|
return "chffrAndroid"
|
|
case FrameTypeDEPRECATED_front:
|
|
return "front"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// FrameTypeDEPRECATEDFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func FrameTypeDEPRECATEDFromString(c string) FrameTypeDEPRECATED {
|
|
switch c {
|
|
case "unknown":
|
|
return FrameTypeDEPRECATED_unknown
|
|
case "neo":
|
|
return FrameTypeDEPRECATED_neo
|
|
case "chffrAndroid":
|
|
return FrameTypeDEPRECATED_chffrAndroid
|
|
case "front":
|
|
return FrameTypeDEPRECATED_front
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type FrameTypeDEPRECATED_List = capnp.EnumList[FrameTypeDEPRECATED]
|
|
|
|
func NewFrameTypeDEPRECATED_List(s *capnp.Segment, sz int32) (FrameTypeDEPRECATED_List, error) {
|
|
return capnp.NewEnumList[FrameTypeDEPRECATED](s, sz)
|
|
}
|
|
|
|
type AndroidCaptureResult capnp.Struct
|
|
|
|
// AndroidCaptureResult_TypeID is the unique identifier for the type AndroidCaptureResult.
|
|
const AndroidCaptureResult_TypeID = 0xbcc3efbac41d2048
|
|
|
|
func NewAndroidCaptureResult(s *capnp.Segment) (AndroidCaptureResult, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 32, PointerCount: 2})
|
|
return AndroidCaptureResult(st), err
|
|
}
|
|
|
|
func NewRootAndroidCaptureResult(s *capnp.Segment) (AndroidCaptureResult, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 32, PointerCount: 2})
|
|
return AndroidCaptureResult(st), err
|
|
}
|
|
|
|
func ReadRootAndroidCaptureResult(msg *capnp.Message) (AndroidCaptureResult, error) {
|
|
root, err := msg.Root()
|
|
return AndroidCaptureResult(root.Struct()), err
|
|
}
|
|
|
|
func (s AndroidCaptureResult) String() string {
|
|
str, _ := text.Marshal(0xbcc3efbac41d2048, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s AndroidCaptureResult) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (AndroidCaptureResult) DecodeFromPtr(p capnp.Ptr) AndroidCaptureResult {
|
|
return AndroidCaptureResult(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s AndroidCaptureResult) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s AndroidCaptureResult) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s AndroidCaptureResult) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s AndroidCaptureResult) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s AndroidCaptureResult) Sensitivity() int32 {
|
|
return int32(capnp.Struct(s).Uint32(0))
|
|
}
|
|
|
|
func (s AndroidCaptureResult) SetSensitivity(v int32) {
|
|
capnp.Struct(s).SetUint32(0, uint32(v))
|
|
}
|
|
|
|
func (s AndroidCaptureResult) FrameDuration() int64 {
|
|
return int64(capnp.Struct(s).Uint64(8))
|
|
}
|
|
|
|
func (s AndroidCaptureResult) SetFrameDuration(v int64) {
|
|
capnp.Struct(s).SetUint64(8, uint64(v))
|
|
}
|
|
|
|
func (s AndroidCaptureResult) ExposureTime() int64 {
|
|
return int64(capnp.Struct(s).Uint64(16))
|
|
}
|
|
|
|
func (s AndroidCaptureResult) SetExposureTime(v int64) {
|
|
capnp.Struct(s).SetUint64(16, uint64(v))
|
|
}
|
|
|
|
func (s AndroidCaptureResult) RollingShutterSkew() uint64 {
|
|
return capnp.Struct(s).Uint64(24)
|
|
}
|
|
|
|
func (s AndroidCaptureResult) SetRollingShutterSkew(v uint64) {
|
|
capnp.Struct(s).SetUint64(24, v)
|
|
}
|
|
|
|
func (s AndroidCaptureResult) ColorCorrectionTransform() (capnp.Int32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Int32List(p.List()), err
|
|
}
|
|
|
|
func (s AndroidCaptureResult) HasColorCorrectionTransform() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s AndroidCaptureResult) SetColorCorrectionTransform(v capnp.Int32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewColorCorrectionTransform sets the colorCorrectionTransform field to a newly
|
|
// allocated capnp.Int32List, preferring placement in s's segment.
|
|
func (s AndroidCaptureResult) NewColorCorrectionTransform(n int32) (capnp.Int32List, error) {
|
|
l, err := capnp.NewInt32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Int32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s AndroidCaptureResult) ColorCorrectionGains() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s AndroidCaptureResult) HasColorCorrectionGains() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s AndroidCaptureResult) SetColorCorrectionGains(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewColorCorrectionGains sets the colorCorrectionGains field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s AndroidCaptureResult) NewColorCorrectionGains(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s AndroidCaptureResult) DisplayRotation() int8 {
|
|
return int8(capnp.Struct(s).Uint8(4))
|
|
}
|
|
|
|
func (s AndroidCaptureResult) SetDisplayRotation(v int8) {
|
|
capnp.Struct(s).SetUint8(4, uint8(v))
|
|
}
|
|
|
|
// AndroidCaptureResult_List is a list of AndroidCaptureResult.
|
|
type AndroidCaptureResult_List = capnp.StructList[AndroidCaptureResult]
|
|
|
|
// NewAndroidCaptureResult creates a new list of AndroidCaptureResult.
|
|
func NewAndroidCaptureResult_List(s *capnp.Segment, sz int32) (AndroidCaptureResult_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 32, PointerCount: 2}, sz)
|
|
return capnp.StructList[AndroidCaptureResult](l), err
|
|
}
|
|
|
|
// AndroidCaptureResult_Future is a wrapper for a AndroidCaptureResult promised by a client call.
|
|
type AndroidCaptureResult_Future struct{ *capnp.Future }
|
|
|
|
func (f AndroidCaptureResult_Future) Struct() (AndroidCaptureResult, error) {
|
|
p, err := f.Future.Ptr()
|
|
return AndroidCaptureResult(p.Struct()), err
|
|
}
|
|
|
|
type UsbPowerModeDEPRECATED uint16
|
|
|
|
// UsbPowerModeDEPRECATED_TypeID is the unique identifier for the type UsbPowerModeDEPRECATED.
|
|
const UsbPowerModeDEPRECATED_TypeID = 0xa8883583b32c9877
|
|
|
|
// Values of UsbPowerModeDEPRECATED.
|
|
const (
|
|
UsbPowerModeDEPRECATED_none UsbPowerModeDEPRECATED = 0
|
|
UsbPowerModeDEPRECATED_client UsbPowerModeDEPRECATED = 1
|
|
UsbPowerModeDEPRECATED_cdp UsbPowerModeDEPRECATED = 2
|
|
UsbPowerModeDEPRECATED_dcp UsbPowerModeDEPRECATED = 3
|
|
)
|
|
|
|
// String returns the enum's constant name.
|
|
func (c UsbPowerModeDEPRECATED) String() string {
|
|
switch c {
|
|
case UsbPowerModeDEPRECATED_none:
|
|
return "none"
|
|
case UsbPowerModeDEPRECATED_client:
|
|
return "client"
|
|
case UsbPowerModeDEPRECATED_cdp:
|
|
return "cdp"
|
|
case UsbPowerModeDEPRECATED_dcp:
|
|
return "dcp"
|
|
|
|
default:
|
|
return ""
|
|
}
|
|
}
|
|
|
|
// UsbPowerModeDEPRECATEDFromString returns the enum value with a name,
|
|
// or the zero value if there's no such value.
|
|
func UsbPowerModeDEPRECATEDFromString(c string) UsbPowerModeDEPRECATED {
|
|
switch c {
|
|
case "none":
|
|
return UsbPowerModeDEPRECATED_none
|
|
case "client":
|
|
return UsbPowerModeDEPRECATED_client
|
|
case "cdp":
|
|
return UsbPowerModeDEPRECATED_cdp
|
|
case "dcp":
|
|
return UsbPowerModeDEPRECATED_dcp
|
|
|
|
default:
|
|
return 0
|
|
}
|
|
}
|
|
|
|
type UsbPowerModeDEPRECATED_List = capnp.EnumList[UsbPowerModeDEPRECATED]
|
|
|
|
func NewUsbPowerModeDEPRECATED_List(s *capnp.Segment, sz int32) (UsbPowerModeDEPRECATED_List, error) {
|
|
return capnp.NewEnumList[UsbPowerModeDEPRECATED](s, sz)
|
|
}
|
|
|
|
type LateralINDIState capnp.Struct
|
|
|
|
// LateralINDIState_TypeID is the unique identifier for the type LateralINDIState.
|
|
const LateralINDIState_TypeID = 0x939463348632375e
|
|
|
|
func NewLateralINDIState(s *capnp.Segment) (LateralINDIState, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 48, PointerCount: 0})
|
|
return LateralINDIState(st), err
|
|
}
|
|
|
|
func NewRootLateralINDIState(s *capnp.Segment) (LateralINDIState, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 48, PointerCount: 0})
|
|
return LateralINDIState(st), err
|
|
}
|
|
|
|
func ReadRootLateralINDIState(msg *capnp.Message) (LateralINDIState, error) {
|
|
root, err := msg.Root()
|
|
return LateralINDIState(root.Struct()), err
|
|
}
|
|
|
|
func (s LateralINDIState) String() string {
|
|
str, _ := text.Marshal(0x939463348632375e, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LateralINDIState) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LateralINDIState) DecodeFromPtr(p capnp.Ptr) LateralINDIState {
|
|
return LateralINDIState(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LateralINDIState) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LateralINDIState) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LateralINDIState) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LateralINDIState) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LateralINDIState) Active() bool {
|
|
return capnp.Struct(s).Bit(0)
|
|
}
|
|
|
|
func (s LateralINDIState) SetActive(v bool) {
|
|
capnp.Struct(s).SetBit(0, v)
|
|
}
|
|
|
|
func (s LateralINDIState) SteeringAngleDeg() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s LateralINDIState) SetSteeringAngleDeg(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralINDIState) SteeringRateDeg() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s LateralINDIState) SetSteeringRateDeg(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralINDIState) SteeringAccelDeg() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(12))
|
|
}
|
|
|
|
func (s LateralINDIState) SetSteeringAccelDeg(v float32) {
|
|
capnp.Struct(s).SetUint32(12, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralINDIState) RateSetPoint() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(16))
|
|
}
|
|
|
|
func (s LateralINDIState) SetRateSetPoint(v float32) {
|
|
capnp.Struct(s).SetUint32(16, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralINDIState) AccelSetPoint() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(20))
|
|
}
|
|
|
|
func (s LateralINDIState) SetAccelSetPoint(v float32) {
|
|
capnp.Struct(s).SetUint32(20, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralINDIState) AccelError() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(24))
|
|
}
|
|
|
|
func (s LateralINDIState) SetAccelError(v float32) {
|
|
capnp.Struct(s).SetUint32(24, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralINDIState) DelayedOutput() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(28))
|
|
}
|
|
|
|
func (s LateralINDIState) SetDelayedOutput(v float32) {
|
|
capnp.Struct(s).SetUint32(28, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralINDIState) Delta() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(32))
|
|
}
|
|
|
|
func (s LateralINDIState) SetDelta(v float32) {
|
|
capnp.Struct(s).SetUint32(32, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralINDIState) Output() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(36))
|
|
}
|
|
|
|
func (s LateralINDIState) SetOutput(v float32) {
|
|
capnp.Struct(s).SetUint32(36, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralINDIState) Saturated() bool {
|
|
return capnp.Struct(s).Bit(1)
|
|
}
|
|
|
|
func (s LateralINDIState) SetSaturated(v bool) {
|
|
capnp.Struct(s).SetBit(1, v)
|
|
}
|
|
|
|
func (s LateralINDIState) SteeringAngleDesiredDeg() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(40))
|
|
}
|
|
|
|
func (s LateralINDIState) SetSteeringAngleDesiredDeg(v float32) {
|
|
capnp.Struct(s).SetUint32(40, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralINDIState) SteeringRateDesiredDeg() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(44))
|
|
}
|
|
|
|
func (s LateralINDIState) SetSteeringRateDesiredDeg(v float32) {
|
|
capnp.Struct(s).SetUint32(44, math.Float32bits(v))
|
|
}
|
|
|
|
// LateralINDIState_List is a list of LateralINDIState.
|
|
type LateralINDIState_List = capnp.StructList[LateralINDIState]
|
|
|
|
// NewLateralINDIState creates a new list of LateralINDIState.
|
|
func NewLateralINDIState_List(s *capnp.Segment, sz int32) (LateralINDIState_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 48, PointerCount: 0}, sz)
|
|
return capnp.StructList[LateralINDIState](l), err
|
|
}
|
|
|
|
// LateralINDIState_Future is a wrapper for a LateralINDIState promised by a client call.
|
|
type LateralINDIState_Future struct{ *capnp.Future }
|
|
|
|
func (f LateralINDIState_Future) Struct() (LateralINDIState, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LateralINDIState(p.Struct()), err
|
|
}
|
|
|
|
type LateralLQRState capnp.Struct
|
|
|
|
// LateralLQRState_TypeID is the unique identifier for the type LateralLQRState.
|
|
const LateralLQRState_TypeID = 0x9024e2d790c82ade
|
|
|
|
func NewLateralLQRState(s *capnp.Segment) (LateralLQRState, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 0})
|
|
return LateralLQRState(st), err
|
|
}
|
|
|
|
func NewRootLateralLQRState(s *capnp.Segment) (LateralLQRState, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 24, PointerCount: 0})
|
|
return LateralLQRState(st), err
|
|
}
|
|
|
|
func ReadRootLateralLQRState(msg *capnp.Message) (LateralLQRState, error) {
|
|
root, err := msg.Root()
|
|
return LateralLQRState(root.Struct()), err
|
|
}
|
|
|
|
func (s LateralLQRState) String() string {
|
|
str, _ := text.Marshal(0x9024e2d790c82ade, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LateralLQRState) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LateralLQRState) DecodeFromPtr(p capnp.Ptr) LateralLQRState {
|
|
return LateralLQRState(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LateralLQRState) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LateralLQRState) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LateralLQRState) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LateralLQRState) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LateralLQRState) Active() bool {
|
|
return capnp.Struct(s).Bit(0)
|
|
}
|
|
|
|
func (s LateralLQRState) SetActive(v bool) {
|
|
capnp.Struct(s).SetBit(0, v)
|
|
}
|
|
|
|
func (s LateralLQRState) SteeringAngleDeg() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(4))
|
|
}
|
|
|
|
func (s LateralLQRState) SetSteeringAngleDeg(v float32) {
|
|
capnp.Struct(s).SetUint32(4, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralLQRState) I() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(8))
|
|
}
|
|
|
|
func (s LateralLQRState) SetI(v float32) {
|
|
capnp.Struct(s).SetUint32(8, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralLQRState) Output() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(12))
|
|
}
|
|
|
|
func (s LateralLQRState) SetOutput(v float32) {
|
|
capnp.Struct(s).SetUint32(12, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralLQRState) LqrOutput() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(16))
|
|
}
|
|
|
|
func (s LateralLQRState) SetLqrOutput(v float32) {
|
|
capnp.Struct(s).SetUint32(16, math.Float32bits(v))
|
|
}
|
|
|
|
func (s LateralLQRState) Saturated() bool {
|
|
return capnp.Struct(s).Bit(1)
|
|
}
|
|
|
|
func (s LateralLQRState) SetSaturated(v bool) {
|
|
capnp.Struct(s).SetBit(1, v)
|
|
}
|
|
|
|
func (s LateralLQRState) SteeringAngleDesiredDeg() float32 {
|
|
return math.Float32frombits(capnp.Struct(s).Uint32(20))
|
|
}
|
|
|
|
func (s LateralLQRState) SetSteeringAngleDesiredDeg(v float32) {
|
|
capnp.Struct(s).SetUint32(20, math.Float32bits(v))
|
|
}
|
|
|
|
// LateralLQRState_List is a list of LateralLQRState.
|
|
type LateralLQRState_List = capnp.StructList[LateralLQRState]
|
|
|
|
// NewLateralLQRState creates a new list of LateralLQRState.
|
|
func NewLateralLQRState_List(s *capnp.Segment, sz int32) (LateralLQRState_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 24, PointerCount: 0}, sz)
|
|
return capnp.StructList[LateralLQRState](l), err
|
|
}
|
|
|
|
// LateralLQRState_Future is a wrapper for a LateralLQRState promised by a client call.
|
|
type LateralLQRState_Future struct{ *capnp.Future }
|
|
|
|
func (f LateralLQRState_Future) Struct() (LateralLQRState, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LateralLQRState(p.Struct()), err
|
|
}
|
|
|
|
type LateralPlannerSolution capnp.Struct
|
|
|
|
// LateralPlannerSolution_TypeID is the unique identifier for the type LateralPlannerSolution.
|
|
const LateralPlannerSolution_TypeID = 0x84caeca5a6b4acfe
|
|
|
|
func NewLateralPlannerSolution(s *capnp.Segment) (LateralPlannerSolution, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 8})
|
|
return LateralPlannerSolution(st), err
|
|
}
|
|
|
|
func NewRootLateralPlannerSolution(s *capnp.Segment) (LateralPlannerSolution, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 8})
|
|
return LateralPlannerSolution(st), err
|
|
}
|
|
|
|
func ReadRootLateralPlannerSolution(msg *capnp.Message) (LateralPlannerSolution, error) {
|
|
root, err := msg.Root()
|
|
return LateralPlannerSolution(root.Struct()), err
|
|
}
|
|
|
|
func (s LateralPlannerSolution) String() string {
|
|
str, _ := text.Marshal(0x84caeca5a6b4acfe, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s LateralPlannerSolution) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (LateralPlannerSolution) DecodeFromPtr(p capnp.Ptr) LateralPlannerSolution {
|
|
return LateralPlannerSolution(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s LateralPlannerSolution) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s LateralPlannerSolution) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s LateralPlannerSolution) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s LateralPlannerSolution) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s LateralPlannerSolution) X() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LateralPlannerSolution) HasX() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s LateralPlannerSolution) SetX(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewX sets the x field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LateralPlannerSolution) NewX(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LateralPlannerSolution) Y() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LateralPlannerSolution) HasY() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s LateralPlannerSolution) SetY(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewY sets the y field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LateralPlannerSolution) NewY(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LateralPlannerSolution) Yaw() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(2)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LateralPlannerSolution) HasYaw() bool {
|
|
return capnp.Struct(s).HasPtr(2)
|
|
}
|
|
|
|
func (s LateralPlannerSolution) SetYaw(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(2, v.ToPtr())
|
|
}
|
|
|
|
// NewYaw sets the yaw field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LateralPlannerSolution) NewYaw(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(2, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LateralPlannerSolution) YawRate() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(3)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LateralPlannerSolution) HasYawRate() bool {
|
|
return capnp.Struct(s).HasPtr(3)
|
|
}
|
|
|
|
func (s LateralPlannerSolution) SetYawRate(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(3, v.ToPtr())
|
|
}
|
|
|
|
// NewYawRate sets the yawRate field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LateralPlannerSolution) NewYawRate(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(3, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LateralPlannerSolution) XStd() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(4)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LateralPlannerSolution) HasXStd() bool {
|
|
return capnp.Struct(s).HasPtr(4)
|
|
}
|
|
|
|
func (s LateralPlannerSolution) SetXStd(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(4, v.ToPtr())
|
|
}
|
|
|
|
// NewXStd sets the xStd field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LateralPlannerSolution) NewXStd(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(4, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LateralPlannerSolution) YStd() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(5)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LateralPlannerSolution) HasYStd() bool {
|
|
return capnp.Struct(s).HasPtr(5)
|
|
}
|
|
|
|
func (s LateralPlannerSolution) SetYStd(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(5, v.ToPtr())
|
|
}
|
|
|
|
// NewYStd sets the yStd field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LateralPlannerSolution) NewYStd(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(5, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LateralPlannerSolution) YawStd() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(6)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LateralPlannerSolution) HasYawStd() bool {
|
|
return capnp.Struct(s).HasPtr(6)
|
|
}
|
|
|
|
func (s LateralPlannerSolution) SetYawStd(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(6, v.ToPtr())
|
|
}
|
|
|
|
// NewYawStd sets the yawStd field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LateralPlannerSolution) NewYawStd(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(6, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s LateralPlannerSolution) YawRateStd() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(7)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s LateralPlannerSolution) HasYawRateStd() bool {
|
|
return capnp.Struct(s).HasPtr(7)
|
|
}
|
|
|
|
func (s LateralPlannerSolution) SetYawRateStd(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(7, v.ToPtr())
|
|
}
|
|
|
|
// NewYawRateStd sets the yawRateStd field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s LateralPlannerSolution) NewYawRateStd(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(7, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// LateralPlannerSolution_List is a list of LateralPlannerSolution.
|
|
type LateralPlannerSolution_List = capnp.StructList[LateralPlannerSolution]
|
|
|
|
// NewLateralPlannerSolution creates a new list of LateralPlannerSolution.
|
|
func NewLateralPlannerSolution_List(s *capnp.Segment, sz int32) (LateralPlannerSolution_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 8}, sz)
|
|
return capnp.StructList[LateralPlannerSolution](l), err
|
|
}
|
|
|
|
// LateralPlannerSolution_Future is a wrapper for a LateralPlannerSolution promised by a client call.
|
|
type LateralPlannerSolution_Future struct{ *capnp.Future }
|
|
|
|
func (f LateralPlannerSolution_Future) Struct() (LateralPlannerSolution, error) {
|
|
p, err := f.Future.Ptr()
|
|
return LateralPlannerSolution(p.Struct()), err
|
|
}
|
|
|
|
type GpsTrajectory capnp.Struct
|
|
|
|
// GpsTrajectory_TypeID is the unique identifier for the type GpsTrajectory.
|
|
const GpsTrajectory_TypeID = 0x8cfeb072f5301000
|
|
|
|
func NewGpsTrajectory(s *capnp.Segment) (GpsTrajectory, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 2})
|
|
return GpsTrajectory(st), err
|
|
}
|
|
|
|
func NewRootGpsTrajectory(s *capnp.Segment) (GpsTrajectory, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 2})
|
|
return GpsTrajectory(st), err
|
|
}
|
|
|
|
func ReadRootGpsTrajectory(msg *capnp.Message) (GpsTrajectory, error) {
|
|
root, err := msg.Root()
|
|
return GpsTrajectory(root.Struct()), err
|
|
}
|
|
|
|
func (s GpsTrajectory) String() string {
|
|
str, _ := text.Marshal(0x8cfeb072f5301000, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s GpsTrajectory) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (GpsTrajectory) DecodeFromPtr(p capnp.Ptr) GpsTrajectory {
|
|
return GpsTrajectory(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s GpsTrajectory) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s GpsTrajectory) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s GpsTrajectory) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s GpsTrajectory) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s GpsTrajectory) X() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s GpsTrajectory) HasX() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s GpsTrajectory) SetX(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(0, v.ToPtr())
|
|
}
|
|
|
|
// NewX sets the x field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s GpsTrajectory) NewX(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, l.ToPtr())
|
|
return l, err
|
|
}
|
|
func (s GpsTrajectory) Y() (capnp.Float32List, error) {
|
|
p, err := capnp.Struct(s).Ptr(1)
|
|
return capnp.Float32List(p.List()), err
|
|
}
|
|
|
|
func (s GpsTrajectory) HasY() bool {
|
|
return capnp.Struct(s).HasPtr(1)
|
|
}
|
|
|
|
func (s GpsTrajectory) SetY(v capnp.Float32List) error {
|
|
return capnp.Struct(s).SetPtr(1, v.ToPtr())
|
|
}
|
|
|
|
// NewY sets the y field to a newly
|
|
// allocated capnp.Float32List, preferring placement in s's segment.
|
|
func (s GpsTrajectory) NewY(n int32) (capnp.Float32List, error) {
|
|
l, err := capnp.NewFloat32List(capnp.Struct(s).Segment(), n)
|
|
if err != nil {
|
|
return capnp.Float32List{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(1, l.ToPtr())
|
|
return l, err
|
|
}
|
|
|
|
// GpsTrajectory_List is a list of GpsTrajectory.
|
|
type GpsTrajectory_List = capnp.StructList[GpsTrajectory]
|
|
|
|
// NewGpsTrajectory creates a new list of GpsTrajectory.
|
|
func NewGpsTrajectory_List(s *capnp.Segment, sz int32) (GpsTrajectory_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 2}, sz)
|
|
return capnp.StructList[GpsTrajectory](l), err
|
|
}
|
|
|
|
// GpsTrajectory_Future is a wrapper for a GpsTrajectory promised by a client call.
|
|
type GpsTrajectory_Future struct{ *capnp.Future }
|
|
|
|
func (f GpsTrajectory_Future) Struct() (GpsTrajectory, error) {
|
|
p, err := f.Future.Ptr()
|
|
return GpsTrajectory(p.Struct()), err
|
|
}
|
|
|
|
type AudioFeedbackDEPRECATED capnp.Struct
|
|
|
|
// AudioFeedbackDEPRECATED_TypeID is the unique identifier for the type AudioFeedbackDEPRECATED.
|
|
const AudioFeedbackDEPRECATED_TypeID = 0xed47e3c075be372a
|
|
|
|
func NewAudioFeedbackDEPRECATED(s *capnp.Segment) (AudioFeedbackDEPRECATED, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return AudioFeedbackDEPRECATED(st), err
|
|
}
|
|
|
|
func NewRootAudioFeedbackDEPRECATED(s *capnp.Segment) (AudioFeedbackDEPRECATED, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return AudioFeedbackDEPRECATED(st), err
|
|
}
|
|
|
|
func ReadRootAudioFeedbackDEPRECATED(msg *capnp.Message) (AudioFeedbackDEPRECATED, error) {
|
|
root, err := msg.Root()
|
|
return AudioFeedbackDEPRECATED(root.Struct()), err
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED) String() string {
|
|
str, _ := text.Marshal(0xed47e3c075be372a, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (AudioFeedbackDEPRECATED) DecodeFromPtr(p capnp.Ptr) AudioFeedbackDEPRECATED {
|
|
return AudioFeedbackDEPRECATED(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s AudioFeedbackDEPRECATED) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s AudioFeedbackDEPRECATED) Audio() (AudioFeedbackDEPRECATED_AudioData, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return AudioFeedbackDEPRECATED_AudioData(p.Struct()), err
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED) HasAudio() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED) SetAudio(v AudioFeedbackDEPRECATED_AudioData) error {
|
|
return capnp.Struct(s).SetPtr(0, capnp.Struct(v).ToPtr())
|
|
}
|
|
|
|
// NewAudio sets the audio field to a newly
|
|
// allocated AudioFeedbackDEPRECATED_AudioData struct, preferring placement in s's segment.
|
|
func (s AudioFeedbackDEPRECATED) NewAudio() (AudioFeedbackDEPRECATED_AudioData, error) {
|
|
ss, err := NewAudioFeedbackDEPRECATED_AudioData(capnp.Struct(s).Segment())
|
|
if err != nil {
|
|
return AudioFeedbackDEPRECATED_AudioData{}, err
|
|
}
|
|
err = capnp.Struct(s).SetPtr(0, capnp.Struct(ss).ToPtr())
|
|
return ss, err
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED) BlockNum() uint16 {
|
|
return capnp.Struct(s).Uint16(0)
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED) SetBlockNum(v uint16) {
|
|
capnp.Struct(s).SetUint16(0, v)
|
|
}
|
|
|
|
// AudioFeedbackDEPRECATED_List is a list of AudioFeedbackDEPRECATED.
|
|
type AudioFeedbackDEPRECATED_List = capnp.StructList[AudioFeedbackDEPRECATED]
|
|
|
|
// NewAudioFeedbackDEPRECATED creates a new list of AudioFeedbackDEPRECATED.
|
|
func NewAudioFeedbackDEPRECATED_List(s *capnp.Segment, sz int32) (AudioFeedbackDEPRECATED_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1}, sz)
|
|
return capnp.StructList[AudioFeedbackDEPRECATED](l), err
|
|
}
|
|
|
|
// AudioFeedbackDEPRECATED_Future is a wrapper for a AudioFeedbackDEPRECATED promised by a client call.
|
|
type AudioFeedbackDEPRECATED_Future struct{ *capnp.Future }
|
|
|
|
func (f AudioFeedbackDEPRECATED_Future) Struct() (AudioFeedbackDEPRECATED, error) {
|
|
p, err := f.Future.Ptr()
|
|
return AudioFeedbackDEPRECATED(p.Struct()), err
|
|
}
|
|
func (p AudioFeedbackDEPRECATED_Future) Audio() AudioFeedbackDEPRECATED_AudioData_Future {
|
|
return AudioFeedbackDEPRECATED_AudioData_Future{Future: p.Future.Field(0, nil)}
|
|
}
|
|
|
|
type AudioFeedbackDEPRECATED_AudioData capnp.Struct
|
|
|
|
// AudioFeedbackDEPRECATED_AudioData_TypeID is the unique identifier for the type AudioFeedbackDEPRECATED_AudioData.
|
|
const AudioFeedbackDEPRECATED_AudioData_TypeID = 0xb9e2c1d63cf178a1
|
|
|
|
func NewAudioFeedbackDEPRECATED_AudioData(s *capnp.Segment) (AudioFeedbackDEPRECATED_AudioData, error) {
|
|
st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return AudioFeedbackDEPRECATED_AudioData(st), err
|
|
}
|
|
|
|
func NewRootAudioFeedbackDEPRECATED_AudioData(s *capnp.Segment) (AudioFeedbackDEPRECATED_AudioData, error) {
|
|
st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1})
|
|
return AudioFeedbackDEPRECATED_AudioData(st), err
|
|
}
|
|
|
|
func ReadRootAudioFeedbackDEPRECATED_AudioData(msg *capnp.Message) (AudioFeedbackDEPRECATED_AudioData, error) {
|
|
root, err := msg.Root()
|
|
return AudioFeedbackDEPRECATED_AudioData(root.Struct()), err
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED_AudioData) String() string {
|
|
str, _ := text.Marshal(0xb9e2c1d63cf178a1, capnp.Struct(s))
|
|
return str
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED_AudioData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr {
|
|
return capnp.Struct(s).EncodeAsPtr(seg)
|
|
}
|
|
|
|
func (AudioFeedbackDEPRECATED_AudioData) DecodeFromPtr(p capnp.Ptr) AudioFeedbackDEPRECATED_AudioData {
|
|
return AudioFeedbackDEPRECATED_AudioData(capnp.Struct{}.DecodeFromPtr(p))
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED_AudioData) ToPtr() capnp.Ptr {
|
|
return capnp.Struct(s).ToPtr()
|
|
}
|
|
func (s AudioFeedbackDEPRECATED_AudioData) IsValid() bool {
|
|
return capnp.Struct(s).IsValid()
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED_AudioData) Message() *capnp.Message {
|
|
return capnp.Struct(s).Message()
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED_AudioData) Segment() *capnp.Segment {
|
|
return capnp.Struct(s).Segment()
|
|
}
|
|
func (s AudioFeedbackDEPRECATED_AudioData) Data() ([]byte, error) {
|
|
p, err := capnp.Struct(s).Ptr(0)
|
|
return []byte(p.Data()), err
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED_AudioData) HasData() bool {
|
|
return capnp.Struct(s).HasPtr(0)
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED_AudioData) SetData(v []byte) error {
|
|
return capnp.Struct(s).SetData(0, v)
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED_AudioData) SampleRate() uint32 {
|
|
return capnp.Struct(s).Uint32(0)
|
|
}
|
|
|
|
func (s AudioFeedbackDEPRECATED_AudioData) SetSampleRate(v uint32) {
|
|
capnp.Struct(s).SetUint32(0, v)
|
|
}
|
|
|
|
// AudioFeedbackDEPRECATED_AudioData_List is a list of AudioFeedbackDEPRECATED_AudioData.
|
|
type AudioFeedbackDEPRECATED_AudioData_List = capnp.StructList[AudioFeedbackDEPRECATED_AudioData]
|
|
|
|
// NewAudioFeedbackDEPRECATED_AudioData creates a new list of AudioFeedbackDEPRECATED_AudioData.
|
|
func NewAudioFeedbackDEPRECATED_AudioData_List(s *capnp.Segment, sz int32) (AudioFeedbackDEPRECATED_AudioData_List, error) {
|
|
l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 1}, sz)
|
|
return capnp.StructList[AudioFeedbackDEPRECATED_AudioData](l), err
|
|
}
|
|
|
|
// AudioFeedbackDEPRECATED_AudioData_Future is a wrapper for a AudioFeedbackDEPRECATED_AudioData promised by a client call.
|
|
type AudioFeedbackDEPRECATED_AudioData_Future struct{ *capnp.Future }
|
|
|
|
func (f AudioFeedbackDEPRECATED_AudioData_Future) Struct() (AudioFeedbackDEPRECATED_AudioData, error) {
|
|
p, err := f.Future.Ptr()
|
|
return AudioFeedbackDEPRECATED_AudioData(p.Struct()), err
|
|
}
|
|
|
|
const schema_80ef1ec4889c2a63 = "x\xda\xac\xbd}x\x1c\xd5y7|\xee\x19I+\xd9" +
|
|
"\xb2W\xeb\x91\xc1&!\x8b?H\x8c\x8a\x8d%\x9b`" +
|
|
"\x1c\xf3\x0aY\x12`#\xcbZ\xad\x0c\xb6K\x1afg" +
|
|
"\x8eV#\xcf\xce,3\xb3\xb2\xd6\x85\x18x\xa1\x05_" +
|
|
"p\x85\x10\xe8\x8b\x09\xb4\xc0\x8b{\x01/\xee\x0b\x14\x9e" +
|
|
"b\x8a\x13\xccc_\x81\x04RHq\x0a)~\x82i" +
|
|
"h!\x0f<\x89[hq\x1e`\x9f\xeb\xbe\xcf|\xed" +
|
|
"\xaeLd\xda\xbf4\xfb\x9b3g\xce\x9cs\x7f\x9d\xfb" +
|
|
"\xe3h\xf9\xb2\x85\x176t\xce\xda>\x9fI\xd9%\xd0" +
|
|
"\xd8T\xf9\xec\xd1'\xffr\xcf\xfb?\xbe\x81\xa5\x16A" +
|
|
"E\xeb\xb8\xe7\xa6\x83_\xf9\xcd\xb5\xac\xb19\xc1\xd8\x8a" +
|
|
"\xfb[\x7f\x06\xca\xfeV\xbc\xdc\xd7\xfa#`Pi\xfe" +
|
|
"\x8b?_\xf5\xeb\xffu\xeaM,\xb3\x14\xa4\xca\xc3K" +
|
|
"~S9\xfb\xe7\x8f<\xcd\x1ael\x03\x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
|
"\x9d\x13\xdcq\x0d\xdb\x0a\xdav\x8f\xa9\x96n\x86\x92S" +
|
|
"l\x86\x021ZP'\x87U+\xcf\xe3\xee2\x87\xbb" +
|
|
"\xe4\xc2e\xb2m\x85\xb6C\xd1\xde\xce#\xd1_0\xac" +
|
|
">42\xf0\xb1\xa0\xabQc\xd4\x1e\xe6.\x07g\x82" +
|
|
"\xeb(\xf3\xbb\xbd^\xbbdy!\x19a\x83\x0d\xead" +
|
|
"?\xa0>\xc0[\x10\xdds=\xb4\"F\xcaL.\x86" +
|
|
"\xdf\x85\x83\xab{\xcbthqP\x9d\xd8T\xd4U\x8f" +
|
|
"/\x1bP\xbd\xc4\x80\x95\xaf\x91L\x0b#\xb5\x13\x9a\x11" +
|
|
"K\x17F\xe2*\x81\x1b\x0c\x7f+\x910\xad|\xdd\xb6" +
|
|
"\xa2\xe5\xf73\xc2\xc5\x96\xeb.\xdb\xc0U\xb7\xe4p\x14" +
|
|
"sU?\x96\xf5\xda\x96\xebq\xd3L\xab\x81\x97\xed\xcb" +
|
|
"$\x066\xac%\x89\xd5\xbf\x90$\xd6\x05\x1d$\xb1\xce" +
|
|
"]K\x12k)\xfejL\x9d\xb9\x9a1hJ\x9d\xbe" +
|
|
"\x96\xb1\x9d%k\x9beo\xb7\x12\xf9\xa2\x9bts\xaa" +
|
|
"\xbb3o\xda\x96\xea\xba\xc9\xabv\xb8nw\x8e\x1b\xba" +
|
|
"]\xda\x99WM\xc3\xe4v8\xf8\xc4\x17\x19|\xafi" +
|
|
"k\xb0\x0d\x07za\xc8\xd5\x8f\x93-\x1d\x919\x1a_" +
|
|
"\xc0\xd8\x8a} A\xdchNIW\x0a\xbe~\x91\xcc" +
|
|
"\xa6\x90\x9e\x039\xa7\x1c\x86G\x18\xcb\xbe\x8e\xf8\xaf\x88" +
|
|
"\xafU\xc1\xd7G\xc9\xe8\x7f\x0b\xf1\xf7\x89\xaf\x9b\x04_" +
|
|
"\xbfG\xfc\xf2.\xe2\x1f\x12_\xe7\x04_\x1f\xa3M\xc8" +
|
|
"\x87 \xc3\xb0\x84l\xdd \xd8\xfaS\xea\xe6\x13l\xde" +
|
|
"\x8cx\xb3&\xd8\xbaQB\xab\xafA\x92!\xdb\x86x" +
|
|
"K\xa3`\xebY\x12~W+\xe2\xf3\x10\x9f\xa1\x0b\xb6" +
|
|
"\x9e+\xe1\xf0\xe7!\xbe\x18\xf1\x99M\x82\xad\x17H8" +
|
|
"\xfc\xc5\x88/G\xbc\x95\x0b\xb6^*\xa1\x18X\x8e\xf8" +
|
|
"\x1a\xc4g%\x04[\x9f/=\xc0Xv\x0d\xe2\x97 " +
|
|
">{\xb4\x1df3\xb6\xa2_\x9a\x83\xf36\x847\xae" +
|
|
"\xc0\x1b\xc9\xe6vH2\xa6l\x91~\xc7X\xf6J\xc4" +
|
|
"MI\x82\x8ag\x14\xf8\xa0j\xd9\x0c\\hd\x124" +
|
|
"\xa2-\xa8:\xfav\xd5\xe12\xae\xd4\xb6>\xc3\xd5l" +
|
|
"\xcb3\xac\x92\xe1\x95\x89\x0b#\x0e\x1aS]\xdc9o" +
|
|
"\x92,\x8d;\x9ejX^\x19;s#\xb72\xf6\xbf" +
|
|
"\x09\x15@p;\x89\xf7C.\x18S\xdd\x01\xae\x16\xb3" +
|
|
",\xcd5\xdb\x8av\x0b&\x82\\\xb3\x99l\xe9\xf1\xb7" +
|
|
"]T2\xcd\xb5`\xa8\xaexM\xf4\x9eQ\xbca\xa8" +
|
|
".K\xd3\x9d\xd8\xb7\xb8\x08\x0f2\xf1\xde\xa0y\xce\xef" +
|
|
"\x02?;6\x16l\xfa9\x1f\x83O}\xfe\xc7\xf49" +
|
|
"\xc6\xa8\x07\xf4\xd8\x10w\xba\xb3\xd5_\xa5\xe3\xddA\xd5" +
|
|
"\x02\xba\x9b\xe5Z\x02\xef\xd6>.o\xaa\x19\x80hk" +
|
|
"[P\xd3\xd3&K\x93j\x1b\x06\xaf\xac\x153M'" +
|
|
"\xcb\xa9\x09\xc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xf5d\xf7}uBr\x99" +
|
|
"\x1f\x17\xaf\xcf\x15\x18\x17\xb9\x02N,\x00TT\x1d\xc3" +
|
|
"+\x0f\xa9,\xe9\xba\\\xf7\x7f\x0es\x96\xce\x95\x0c\xd3" +
|
|
"\x9b^\xda\xcfT\xd9Hr\x7f\x1f\x89\xea\xf0\x1f\x18\xa4" +
|
|
"`\xb8B-\xfbT\x8f\x81z\x82\x92\xf70;i}" +
|
|
"\xe4\x8cN\xab\xf8\x18\xb4E}\xf9\x9a.g\xda\xda\xb6" +
|
|
"\xc1R\x01\x89*t\x87\x9c\\\x0d\xa7\xa9\xd6\x9d\x92\xdd" +
|
|
"\x15U0\x87\x05\xcc\x1d\xb1\xf2\xbd\xc0`\xab\xaaK\x0e" +
|
|
"B\x12\xc7\xbab\xce\xeb $\xf1\xd1xM\xad'j" +
|
|
"\x8fOw\xf9\x0eiq\xa8\xa3\x1c\x1c\xeaXU\xa3I" +
|
|
"u7(\x12\x96\x92[\xf1\xec\xe0\x8c\xed\xeaB\xcb)" +
|
|
"\x8fa\x9e\xa2\xf8\xb2:\xfbPT]rG\xf5\xab0" +
|
|
"\xa2\x12\x82\xe9\x17|\xfe\xdeR\xcc\xc9\x01\xdb\xde\xa6\x8e" +
|
|
"\xf1\xaa\x92\x81\x93;\x81 &\xd6\xd3f\x10Ch\x95" +
|
|
"\x1b\x00\x84\xa1\xb2\xda7T\xae\x88\x15fnq\x18\xcb" +
|
|
"l\x16\x16v\x9bTc`\xdf\"A7\xcd\x84;E" +
|
|
"\xf2\xa3\x98\x91\xb4\xa8\xb8\xa8\xcf\xbd\x12nHp\xbfH" +
|
|
"Q\xbf\xcf\xb4b\xa7\x10\xc4d\xe2^\x94\xae\x13\xe4\x1a" +
|
|
"o\xad\xf6\xa2H\x81\x17\xa5\xab*\xa78PN7R" +
|
|
"\x92m\xe4]\x09\x94\xd3\xcd\xe4\x15\x89\xbc+\x81r\xba" +
|
|
"\x95\x92ooA\xfc.)\x16\x1b\xb9\x93\x92x\xef\x08" +
|
|
"\x93\x90\x83\xd8Hm\x12rx\x10\xa4tZU\x12r" +
|
|
"x\x10$\xe5\xfbG\xde\x98\x193\xfc3\x9ah\xfcQ" +
|
|
"\x12\xf2\xcc\x99\xfeA\x904\xceG\x11\x7f\x9a\x92\x8d[" +
|
|
"\x85\x13\xe5)\xea'\xf2\xde\xcc\x9a%\x9c(\xfb\xe9{" +
|
|
"\x9fF\xfc y\xdcg\x0b'\xca\x01\xf2>=\x87\xf8" +
|
|
"\x9b\x94l\x9c\x14N\x947h\xfc\xaf!\xfe\x96$\x01" +
|
|
"\xb4\x09\x1f\xca\x11\x82_\x0fs\x99Sm\xc2\x87r\x94" +
|
|
"\xf0\xc8\x074'%|(\xef\x10\x1e\xe58+s\x84" +
|
|
"\x0f\xe5=rnE\x15x\xed\x8a\xf0\xa1\x1c\x93vT" +
|
|
"\xe52\xcf\x95\x84\x0f\xa56\x97\xf9\x94v\xe1C\x01\xf9" +
|
|
"\x11\xc6\xb2\x0d\xb2\x0c\xd96Y\x82t\xceV\x9d(H" +
|
|
"\x90\xb3m\xcf\xb4U\x9d\xc9<\x8c\xc9\xa5s\x8ej\x85" +
|
|
"M\xba\xc5\x8e/\x8c\x1e\xfa\x89\x83Q<\xc1\xb0\xf2\xdc" +
|
|
"):,aXa\xf81<\xc4\x06Ej\x10\x9d\x18" +
|
|
"CE\xeb\xff\x90c\x81\x8a\x82j\x95FU\xcdc\xc9" +
|
|
"\x92\x13\x1b\x05e\xfd\x87\xaf-:\xb6^\xd2\xa2\x178" +
|
|
"\xaan\xd8\x97q\x87%\xe9\x84\xac0\x0a\xca\x1dC\x8d" +
|
|
"\xf6\xa5n\xa9X\xb4\x1d\x8f\xb3\xb4\xde\x933Bnk" +
|
|
"\xf5\x0d\x14O\xcd\x87\x81\x91\xa4\x17K\xc6\x14fxp" +
|
|
"\xa7\xe4F\xc3\xaa\xf8gr\xf5\x82\xadsKEC\xa2" +
|
|
"\xe6\xce0\xeb\xe6&W]^{#\xcbd=\xcaa" +
|
|
"\x0e@\xe0Z\x89TgR\xf5\xb4\xf0\xc4\xbc\xff\x13\x00" +
|
|
"\x00\xff\xff\x10~\xff\xc8"
|
|
|
|
func RegisterSchema(reg *schemas.Registry) {
|
|
reg.Register(&schemas.Schema{
|
|
String: schema_80ef1ec4889c2a63,
|
|
Nodes: []uint64{
|
|
0x84caeca5a6b4acfe,
|
|
0x8817eeea389e9f08,
|
|
0x88dcce08ad29dda0,
|
|
0x8afd33dc9b35e1aa,
|
|
0x8cfeb072f5301000,
|
|
0x8fdfadb254ea867a,
|
|
0x9024e2d790c82ade,
|
|
0x90c8426c3eaddd3b,
|
|
0x92a5e332a85f32a0,
|
|
0x92e21bb7ea38793a,
|
|
0x939463348632375e,
|
|
0x943dc4625473b03f,
|
|
0x94b7baa90c5c321e,
|
|
0x9744f25fb60f2bf8,
|
|
0x9811e1f38f62f2d1,
|
|
0x9917470acf94d285,
|
|
0x9b326d4e436afec7,
|
|
0x9b513b93a887dbcd,
|
|
0x9eaef9187cadbb9b,
|
|
0x9ef1f3ff0deb5ffb,
|
|
0xa0e27b453a38f450,
|
|
0xa20710d4f428d6cd,
|
|
0xa26e3710efd3e914,
|
|
0xa37f0d8558e193fd,
|
|
0xa5b39b4fc4d7da3f,
|
|
0xa6f6ce72165ccb49,
|
|
0xa8883583b32c9877,
|
|
0xa99a9d5b33cf5859,
|
|
0xab54c59699f8f9f3,
|
|
0xac3de5c437be057a,
|
|
0xacfa74a094e62626,
|
|
0xb16f60103159415a,
|
|
0xb83c6cc593ed0a00,
|
|
0xb8aad62cffef28a9,
|
|
0xb99b2bc7a57e8128,
|
|
0xb9aa88c75ef99a1f,
|
|
0xb9e2c1d63cf178a1,
|
|
0xbcc3efbac41d2048,
|
|
0xbd8822120928120c,
|
|
0xbe09e615b2507e26,
|
|
0xc04e7b6231d4caa8,
|
|
0xc08240f996aefced,
|
|
0xc25bbbd524983447,
|
|
0xc5417a637451246f,
|
|
0xc8233c0345e27e24,
|
|
0xc871d3cc252af657,
|
|
0xcb6a279f015f6b51,
|
|
0xcbb9490adce12d72,
|
|
0xcd60164a8a0159ef,
|
|
0xce7cd672cacc7814,
|
|
0xcff7566681c277ce,
|
|
0xd1c9bef96d26fa91,
|
|
0xd4df5a192382ba0b,
|
|
0xd500d30c5803fa4f,
|
|
0xd7700859ed1f5b76,
|
|
0xd85d75253435bf4b,
|
|
0xd949bf717d77614d,
|
|
0xd97e3b28239f5580,
|
|
0xdb98be6565516acb,
|
|
0xdfdf30d03fc485bd,
|
|
0xe10e21168db0c7f7,
|
|
0xe2517b083095fd4e,
|
|
0xe3d6685d4e9d8f7a,
|
|
0xe7e17c434f865ae2,
|
|
0xe8db07dcf8fcea05,
|
|
0xec1ff7996b35366f,
|
|
0xed47e3c075be372a,
|
|
0xf5ad1d90cdc1dd6b,
|
|
0xf98f999c6a071122,
|
|
0xfe2919d5c21f426c,
|
|
},
|
|
Compressed: true,
|
|
})
|
|
}
|