Documentation ¶
Overview ¶
Package oneaxis implements a one-axis gantry.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrConfig ¶
type AttrConfig struct { Board string `json:"board,omitempty"` // used to read limit switch pins and control motor with gpio pins Motor string `json:"motor"` LimitSwitchPins []string `json:"limit_pins,omitempty"` LimitPinEnabled *bool `json:"limit_pin_enabled_high,omitempty"` LengthMm float64 `json:"length_mm"` MmPerRevolution float64 `json:"mm_per_revolution,omitempty"` GantryRPM float64 `json:"gantry_rpm,omitempty"` Axis spatial.TranslationConfig `json:"axis"` }
AttrConfig is used for converting oneAxis config attributes.
Click to show internal directories.
Click to hide internal directories.