|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Comprehensive help for camera code
for(UINT32 x = 0; x < particles->size(); x++)
{ ParticleAnalysisReport& par = (*particles)[x]; if(par.center_mass_x_normalized > 0) { //right } if(par.center_mass_x_normalized < 0) { //left } } This is a part of an example of tracking code. I do not understand the purpose of the for, or why (*particles)[x] isn't just (*particles) Is particles->size(); returning the number of particles or something? If so, wouldn't the code make the robot cycle through aiming at the different targets? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|