scenario_execution_ros.actions.ros_bag_record module

class scenario_execution_ros.actions.ros_bag_record.RosBagRecord(*args: Any, **kwargs: Any)

Bases: RunProcess

Class to execute ros bag recording

check_running_process()

hook to check running process

return:

py_trees.common.Status

execute(topics: list, timestamp_suffix: bool, hidden_topics: bool, storage: str, use_sim_time: bool)
get_logger_stderr()

get logger for stderr messages

on_executed()

Hook when process gets executed

on_process_finished(ret)

check result of process

return:

py_trees.common.Status

setup(**kwargs)

set up

shutdown()
class scenario_execution_ros.actions.ros_bag_record.RosBagRecordActionState(value)

Bases: Enum

States for executing a ros bag recording

FAILURE = 5
RECORDING = 2
WAITING_FOR_TOPICS = 1