Module libif:hexapod - Hexapod robot interface library

Hexapod robot interface library. This provides a variety of routines that can be used to interact with the service:hexapod service. To use these:

#INCLUDE "hexapod_chan.inc"
 #IF DEFINED (IS.MODULE)
 #INCLUDE "hexapod_if.inc"
 #ELSE
 #USE "libif/hexapod"
 #ENDIF

Index

Declarations

hexapod.occ:52Process hexapod.connect

PROC hexapod.connect (BOOL ok, SHARED CT.KERNEL! krnl, RESULT SHARED CT.HEXAPOD! hexp)

Connect to the hexapod service.

Parameters:

BOOL ok Check and set success.
SHARED CT.KERNEL! krnl Link to kernel.
RESULT SHARED CT.HEXAPOD! hexp Returned connection to the hexapod service.

hexapod.occ:96Process hexapod.disconnect

PROC hexapod.disconnect (BOOL ok, SHARED CT.HEXAPOD! hexp)

Disconnect from the hexapod service.

Parameters:

BOOL ok Check and set success.
SHARED CT.HEXAPOD! hexp Connection to the hexapod service.

hexapod.occ:108Process hexapod.neweventlistener

PROC hexapod.neweventlistener (BOOL ok, SHARED CT.HEXAPOD! hexp, RESULT CT.HEXAPOD.EVENT! evchan)

Create and add an event-listener channel to the hexapod service.

Parameters:

BOOL ok Check and set success.
SHARED CT.HEXAPOD! hexp Connection to the hexapod service.
RESULT CT.HEXAPOD.EVENT! evchan Returned connection to hexapod events.