pyrobosim_ros.ros_interface.WorldROSWrapper.set_location_state_callback
- WorldROSWrapper.set_location_state_callback(request, response)
Sets the state of a location in the world as a response to a service request.
- Parameters:
request (
pyrobosim_msgs.srv.SetLocationState.Request) – The service request.response (
pyrobosim_msgs.srv.SetLocationState.Response) – The unmodified service response.
- Returns:
The modified service response containing result of setting the location state.
- Return type:
pyrobosim_msgs.srv.RequestWorldState.Response