Module interface:hexapod - Hexapod robot control interface
Hexapod robot control interface. This is specifically for handling Kent's LynxMotion AHR-3 hexapod robot, with 3 "PING)))" ultrasonic range-finders (on a rotating platform), 6 foot pressure sensors and 4 accelerometers.
Index
-
Channel type
CT.HEXAPOD- Hexapod channel-type -
Channel type
CT.HEXAPOD.EVENT- Hexapod event channel-type-
Variable
in?- Event control -
Variable
out!- Events out
-
Variable
-
Record
HEXAPOD.EVENT- Hexapod event output data structure-
Variable
accel- Accelerometer values (0-127-255) -
Variable
feet- Foot pressure sensor values (0-255) -
Variable
range.pos- Ranger relative position (1100-1500-1900) -
Variable
ranges- Range data (0-65535)
-
Variable
-
Group
HPEV- Hexapod event flags-
Constant
HPEV.ACCEL- Accelerometer values -
Constant
HPEV.FEET- Foot pressure sensor data -
Constant
HPEV.NONE- No events -
Constant
HPEV.RANGE- Range-sensor data
-
Constant
-
Protocol
P.HEXAPOD.EVENT.IN- Hexapod event input protocol-
Tag
close- Close event connection -
Tag
set.event.mask- Set event mask
-
Tag
-
Protocol
P.HEXAPOD.EVENT.OUT- Hexapod event output protocol-
Tag
closed- No more events -
Tag
event- Event data
-
Tag
-
Protocol
P.HEXAPOD.IN- Hexapod input protocol-
Tag
add.event.listener- Add event listener
-
Tag
-
Protocol
P.HEXAPOD.OUT- Hexapod output protocol-
Tag
result- Generic result
-
Tag
Declarations
hexapod_chan.inc:30Group HPEV
Hexapod event flags.
hexapod_chan.inc:31Constant HPEV.NONE
VAL INT32 HPEV.NONE
No events.
hexapod_chan.inc:32Constant HPEV.FEET
VAL INT32 HPEV.FEET
Foot pressure sensor data.
hexapod_chan.inc:33Constant HPEV.ACCEL
VAL INT32 HPEV.ACCEL
Accelerometer values.
hexapod_chan.inc:34Constant HPEV.RANGE
VAL INT32 HPEV.RANGE
Range-sensor data.
hexapod_chan.inc:39Protocol P.HEXAPOD.EVENT.IN
PROTOCOL P.HEXAPOD.EVENT.IN
Hexapod event input protocol.
hexapod_chan.inc:41Tag set.event.mask
set.event.mask; INT32
Set event mask.
hexapod_chan.inc:42Tag close
close
Close event connection.
hexapod_chan.inc:46Record HEXAPOD.EVENT
DATA TYPE HEXAPOD.EVENT
Hexapod event output data structure.
hexapod_chan.inc:48Variable accel
[3]BYTE
Accelerometer values (0-127-255).
hexapod_chan.inc:49Variable feet
[6]BYTE
Foot pressure sensor values (0-255).
hexapod_chan.inc:50Variable range.pos
INT16
Ranger relative position (1100-1500-1900).
hexapod_chan.inc:51Variable ranges
[3]INT16
Range data (0-65535).
hexapod_chan.inc:55Protocol P.HEXAPOD.EVENT.OUT
PROTOCOL P.HEXAPOD.EVENT.OUT
Hexapod event output protocol.
hexapod_chan.inc:57Tag event
event; HEXAPOD.EVENT
Event data.
hexapod_chan.inc:58Tag closed
closed
No more events.
hexapod_chan.inc:62Channel type CT.HEXAPOD.EVENT
CHAN TYPE CT.HEXAPOD.EVENT
Hexapod event channel-type.
hexapod_chan.inc:64Variable in?
CHAN P.HEXAPOD.EVENT.IN
Event control.
hexapod_chan.inc:65Variable out!
CHAN P.HEXAPOD.EVENT.OUT
Events out.
hexapod_chan.inc:69Protocol P.HEXAPOD.IN
PROTOCOL P.HEXAPOD.IN
Hexapod input protocol.
hexapod_chan.inc:71Tag add.event.listener
add.event.listener; CT.HEXAPOD.EVENT?
Add event listener.
hexapod_chan.inc:75Protocol P.HEXAPOD.OUT
PROTOCOL P.HEXAPOD.OUT
Hexapod output protocol.
hexapod_chan.inc:77Tag result
result; INT
Generic result.
hexapod_chan.inc:81Channel type CT.HEXAPOD
CHAN TYPE CT.HEXAPOD
Hexapod channel-type.