Closed HichriAyoub closed 2 years ago
The issue was resolved by myself all i had to do was add a
float range in mmwaveCloudtype
then add 2 simple code for range doppler and range that you will find here
RScan->points[i].range = sqrt(radarscan.x*radarscan.x +
radarscan.y*radarscan.y + radarscan.z*radarscan.z);
radarscan.range = sqrt(radarscan.x*radarscan.x +
radarscan.y*radarscan.y + radarscan.z*radarscan.z);
radarscan.velocity = mmwData.newObjOut.velocity;
radarscan.doppler_bin = (uint16_t)(
mmwData.objOut.dopplerIdx + nd / 2);
Hope it will be usefull to someone
Hello,
although the project doesnt output doppler_bin range and bearing i was able to change somethings in the header file and the datahandlerclass.cpp to make it possible to have the bearing but im still having problem with the other 2 it is actually outputting the index of range and doppler_bin here is the code i am using
the outputs im getting are these :
Does anyone know how to solve this