Airsim Collision Message to Drone or PC #3480
Answered
by
ahmed-elsaharti
kwanyongcho7
asked this question in
Support Q&A
-
Hi, I am using px4 drone HITL mode in Airsim controlled by MAVSDK-Python. I want to send message or notice when collision happens in Airsim to reboot or restart the flight using MAVSDK-python automatically. Is there any way to let MAVSDK-Python know about collision happens? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
ahmed-elsaharti
Mar 17, 2021
Replies: 1 comment 3 replies
-
Hi @kwanyongcho7, you could maybe use the AirSim python API within your MAVSDK-python node to check for collision status through |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
kwanyongcho7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @kwanyongcho7, you could maybe use the AirSim python API within your MAVSDK-python node to check for collision status through
simGetCollisionInfo()
and have that set a bool/flag or call a method within your node to restart the flight using MAVSDK-python?