|
|
Line 1: |
Line 1: |
| ==Running the ball tracker==
| |
|
| |
|
| Before running the ball tracker with the demo grasp, the [[Turning on the Vizzy cameras|vizzy cameras]], the [[Using the iKinGazeCtrl with Vizzy|iKinGazeCtrl]], and the [[Using the iKin Cartesian interface with Vizzy||iKin Cartesian interface]] (if you want to use the robot arms), need to be running.
| |
|
| |
| # Open an yarpview window with a port associated (in this case port /a):
| |
| <code>yarpview /a</code>
| |
| # Turn on the pf3dTracker to track the ball (substitute [pf3dTrackerConfigFile] with the name and path of the config file) :
| |
| <code>pf3dTracker --from [pf3dTrackerConfigFile] </code>
| |
| # Turn on the camCalib to calibrate the camera distortions (substitute [camCalibConfig] with the name and path of the config file) :
| |
| <code>camCalib --from [camCalibConfig] </code>
| |
| # Connect the camera ports with the calibrator and the tracker:
| |
| <code>yarp connect /vizzy/cam/left /camCalib/in && yarp connect /camCalib/out /vizzy/pf3dTracker/videoIn && yarp connect /vizzy/pf3dTracker/videoOut /a</code>
| |
| # On the demoGrasp build directory execute:
| |
| <code>demoGraspManager_Vizzy_ISR --from ../../app/conf/vizzyConfig_noArms.ini</code>
| |
| # Connect the demoGrasp with the tracker:
| |
| <code>yarp connect /vizzy/pf3dTracker/dataOut /demoGraspManager_IIT_ISR/trackTarget:i</code>
| |
|
| |
| [[Vizzy|<< Back to Vizzy wiki homepage]]
| |
|
| |
| [[Category:Robots]]
| |
| [[Category:Vislab]]
| |