Marker Server Node
This node implements a service to provide information of each room id.
Services:
/room_info
Description:
This node implements a service: it requires the id (marker) detected by the robot and it replies with the information about the corresponding room (name of the room, coordinates of the center, connections with other rooms)
Functions
-
bool markerCallback(assignment2::RoomInformation::Request &req, assignment2::RoomInformation::Response &res)
Callback function for
room_info
service.- Parameters
req –
res –
- Returns
true
- Returns
false
-
int main(int argc, char **argv)
main function for
marker_server
node- Parameters
argc –
argv –
- Returns
int