hbp_nrp_cleserver.server package

The package contains the implementation of the Closed Loop Engine Server (CLEServer) and the Close Loop Engine Simulation Factory (CLESimulationFactory)

The ROSCLEServer module provides utility classes to run the Closed Loop Engine in a separate process, while communicating with it through ROS services.

SERVICE_ACTIVATE_TRANSFER_FUNCTION(sim_id)
SERVICE_ADD_ROBOT(sim_id)
SERVICE_ADD_TRANSFER_FUNCTION(sim_id)
SERVICE_CLEAN_CSV_RECORDERS_FILES(sim_id)
SERVICE_CONVERT_TRANSFER_FUNCTION_RAW_TO_STRUCTURED(sim_id)
SERVICE_DELETE_TRANSFER_FUNCTION(sim_id)
SERVICE_DEL_ROBOT(sim_id)
SERVICE_EDIT_TRANSFER_FUNCTION(sim_id)
SERVICE_GET_BRAIN(sim_id)
SERVICE_GET_CSV_RECORDERS_FILES(sim_id)
SERVICE_GET_POPULATIONS(sim_id)
SERVICE_GET_ROBOTS(sim_id)
SERVICE_GET_TRANSFER_FUNCTIONS(sim_id)
SERVICE_PREPARE_CUSTOM_MODEL(sim_id)
SERVICE_SET_BRAIN(sim_id)
SERVICE_SET_EXC_ROBOT_POSE(sim_id)
SERVICE_SET_POPULATIONS(sim_id)
SERVICE_SIMULATION_RECORDER(sim_id)
SERVICE_SIM_EXTEND_TIMEOUT_ID(sim_id)
SERVICE_SIM_PAUSE_ID(sim_id)
SERVICE_SIM_RESET_ID(sim_id)
SERVICE_SIM_START_ID(sim_id)
SERVICE_SIM_STATE_ID(sim_id)
SERVICE_SIM_STOP_ID(sim_id)
TOPIC_LIFECYCLE(sim_id)
ros_handler(func)[source]

A decorator for ROS handlers.

Parameters

func – the function to decorate.

Returns

a wrapped function