Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

360 Degree Collision Prevention #15344

Closed
KarlEaves opened this issue Jul 15, 2020 · 2 comments
Closed

360 Degree Collision Prevention #15344

KarlEaves opened this issue Jul 15, 2020 · 2 comments

Comments

@KarlEaves
Copy link

Hey PX4 Team!

I was wondering if there's any plug-and-play options for using multi-directional distance sensors. I found this multi-directional distance sensor that uses 4/8 TeraRanger Evo 60m (PX4 Compatible Range Finders) https://www.terabee.com/shop/lidar-tof-multi-directional-arrays/teraranger-tower-evo/ and was hoping to use this to perform 360 degrees collision prevention

If this isn't an option, I was wondering if multiple sensors could be plugged into a companion computer running https://github.com/PX4/avoidance ? Or if we could configure multiple sensors without using the PX4/avoidance repo, since all we really need is Collision Prevention and not Obstacle Avoidance?

I am confused on how the companion computer is supposed to send OBSTACLE_DISTANCE messages for multiple sensors to PX4, and if PX4 is able to interpret these messages. Is PX4 able to get sensor data from 4 cameras facing N,E,S,W and merge that data to perform collision prevention for all sides?

@hamishwillee
Copy link
Contributor

@KarlEaves

I am confused on how the companion computer is supposed to send OBSTACLE_DISTANCE messages for multiple sensors to PX4, and if PX4 is able to interpret these messages. Is PX4 able to get sensor data from 4 cameras facing N,E,S,W and merge that data to perform collision prevention for all sides?

The answer to this part is here: http://docs.px4.io/master/en/computer_vision/collision_prevention.html#algorithm

Essentially the message needs to map the data from sensors around the vehicle into 36 sectors.

There is no plug'n'play solution for plugging such a sensor into the flight stack - wouldn't it be nice if the sensor had a mavlink interface that produced the data as we require :-). the plug'n'play solution currently only supports one sensor in one direction (as per link above).

Yes it should be possible for a collision prevention system to do away with PX4/avoidance and have a simplified mechanism for producing the OBSTACLE_DISTANCE on a companion, but I don't know of such work.

FYI @jkflying

@KarlEaves
Copy link
Author

@hamishwillee Thanks for the info! I will try creating the program on the companion to send OBSTACLE_DISTANCE data. I am currently running v1.8, but it appears this also supports collision prevention from a companion.

Thank you for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants