Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForceReceived ¶
func ForceReceived(f physic.Force) display.ActualInput
ForceReceived returns an ActualInput for force received Deprecated: use DynamicForceInput instead
func ForceRequired ¶
func ForceRequired(f physic.Force) display.ExpectedInput
Types ¶
type DynamicEdgeInput ¶
type DynamicEdgeInput struct {
// contains filtered or unexported fields
}
func (*DynamicEdgeInput) GetValue ¶
func (input *DynamicEdgeInput) GetValue() display.UserInputValue
func (*DynamicEdgeInput) Satisfies ¶
func (input *DynamicEdgeInput) Satisfies(expectedInput display.ExpectedInput) bool
func (*DynamicEdgeInput) Update ¶
func (input *DynamicEdgeInput) Update(samples ...loadcell.ForceSample)
type DynamicForceInput ¶
type DynamicForceInput struct {
// contains filtered or unexported fields
}
func (*DynamicForceInput) GetForce ¶
func (input *DynamicForceInput) GetForce() physic.Force
func (*DynamicForceInput) GetValue ¶
func (input *DynamicForceInput) GetValue() display.UserInputValue
func (*DynamicForceInput) Satisfies ¶
func (input *DynamicForceInput) Satisfies(expected display.ExpectedInput) bool
func (*DynamicForceInput) UpdateForceInput ¶
func (input *DynamicForceInput) UpdateForceInput(f physic.Force)
type EdgeInput ¶
type EdgeInput interface { display.ExpectedInput // contains filtered or unexported methods }
func RisingEdge ¶
type ForceInput ¶
type ForceInput interface { display.ExpectedInput GetForce() physic.Force }
Click to show internal directories.
Click to hide internal directories.