Documentation ¶
Overview ¶
Package singleaxis implements a single-axis gantry.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config 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_rev"` GantryMmPerSec float64 `json:"gantry_mm_per_sec,omitempty"` }
Config is used for converting singleAxis config attributes.
Click to show internal directories.
Click to hide internal directories.