[API] Hackberry - Thomas-Broussard/hackberry-enableFrance GitHub Wiki
Hackberry
class Summary
Members | Descriptions |
---|---|
public Hackberry_hand hand |
|
public RoutineHandler routine |
|
public Hackberry () |
Constructor : map all the IOs to drivers |
public void init () |
Constructor : initialize the hand and all the drivers |
public void init (bool selectedHand,int sensorType) |
Constructor : initialize the hand and all the drivers |
public void setHand (bool selectedHand) |
Set the hand type |
public void setSensorType (int sensorType) |
Set the sensor type |
Members
public
Hackberry_hand
hand
public
RoutineHandler
routine
public
Hackberry
()
Constructor : map all the IOs to drivers
public void
init
()
Constructor : initialize the hand and all the drivers
public void
init
(bool selectedHand,int sensorType)
Constructor : initialize the hand and all the drivers
Parameters
-
selectedHand
hand type (RIGHT_HAND or LEFT_HAND) -
sensorType
type of the sensor used
public void
setHand
(bool selectedHand)
Set the hand type
Parameters
selectedHand
hand type (RIGHT_HAND or LEFT_HAND)
public void
setSensorType
(int sensorType)
Set the sensor type
Parameters
sensorType
type of the sensor used