Command Line Interface¶
jaeger provides a command line interface that can be accessed via the jaeger
command. The following options are available and can be queried by running jaeger --help
.
jaeger¶
CLI for the SDSS-V focal plane system.
If called without subcommand starts the actor.
jaeger [OPTIONS] COMMAND [ARGS]...
Options
-
-c
,
--config
<config_file>
¶ Path to the user configuration file.
-
-p
,
--profile
<profile>
¶ The bus interface profile.
-
-l
,
--layout
<layout>
¶ The FPS layout.
-
-v
,
--verbose
¶
Debug mode. Use additional v for more details.
-
-q
,
--quiet
¶
Disable all console logging.
-
--ieb
,
--no-ieb
¶
Does not connect to the IEB.
-
--danger
¶
Enables engineering mode. Most safety checks will be disabled.
-
-s
,
--sextant
¶
Use engineering sextant instead of IEB. Modifies the internal configuration file.
actor¶
Runs the actor.
jaeger actor [OPTIONS] COMMAND [ARGS]...
Options
-
--no-tron
¶
Does not connect to Tron.
calibrate¶
Runs a full calibration on a positioner.
jaeger calibrate [OPTIONS] POSITIONER_ID
Options
-
--motors
,
--no-motors
¶
Run the motor calibration.
-
--datums
,
--no-datums
¶
Run the datum calibration.
-
--cogging
,
--no-cogging
¶
Run the cogging calibration (can take a long time).
Arguments
-
POSITIONER_ID
¶
Required argument
demo¶
Moves a robot to random positions.
jaeger demo [OPTIONS] POSITIONER
Options
-
-n
,
--moves
<moves>
¶ Number of moves to perform. Otherwise runs forever.
-
--alpha
<alpha>
¶ Range of alpha positions.
- Default
0, 360
-
--beta
<beta>
¶ Range of beta positions.
- Default
0, 180
-
--speed
<speed>
¶ Range of speed.
- Default
500, 1500
-
-f
,
--skip-errors
¶
If an error occurs, ignores it and commands another move.
Arguments
-
POSITIONER
¶
Required argument
goto¶
Moves a robot to a given position.
jaeger goto [OPTIONS] POSITIONER ALPHA BETA
Options
-
--speed
<speed>
¶ The speed for the alpha and beta motors.
- Default
None, None
Arguments
-
POSITIONER
¶
Required argument
-
ALPHA
¶
Required argument
-
BETA
¶
Required argument
set-positions¶
Sets the position of the alpha and beta arms.
jaeger set-positions [OPTIONS] POSITIONER ALPHA BETA
Arguments
-
POSITIONER
¶
Required argument
-
ALPHA
¶
Required argument
-
BETA
¶
Required argument
upgrade-firmware¶
Upgrades the firmaware.
jaeger upgrade-firmware [OPTIONS] FIRMWARE_FILE
Options
-
-f
,
--force
¶
Forces skipping of invalid positioners
-
-s
,
--positioners
<positioners>
¶ Comma-separated positioners to upgrade
-
-c
,
--cycle
¶
Power cycle positioners before upgrade to set them to bootloader mode. If –sextant not used, cycles all sextants
-
--sextant
<sextant>
¶ The sextant to power cycle
Arguments
-
FIRMWARE_FILE
¶
Required argument