fbtypes

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnumNamesProfileType = map[ProfileType]string{
	ProfileTypeUnknown:                  "Unknown",
	ProfileTypeServodrive_over_Ethercat: "Servodrive_over_Ethercat",
	ProfileTypeCANopen_over_Ethercat:    "CANopen_over_Ethercat",
}
View Source
var EnumNamesScalingStrategy = map[ScalingStrategy]string{
	ScalingStrategyUNKNOWN:          "UNKNOWN",
	ScalingStrategySOE_STANDARD:     "SOE_STANDARD",
	ScalingStrategyCOE_CALC_DRIVE:   "COE_CALC_DRIVE",
	ScalingStrategyCOE_CALC_CONTROL: "COE_CALC_CONTROL",
}
View Source
var EnumNamesdeviceScalingType = map[deviceScalingType]string{
	// contains filtered or unexported fields
}
View Source
var EnumNamesvariableType = map[variableType]string{
	// contains filtered or unexported fields
}
View Source
var EnumValuesProfileType = map[string]ProfileType{
	"Unknown":                  ProfileTypeUnknown,
	"Servodrive_over_Ethercat": ProfileTypeServodrive_over_Ethercat,
	"CANopen_over_Ethercat":    ProfileTypeCANopen_over_Ethercat,
}
View Source
var EnumValuesScalingStrategy = map[string]ScalingStrategy{
	"UNKNOWN":          ScalingStrategyUNKNOWN,
	"SOE_STANDARD":     ScalingStrategySOE_STANDARD,
	"COE_CALC_DRIVE":   ScalingStrategyCOE_CALC_DRIVE,
	"COE_CALC_CONTROL": ScalingStrategyCOE_CALC_CONTROL,
}
View Source
var EnumValuesdeviceScalingType = map[string]deviceScalingType{
	"UNDEFINED":  deviceScalingTypeUNDEFINED,
	"ROTARY":     deviceScalingTypeROTARY,
	"PERCENTAGE": deviceScalingTypePERCENTAGE,
	"LINEAR":     deviceScalingTypeLINEAR,
}
View Source
var EnumValuesvariableType = map[string]variableType{
	"BASE":     variableTypeBASE,
	"VELOCITY": variableTypeVELOCITY,
	"HOMING":   variableTypeHOMING,
	"PROBE":    variableTypePROBE,
}

Functions

func APRBootStateAddActStep

func APRBootStateAddActStep(builder *flatbuffers.Builder, actStep uint32)

func APRBootStateAddMaxSteps

func APRBootStateAddMaxSteps(builder *flatbuffers.Builder, maxSteps uint32)

func APRBootStateAddText

func APRBootStateAddText(builder *flatbuffers.Builder, text flatbuffers.UOffsetT)

func APRBootStateEnd

func APRBootStateEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func APRBootStateStart

func APRBootStateStart(builder *flatbuffers.Builder)

func GetRootAsdummyFbs

func GetRootAsdummyFbs(buf []byte, offset flatbuffers.UOffsetT) *dummyFbs

func GetRootAsmappingEntry

func GetRootAsmappingEntry(buf []byte, offset flatbuffers.UOffsetT) *mappingEntry

func GetRootAsprofile

func GetRootAsprofile(buf []byte, offset flatbuffers.UOffsetT) *profile

func GetRootAsprofileConfig

func GetRootAsprofileConfig(buf []byte, offset flatbuffers.UOffsetT) *profileConfig

func GetRootAsprofileConfigInfo

func GetRootAsprofileConfigInfo(buf []byte, offset flatbuffers.UOffsetT) *profileConfigInfo

func GetRootAsprofileDeviceScalingType added in v1.1.0

func GetRootAsprofileDeviceScalingType(buf []byte, offset flatbuffers.UOffsetT) *profileDeviceScalingType

func GetRootAsprofileScalingCfg added in v1.1.0

func GetRootAsprofileScalingCfg(buf []byte, offset flatbuffers.UOffsetT) *profileScalingCfg

func GetRootAsprofileScalingStrategy added in v1.1.0

func GetRootAsprofileScalingStrategy(buf []byte, offset flatbuffers.UOffsetT) *profileScalingStrategy

func GetRootAsprofileTypeData

func GetRootAsprofileTypeData(buf []byte, offset flatbuffers.UOffsetT) *profileTypeData

func GetRootAsvalueMapping

func GetRootAsvalueMapping(buf []byte, offset flatbuffers.UOffsetT) *valueMapping

func GetSizePrefixedRootAsdummyFbs

func GetSizePrefixedRootAsdummyFbs(buf []byte, offset flatbuffers.UOffsetT) *dummyFbs

