cli
CITROS cli
Commands
initialization
analyze the ROS2 project and initialize the .citros folder with all the files needed to operate citros
citros init
[-d | --destination] <repository folder>
doctor
checks for problems in .citros folder and suggests fixes
citros doctor
[-d | --destination] <repository folder>
Run
starts a simulation locally or on remote
citros run
[-gh | --github]
[-c]
[-o]
[-D]
[-p]
[-r]
[-s]
[-t]
[-v]
[-w]
Batch
all batch operations
citros batch get <id>
citros batch list
citros batch delete <id> | <simulation>/<name>
Data access
This DB will be used wo store the indexed bags for the
citros data access
[-p]
[-v]
[-D]
citros data status
citros data create
[-n]
[-p]
[-u]
[-P]
[-v]
[-D]
citros data clean
[-d]
[-h]
[-m]
[-v]
[-D]
REST API details
The user can check the availability of the data in a rest api that will be created by the service.
check the availability of the data
GET http://{domain}:{port}/{batch run name}
{
"status": "unloaded",
"last access": "2020-01-01 00:00:00",
...
}
request access for batch run
POST http://{domain}:{port}/{batch run name}
{
"status": "loading",
"last access": "2020-01-01 00:00:00",
...
}
Reports
A report is a signed set of generated notebooks with batch run data.
this report can be shared trough CITROR or sent as a file.
citros report generate notebook.ipynb simulation/batch_run_name
citros report generator report_name
Observability
start a node that will measue system / ros metrics and publish all to a topic
citros observability
[-c]
[-t]
[-v]