radar-lab / ti_mmwave_rospkg

TI mmWave radar ROS driver (with sensor fusion and hybrid)
269 stars 102 forks source link

why the velocity, range, intensity (...) is always zero? #19

Closed luissantos27 closed 4 years ago

luissantos27 commented 4 years ago

Hello,

I am trying to use the device AWR1843 BOOST. However, the fields for the range profile, the data I need to work, are always zero:
Also, how can I change this for the 2D configuration?

header: 
  seq: 1265
  stamp: 
    secs: 1591712679
    nsecs:  33523020
  frame_id: "ti_mmwave"
point_id: 2
x: 2.1605360508
y: -0.458005964756
z: 1.04359507561
range: 0.0
velocity: 0.0
doppler_bin: 0
bearing: 0.0
intensity: 0.0
luissantos27 commented 4 years ago

Turns out that velocity was Zero because the radar was not moving... Sorry for that.

As the rest, I have seen commented lines in code and that the information is in another place. I will not close this now because I still dont have the information I need

luissantos27 commented 4 years ago

I have got the information I need. You are not getting the Range profile vector, but it is there on the UART information.

I added this line in the Switch Statement:

....
   case READ_LOG_MAG_RANGE:
            {

              uint16_t  v[256];
              memcpy( v, &currentBufp->at(currentDatap), sizeof(uint16_t)*256);
.....
luissantos27 commented 3 years ago

Hello.

That's completely normal as the code on GitHub did not implement the "range" function.

O modified it in order to implement this function. However, be aware that range_profile is published in another topic.

I have made a push_request but the developers are not answering. I would like to share it with you but you would not have access to my private GitLab account. So I attached the source code. I hope this helps you.

With my best regards,

luis santos

Claud1234 notifications@github.com escreveu no dia sexta, 25/09/2020 à(s) 12:15:

May I ask how to get the fields of 'range', 'velocity', etc. for AWR1843BOOST? I set it up under ROS, there is only 'intensity' field in my PointCloud topic.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/radar-lab/ti_mmwave_rospkg/issues/19#issuecomment-698872052, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3HFAZJKR25FCMNURG4P53SHR3UPANCNFSM4NZOX6TQ .

luissantos27 commented 3 years ago

I also invite you to read my article, which resulted from the work with this radar: https://www.mdpi.com/2073-4395/11/2/279

Luis Santos luis.c.santos2712@gmail.com escreveu no dia domingo, 7/02/2021 à(s) 14:16:

Hello.

That's completely normal as the code on GitHub did not implement the "range" function.

O modified it in order to implement this function. However, be aware that range_profile is published in another topic.

I have made a push_request but the developers are not answering. I would like to share it with you but you would not have access to my private GitLab account. So I attached the source code. I hope this helps you.

With my best regards,

luis santos

Claud1234 notifications@github.com escreveu no dia sexta, 25/09/2020 à(s) 12:15:

May I ask how to get the fields of 'range', 'velocity', etc. for AWR1843BOOST? I set it up under ROS, there is only 'intensity' field in my PointCloud topic.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/radar-lab/ti_mmwave_rospkg/issues/19#issuecomment-698872052, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3HFAZJKR25FCMNURG4P53SHR3UPANCNFSM4NZOX6TQ .