|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectroomba.roombanetwork.services.camloc.CameraLocalizationService
public class CameraLocalizationService
Provides a camera localization service to the Roomba Network. Will consume an image track from a ColorFinderService and the odometry readings from a RoombaService to determine where the Roomba is located
| Constructor Summary | |
|---|---|
CameraLocalizationService(java.lang.String serviceName,
java.lang.String rnsHost,
int rnsPort,
java.lang.String imageTrackName,
java.lang.String roombaName)
Constructor - creates the RNC and will image tracks and odometry readings from the specified services. |
|
| Method Summary | |
|---|---|
RoombaNetworkClient |
getRNC()
Gets the Roomba Network Client |
void |
messageReceived(java.lang.String messageType,
java.lang.String[] messageComponents)
Processes a message received. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CameraLocalizationService(java.lang.String serviceName,
java.lang.String rnsHost,
int rnsPort,
java.lang.String imageTrackName,
java.lang.String roombaName)
serviceName - Name of the CameraLocalizationServicernsHost - The hostname (or IP address) of the RNSrnsPort - The port of the RNS (default is 7777)imageTrackName - Name of the image track to useroombaName - Name of the roomba to use| Method Detail |
|---|
public RoombaNetworkClient getRNC()
public void messageReceived(java.lang.String messageType,
java.lang.String[] messageComponents)
messageReceived in interface ClientListenermessageType - The message typemessageComponents - The components of the received message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||