func GetSizePrefixedRootAsmappingEntry

func GetSizePrefixedRootAsmappingEntry(buf []byte, offset flatbuffers.UOffsetT) *mappingEntry

func GetSizePrefixedRootAsprofile

func GetSizePrefixedRootAsprofile(buf []byte, offset flatbuffers.UOffsetT) *profile

func GetSizePrefixedRootAsprofileConfig

func GetSizePrefixedRootAsprofileConfig(buf []byte, offset flatbuffers.UOffsetT) *profileConfig

func GetSizePrefixedRootAsprofileConfigInfo

func GetSizePrefixedRootAsprofileConfigInfo(buf []byte, offset flatbuffers.UOffsetT) *profileConfigInfo

func GetSizePrefixedRootAsprofileDeviceScalingType added in v1.1.0

func GetSizePrefixedRootAsprofileDeviceScalingType(buf []byte, offset flatbuffers.UOffsetT) *profileDeviceScalingType

func GetSizePrefixedRootAsprofileScalingCfg added in v1.1.0

func GetSizePrefixedRootAsprofileScalingCfg(buf []byte, offset flatbuffers.UOffsetT) *profileScalingCfg

func GetSizePrefixedRootAsprofileScalingStrategy added in v1.1.0

func GetSizePrefixedRootAsprofileScalingStrategy(buf []byte, offset flatbuffers.UOffsetT) *profileScalingStrategy

func GetSizePrefixedRootAsprofileTypeData

func GetSizePrefixedRootAsprofileTypeData(buf []byte, offset flatbuffers.UOffsetT) *profileTypeData

func GetSizePrefixedRootAsvalueMapping

func GetSizePrefixedRootAsvalueMapping(buf []byte, offset flatbuffers.UOffsetT) *valueMapping

Types

type APRBootState

type APRBootState struct {
	// contains filtered or unexported fields
}

func GetRootAsAPRBootState

func GetRootAsAPRBootState(buf []byte, offset flatbuffers.UOffsetT) *APRBootState

func GetSizePrefixedRootAsAPRBootState

func GetSizePrefixedRootAsAPRBootState(buf []byte, offset flatbuffers.UOffsetT) *APRBootState

func (*APRBootState) ActStep

func (rcv *APRBootState) ActStep() uint32

/ text of the boot step (can be shown in an HMI) / current boot step (starts with 0, ends with maxSteps)

func (*APRBootState) Init

func (rcv *APRBootState) Init(buf []byte, i flatbuffers.UOffsetT)

func (*APRBootState) MaxSteps

func (rcv *APRBootState) MaxSteps() uint32

/ number of boot steps (when actStep == maxSteps then the booting is finished)

func (*APRBootState) MutateActStep

func (rcv *APRBootState) MutateActStep(n uint32) bool

/ current boot step (starts with 0, ends with maxSteps)

func (*APRBootState) MutateMaxSteps

func (rcv *APRBootState) MutateMaxSteps(n uint32) bool

/ number of boot steps (when actStep == maxSteps then the booting is finished)

func (*APRBootState) Table

func (rcv *APRBootState) Table() flatbuffers.Table

func (*APRBootState) Text

func (rcv *APRBootState) Text() []byte

/ text of the boot step (can be shown in an HMI)

func (*APRBootState) UnPack added in v1.1.0

func (rcv *APRBootState) UnPack() *APRBootStateT

func (*APRBootState) UnPackTo added in v1.1.0

func (rcv *APRBootState) UnPackTo(t *APRBootStateT)

type APRBootStateT added in v1.1.0

type APRBootStateT struct {
	Text     string
	ActStep  uint32
	MaxSteps uint32
}

/ return type of requests of the current boot state

func (*APRBootStateT) Pack added in v1.1.0

type ProfileType

type ProfileType uint32
const (
	ProfileTypeUnknown                  ProfileType = 0
	ProfileTypeServodrive_over_Ethercat ProfileType = 1
	ProfileTypeCANopen_over_Ethercat    ProfileType = 2
)

func (ProfileType) String

func (v ProfileType) String() string

type ScalingStrategy added in v1.1.0

type ScalingStrategy uint32
const (
	ScalingStrategyUNKNOWN          ScalingStrategy = 0
	ScalingStrategySOE_STANDARD     ScalingStrategy = 1
	ScalingStrategyCOE_CALC_DRIVE   ScalingStrategy = 2
	ScalingStrategyCOE_CALC_CONTROL ScalingStrategy = 3
)

func (ScalingStrategy) String added in v1.1.0

func (v ScalingStrategy) String() string

Jump to

Keyboard shortcuts

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