Closed alfred31 closed 4 years ago
Also I made it work with the windows software, and I could see it working when someone was around the radar, however I am not able to reproduce the same performance with the ros software.
Thank you for your help.
Regards
I think you use the launch file radar_object_marker.launch for the visualization. Actually, this is where the radar messages are converted one-to-one into visualization messages. It might be better for your application if you change the tracking method. Otherwise, there is actually no explanation why the radar should behave differently under Windows than under Linux or ROS. Maybe you have deactivated the raw targets by mistake?
Hello,
Thank you for your answer. I'll dig into what you say, and see if that is the problem. I will come back with the outcomes.
Regards
Hello, I launched everything and I am still getting to the same situation. This is what I got using the windows SOPA program you provided on your webpage :
Now using the ROS driver,firstly I launch the sick_rms_3xx.launch (after having the IP address configured) , and I get the following output: roslaunch sick_scan sick_rms_3xx.launch ... logging to /home/gupg/.ros/log/acc594c0-5d30-11ea-8e99-f0d5bfebbcac/roslaunch-gupg-ThinkPad-T460-5135.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server
PARAMETERS
NODES / sick_rms_3xx (sick_scan/sick_generic_caller)
ROS_MASTER_URI=http://localhost:11311
process[sick_rms_3xx-1]: started with pid [5157]
[ INFO] [1583227688.078129974]: sick_generic_caller V. 1.5.0
[ INFO] [1583227688.078254660]: Program arguments: /home/gupg/warthog/warthog_ws/devel/lib/sick_scan/sick_generic_caller
[ INFO] [1583227688.078313091]: Program arguments: name:=sick_rms_3xx
[ INFO] [1583227688.078342151]: Program arguments: log:=/home/gupg/.ros/log/acc594c0-5d30-11ea-8e99-f0d5bfebbcac/sick_rms_3xx-1.log
[ INFO] [1583227688.152165126]: Found emul_sensor overwriting default settings. Emulation: False
[ INFO] [1583227688.154581534]: Start initialising scanner [Ip: 192.168.25.35] [Port: 2112]
[ INFO] [1583227688.334767452]: Publishing laserscan-pointcloud2 to cloud
[ INFO] [1583227688.357410957, 1637.410000000]: Parameter setting for <active_echo: 0>
[ INFO] [1583227688.563059115, 1637.620000000]: Sending :
and secondly the radar_object_marker.launch.
In rviz I visualize the output clouds and the market topic /radar_marker, and what I visualize is this: the radar marker just goes backwards and forwards in the X direction, which is different from what I am getting in windows, plus I only got to see one marker, and the orientation and Y position remain still. Besides I had to increase the size of the radar tf, beacause the marker object radar is to far. So I don't know where the problems is.... Is there something wrong? Any thoughts that would solve this issue?
Thanks a lot for your help.
Regards.
Hello again,
Has anyone checked if the driver for the radar works properly?
Just to know if it is already working which would mean that I did something wrong or on the contary I should check the driver in order to make my radar work with ros...
Best regards,
Thanks for the support.
Hi Alfred,
As you know, there are two types of messages:
The raw targets always point directly towards the radar or away from the radar, as these raw targets do not contain any tracking information. Rather, they serve as input values for tracking. The tracking targets on the other hand should follow the objects. You can check the results very well, e.g. by using 'rostopic echo' to display the topics on the console. You can also use the example programs to write a small program (or extend the example software) that allows you to receive and interpret the data from the radar yourself. For example you can use the routine
void callback(const sick_scan::RadarScan::ConstPtr &oa)
in the file https://github.com/SICKAG/sick_scan/blob/master/tools/radar_object_marker/src/radar_object_marker.cpp
.
We also recommend that you use a Doppler generator for testing. If a Doppler generator is not available, get a large fan (see example link)), to generate raw targets (not tracks).
Hello Michael,
Thanks again for your answer. I took a look at all the things you mentioned, but again I think I am missing something. Just a few questions to enlighten me: Is there anyway I can get something similar to this in rviz? If yes, which topics should I look at in rviz?
I just can't reproduce what I saw in windows using ros... In windows I was able to see the detections, but with rviz I can't see anything understandable. I took a look at /cloud_radar_track and I was only able to see sparse points at very far distance from where the radar frame was, and even though I was moving around the room the points were not changing they were just periodically moving form one point to another.
Best Regards, Thanks again for your support.
Attached you'll find a video of rviz, showing what I mentioned.
Thanks a lot.
Best Regards.
Hello @alfred31 Thank you very much for your information. We have taken your ticket as an impulse to test the complete support of the radar once again and to document the start-up in more detail. From our point of view the radar runs as described. We can see from your video that you have already been able to do this successfully. The tutorial information (incl. video) is now available under this link. https://github.com/SICKAG/sick_scan/blob/master/doc/radar.md
You will find the statement to your video in a follow-up note.
Hello @alfred31
<param name="emul_sensor" type="bool" value="false" />
/cloud_radar_rawtarget
, this might help you.Thanks for everything!
Amazing work.
Best Regards.
Hello..
First of all, thank you for the amazing job you made.
The thing is that I am also using a sick radar, and I successfully launched the driver, that is already working, with no errors. The problem I am getting is that I don't really know which topic should give the information of the radar, I mean, I don't see any changes in the topics when I put objects closer or further to the radar. Besides, I was able to see the pointclouds coming from the topics in rviz, but I just don't get how it works, they appear to be always the same...
Could you please tell me what I am doing wrong? How can I get the data from the sensor? Is it possible to watch it in rviz?
Thank you very much!
Regards.