Repository navigation
How to output depth information to SITL? #3643
Answered
by
rajat2004
BrellenZhou (BrellenZhou)
asked this question in
Support Q&A
|
Hi, I want to output airsim's depth information to Ardupilot in SITL to achieve obstacle avoidance target. Ardupilot/PX4 has already have the computer-vision based obstacle avoidance algorithm. So I want to know how to output the depth to SITL to achieve this target. I cannot find the code part where the airsim output the depth/image info to the port. I am very confusing. Could you please give some instructions? Thank you. |
Answered by
rajat2004
Oct 1, 2020
Replies: 1 comment
|
You can use the Image APIs to fetch the depth images, and then generate obstacle information in a format which ArduPilot, PX4 can receive, such as OBSTACLE_DISTANCE, or whichever other messages or capabilities are supported |
0 replies
Answer selected by
jonyMarino
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the Image APIs to fetch the depth images, and then generate obstacle information in a format which ArduPilot, PX4 can receive, such as OBSTACLE_DISTANCE, or whichever other messages or capabilities are supported