java.lang.RunnableLocalizeSamgarCompetency, NavigationSamgarCompetency, TestSamgarCompetency, TestSamgarCompetency2public abstract class SamgarCompetency
extends cmion.level2.Competency
| Constructor | Description |
|---|---|
SamgarCompetency(cmion.architecture.IArchitecture architecture) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
initialize() |
in here we initialize the yarp port
|
abstract void |
onRead(yarp.Bottle bottle_in) |
every samgar competency has to implement this function in which it will
receive bottles that the connected samgar module sends
|
protected yarp.Bottle |
prepareBottle() |
every Samgar competency can use this function to acquire a bottle that the module
can subsequently fill with data and that will be sent to the connected Samgar module
upon calling sendBottle()
|
protected void |
sendBottle() |
every Samgar competency can use this function to send a bottle (that has been retrieved
previously through a call of prepareBottle() to the connected Samgar module
|
void |
setAdditionalData(java.lang.Object data) |
getArchitecture, isConnected, onDestroy, raisecancel, competencyCode, getCompetencyName, getCompetencyType, isAvailable, isRunning, registerHandlers, requestStartCompetency, run, runsInBackgroundpublic SamgarCompetency(cmion.architecture.IArchitecture architecture)
public void setAdditionalData(java.lang.Object data)
setAdditionalData in class cmion.level2.Competencypublic final void initialize()
initialize in class cmion.level2.Competencyprotected final yarp.Bottle prepareBottle()
protected final void sendBottle()
public abstract void onRead(yarp.Bottle bottle_in)