Documentation ¶
Index ¶
Constants ¶
View Source
const ( MinPwmThrottle = 972.0 MaxPwmThrottle = 1954.0 )
Variables ¶
View Source
var ( DefaultPwmThrottle = PWMConfig{ Min: MinPwmThrottle, Max: MaxPwmThrottle, Middle: MinPwmThrottle + (MaxPwmThrottle-MinPwmThrottle)/2, } )
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.9.0
type Option func(p *Part)
func WithMaxThrottleCtrl ¶ added in v0.11.0
func WithSteeringConfig ¶ added in v0.9.0
func WithThrottleConfig ¶ added in v0.9.0
func WithThrottleFeedbackConfig ¶ added in v0.9.0
type PWMConfig ¶ added in v0.9.0
func NewAsymetricPWMConfig ¶ added in v0.9.0
func NewPWMConfig ¶ added in v0.9.0
type Part ¶
type Part struct {
// contains filtered or unexported fields
}
func (*Part) MaxThrottleCtrl ¶ added in v0.11.0
func (*Part) SwitchRecord ¶ added in v0.9.0
func (*Part) ThrottleFeedback ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.