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