Get desktop application:
View/edit binary Protocol Buffers messages
The LogStatusService provides clients the ability to - Retrieve log status by id - Access a collection of active logs - Start and stop retro logs - Start, extend and stop experiment logs - Terminate logs before their expiration time
Retrieve log status by id.
Common request header.
Id of the log to retrieve.
Common response header.
Response status.
Status of the retrieved log.
View statuses of active logs.
Common request header.
Common response header.
Response status.
A collection of the statuses of logs that are not in a terminal state (logStatus < 100)
Given a duration T, StartRetroLog(T) triggers a log covering the timespan [logStartTime, t_rpc], where logStartTime = max(t_rpc - T, t_buffer), t_rpc = time of RPC reception, and t_buffer = time of first log on the buffer.
Common request header.
How long into the past should this log start?
Common response header.
Response status.
Status of the created log.
Timestamp of the end of the log, in robot time.
Given a duration T, StartExperimentLog(T) starts logging all data to disk with a keepalive/watchdog timer of T. The duration of the log will be [t_rpc, t_rpc + T] where t_rpc = time of RPC reception. The duration of this log can be extended by calling UpdateExperimentLog before the log's status reaches a terminal state. If any retro logs are running, they will be terminated by starting an experiment log. Only one experiment log can be run at a time.
Common request header.
How long into the future should this log end?
Common response header.
Response status.
Status of the created log.
Timestamp of the end of the log, in robot time.
UpdateExperimentLog(id, T) will update the keepalive/watchdog timer of the log with the provided id if the log is active. The updated duration of the log will be [t_rpc, t_rpc + T] where t_rpc = time of RPC reception.
Common request header.
How long into the future should this log continue?
Id of log to be extended.
Common response header.
Response status.
Status of the updated log.
Timestamp of the end of the log, in robot time.
Terminate Log before it is complete.
Common request header.
Id of log to terminate.
Common response header.
Response status.
Status of terminated log.
Used in:
Used in:
This log is not available on the robot.
Used in:
, , , , ,Id of the response log.
Status of the response log.
Type of log.
Status of a previous request for log bundler generation. Terminal statuses start at 100, such that if a status >= DONE, it can be concluded that the request is no longer active.
Used in:
The status was not set, so something went wrong.
Request received, thread is not created for bundling the logs.
Request in progress, thread is actively creating the bundle.
Log end_time has passed, server post processing taking place.
Bundling process is complete with no failures and was terminated by API.
Failure encountered while generating bundle.
Bundle creation was terminated by API prior to completion.
Types of logs
Used in:
A log into the future.
A retroactive log.
Used in:
Cannot start another experiment log, one is already running.
Used in:
An experiment log is already running.
Maximum retro logs running concurrently.
Used in:
This log is not available on the robot.
Used in:
This log is not available on the robot
Log has already terminated