The problem was ArduCopter 3.4.6. When I switched to 3.5-rc11, a window simply poped-up.
I don’t recall now why I thought 3.4 was enough. Maybe a mistake.
Although MP displays the screen, its bahavior is quite weird. Radar window is initially displayed with a white background. Then, it switches to dark grey. Then multiple windows are displayed, with the same content. After about 1 minute, a error window is displayed, while all radar windows display a red “X” on white background. The error message varies. If I disconnect and then reconnect to ArduCopter, lots of radar windows are displayed instantly, and I have to close them all.
I should have read the 3.4… , really though that we mentioned the 3.5 before, probably on the other issue.
Anyway, I confirm that Mission Planner spits out a lot of radar screen, according to the number of sensors declared.
Is it a Bug or a feature ?!?!
Its up to you to open a PR if you consider that as a bug.
I try to build a avoidance system using VL53L0X. I find VL53L0X version with max 10 m range at http://www.robotshop.com/eu/en/vl53l0x-time-of-flight-distance-sensor---50-to-1200mm.html.
Now I using VL53L0X with 2 m range to test it. In ardupilot full parameters list I find RNGFND parameters value 16 is for VL53L0X. But If I connect my pixhawk to MP there are only parameters start 0 to 15…
I use arducopter 3.5and MP 1.3.49 build 1.1.6410.20232.
And next question
Witch parameter needs to be change ?
I try to set RNGFND_TYPE to 16, AVOID_ENABLE=2, and PRX_TYPE=2 but I get only BAD LIDAR HEALTH message in MP.
It’s a pleasure to get a reply from you. I’ve been following your work on MP for a while. Congratulations for it!
As I said before, after migrating to Copter 3.5, the radar screen appeared. Debugging is not necessary anymore, but thanks for the tip, anyway. I noted that Ardupilot wiki on “Object Avoidance” was updated on this matter.
I’be be grateful if you could explain these behavior issues:
MP shows multiple radar windows, supposedly one for each orientation. Why not just one?
Some radar windows have white background and some gray background.
When disconnecting MP from Copter, radar windows sometimes appear showing outdated data. Could it be a buffer issue?
When opening MP, radar windows sometimes appear showing outdated data. Could it be a buffer issue?
I get frequent software exceptions, all related to the radar screen. I sent some bug reports about this (directly from MP).
Suggestions for MP:
Migrate distance UI from radar screen to HUD. It could be just numbers (withouts red archs).
ppoirier… Wondering if you are at a point with the poc that you would be willing to post the code… I have been working on this for a bit and I can get certain aspects to work using the VL53L0X just not like your examples and videos… I think its just a matter of my lack of understanding so it would be nice to have something to compare to… Thank you in advance for any help you can provide.
I have reviewed that and any other similar items I could find but I’m still having some difficulties with it. Would just be nice to have something to compare to so I could see what I’m doing incorrect. The problem with a lot of this stuff is it is changing so examples and other folks work no longer work as they once did. Makes things a bit frustrating, I have a lightware rangefinder that works perfect but was not cheap so I was really looking forward to this cheaper solution for the in between.