[API] Hackberry - Thomas-Broussard/hackberry-enableFrance GitHub Wiki
class Hackberry
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
-
selectedHandhand type (RIGHT_HAND or LEFT_HAND) -
sensorTypetype of the sensor used
public void setHand(bool selectedHand)
Set the hand type
Parameters
selectedHandhand type (RIGHT_HAND or LEFT_HAND)
public void setSensorType(int sensorType)
Set the sensor type
Parameters
sensorTypetype of the sensor used