Difference between revisions of "Architecture:Unique Event Codes"

From The BABEL Development Site
m (Protected "Architecture:Unique Event Codes" [edit=autoconfirmed:move=autoconfirmed])
(Event Codes)
Line 6: Line 6:
  
 
= Event Codes =
 
= Event Codes =
 +
 +
 +
== Normalized events for modules with the standardized Common Sensory IF ==
 +
 +
<center>
 +
<table border="1">
 +
<tr><td>'''Module name'''</td>
 +
<td>'''Code for onNewObservation events'''</td>
 +
<td>'''Code for onFailure events'''</td></tr>
 +
<tr><td>BS_IncrementalEgoMotion</td><td>1000</td><td>1001</td></tr>
 +
<tr><td>BS_RangeSensors </td><td>1005</td><td>1006</td></tr>
 +
<tr><td>BS_GPS </td><td>1010</td><td>1011</td></tr>
 +
<tr><td>BS_GasSensors</td><td>1015 </td><td>1016</td></tr>
 +
<tr><td>BS_Vision</td><td>1020 </td><td>1021</td></tr>
 +
<tr><td>BS_Batteries</td><td>1025 </td><td>1026</td></tr>
 +
<tr><td>SD_HumanRobotInterfaces </td><td>1500 </td><td>1501</td></tr>
 +
<tr><td>SD_PeopleDetector </td><td>1505 </td><td>1506</td></tr>
 +
<tr><td>SD_Local3DMap </td><td>1510 </td><td>1511</td></tr>
 +
<tr><td>SD_VisualLandmarks3D </td><td>1515 </td><td>1516</td></tr>
 +
<tr><td>SD_HumanRobotInterfaces </td><td>1520 </td><td>1521</td></tr>
 +
</table>
 +
</center>
 +
 +
 +
 +
Note that an event is raised whether the action finished successfully or by an error: the module should be asked for the termination state after the reception of a termination event:
 +
 +
Module name Code for
 +
onActionTermination
 +
events
 +
BA_Speech 2000
 +
 +
 +
FE_HumanRobotInterfaces 2500
 +
FE_ReactiveNavigation 2505
 +
FE_PathFollowing 2510
 +
FE_DoorOpening 2515
 +
 +
 +
 +
== Special cases ==
 +
 +
Module name Code for
 +
onActionTermination
 +
events
 +
DRV_SPEECH 5000

Revision as of 15:18, 17 May 2009

Previous: Data Types Next: RPD_Server


Event Codes

Normalized events for modules with the standardized Common Sensory IF

Module name Code for onNewObservation events Code for onFailure events
BS_IncrementalEgoMotion10001001
BS_RangeSensors 10051006
BS_GPS 10101011
BS_GasSensors1015 1016
BS_Vision1020 1021
BS_Batteries1025 1026
SD_HumanRobotInterfaces 1500 1501
SD_PeopleDetector 1505 1506
SD_Local3DMap 1510 1511
SD_VisualLandmarks3D 1515 1516
SD_HumanRobotInterfaces 1520 1521


Note that an event is raised whether the action finished successfully or by an error: the module should be asked for the termination state after the reception of a termination event:

Module name Code for onActionTermination

events

BA_Speech 2000


FE_HumanRobotInterfaces 2500 FE_ReactiveNavigation 2505 FE_PathFollowing 2510 FE_DoorOpening 2515


Special cases

Module name Code for onActionTermination

events

DRV_SPEECH 5000