Overview | ALRedBallTracker API | ALFaceTracker API
Namespace : AL
#include <alproxies/alredballtrackerproxy.h>
As any module, this module inherits methods from ALModule API. It also has the following specific methods:
Deprecated since version 1.16: use ALTracker module instead.
Returns the [x, y, z] position of the red ball in FRAME_TORSO. This is done assuming an average red ball size (diameter: 0.06 m), so it might not be very accurate.
Returns: | An Array of float containing the red ball position [x, y, z]. |
---|
Deprecated since version 1.16: use ALTracker module instead.
Return true if the red Ball Tracker is running.
Returns: | true if the red Ball Tracker is running. |
---|
Deprecated since version 1.16: use ALTracker module instead.
Return true if a new Red Ball was detected since the last getPosition().
Returns: | true if a new Red Ball was detected since the last getPosition(). |
---|
Deprecated since version 1.16: use ALTracker module instead.
If true, the tracking will be through a Whole Body Process.
Parameters: |
|
---|
Deprecated since version 1.16: use ALTracker module instead.
Start the tracker by Subscribing to Event redBallDetected from ALRedBallDetection module. Then Wait Event redBallDetected from ALRedBallDetection module. And finally send information to motion for head tracking. Note: Stiffness of Head must be set to 1.0 to move!