<<<<<<<<<<<<<<<<<

pixsys(devices) Animation pixsys(devices)

NAME

pixsys - 3D location device

DESCRIPTION

The pixsys class communicates with a PixSys 3D digitizer.

SUPERCLASS

object

MESSAGES

action= Specifies the name of the action to be executed when a point is received from the 3D digitizer.

action? Returns the name of the action.

position? Returns the position of the 3D digitizer probe.

front? Returns the direction vector of the 3D digitizer probe.

up? Returns the up vector of the 3D digitizer probe.

locate! Ask the 3D digitizer to send a new probe position

on! Starts the processing of events generated by the 3D digitizer.

off! Stops the processing of 3D digitizer events.

probe1! Use the 2 LED probe (only gives x,y,z and direction vector).

probe3! Use the custom 3 LED probe (the default).

serial_port= Sets the serial port that the workstation communicates to the pixsys over.

serial_port? Gets the serial port that the workstation communicates to the pixsys over.

error? Returns 0 for no error, 1 for error, and 2 for warning

error_message? Returns a description of the last error

free! Closes connection to pixsys and frees the instance.

EXAMPLES

This example creates an action that will be executed when a point is generated by the PixSys 3D digitizer.

actions new: some_action

tick_actions = ` pix print:position; pix print:front; pix print:up;

' ; pixsys new: pix

action=some_action

on! ;

SEE ALSO


Please send comments and suggestions to
consult@rpi.edu