ConsoleCommands - kizmit99/MechMind GitHub Wiki
-
Help or ?
- Description: Print this list of commands.
-
Restart
- Description: Perform a complete system restart.
-
LogLevel <component> <level>
- Description: Set the logger for the component to the level specified.
-
Parameters:
- component: The name of the component to set level for.
- level: The new log level: 0=DEBUG, 1=INFO, 2=WARN, 3=ERROR, or 4=FATAL.
-
FactoryReset
- Description: Restore all configuration parameters to defaults and restart the system.
-
ListConfig
- Description: Print out all of the configuration parameters.
-
SetConfig <namespace> <key> <newValue>
- Description: Update the specified configuration value - persistent across restarts.
-
Parameters:
- namespace: The namespace of the configuration entry to update (see ListConfig for valid options).
- key: The key name of the configuration entry to update (see ListConfig for valid options).
- newValue: The new value for the specified configuration namespace/key.
-
StickEnable
- Description: Enable the Drive joystick.
-
StickDisable
- Description: Disable the Drive joystick.
-
StickToggle
- Description: Toggle the enabled state of the Drive joystick.
-
DomeAutoOn
- Description: Enable the Auto Dome functionality.
-
DomeAutoOff
- Description: Disable the Auto Dome functionality.
-
DomeAutoToggle
- Description: Toggle the enabled state of the Auto Dome Functionality.
-
SetAction <action> <cmdList>
- Description: Configure the Commands associated with the specified Action - persistent across restarts.
-
Parameters:
- action: The Action to override.
- cmdList: The new list of instructions to associate with the Action.
-
Play <command>
- Description: Execute the specified Command or Action.
-
Parameters:
- command: This can be a Action, or a list of instructions (see ListConfig for examples).
-
ResetAction <action>
- Description: Restore the default Commands associated with the specified Action - persistent across restarts.
-
Parameters:
- action: The Action to override.
-
testPanel <panel> <value>
- Description: Test a panel by setting its servo controller to the specified (uS) value.
-
Parameters:
-
panel: Number identifying the panel to test (between 1 and
LOCAL_PANEL_COUNT
). - value: The microsecond value to send to the PWM controlling the panel (generally between 500 and 2500).
-
panel: Number identifying the panel to test (between 1 and