Discover Packages
github.com/badimirzai/architon-cli
internal
model
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: May 3, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Battery struct {
Chemistry string `yaml:"chemistry"`
VoltageV float64 `yaml:"voltage_v"`
MaxCurrentA float64 `yaml:"max_current_a"`
CapacityAh float64 `yaml:"capacity_ah"`
CRating float64 `yaml:"c_rating"`
MaxDischargeA float64 `yaml:"max_discharge_a"`
}
type I2CBus struct {
Name string `yaml:"name"`
Devices []I2CDevice `yaml:"devices"`
}
type I2CDevice struct {
Part string `yaml:"part,omitempty"`
Name string `yaml:"name"`
AddressHex I2CAddress `yaml:"address_hex"`
}
type MCU struct {
Part string `yaml:"part,omitempty"`
Name string `yaml:"name"`
LogicVoltageV float64 `yaml:"logic_voltage_v"`
MaxGPIOCurrentmA float64 `yaml:"max_gpio_current_ma"`
}
type Motor struct {
Part string `yaml:"part,omitempty"`
Name string `yaml:"name"`
Count int `yaml:"count"`
VoltageMinV float64 `yaml:"voltage_min_v"`
VoltageMaxV float64 `yaml:"voltage_max_v"`
StallCurrentA float64 `yaml:"stall_current_a"`
NominalCurrentA float64 `yaml:"nominal_current_a"`
}
type MotorDriver struct {
Part string `yaml:"part,omitempty"`
Name string `yaml:"name"`
MotorSupplyMinV float64 `yaml:"motor_supply_min_v"`
MotorSupplyMaxV float64 `yaml:"motor_supply_max_v"`
ContinuousPerChA float64 `yaml:"continuous_per_channel_a"`
PeakPerChA float64 `yaml:"peak_per_channel_a"`
Channels int `yaml:"channels"`
LogicVoltageMinV float64 `yaml:"logic_voltage_min_v"`
LogicVoltageMaxV float64 `yaml:"logic_voltage_max_v"`
}
type PowerSpec struct {
Battery Battery `yaml:"battery"`
Rail Rail `yaml:"logic_rail"`
}
type Rail struct {
VoltageV float64 `yaml:"voltage_v"`
MaxCurrentA float64 `yaml:"max_current_a"`
}
type RobotSpec struct {
Name string `yaml:"name"`
Power PowerSpec `yaml:"power"`
Motors []Motor `yaml:"motors"`
Driver MotorDriver `yaml:"motor_driver"`
MCU MCU `yaml:"mcu"`
I2CBuses []I2CBus `yaml:"i2c_buses"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.