Hi,
Is there any way to detect if a copter has bumped into a wall (assuming I use prop guards). I would like the copter to just back away a bit from the wall if it bumps against it.
Thanks
Hi,
Is there any way to detect if a copter has bumped into a wall (assuming I use prop guards). I would like the copter to just back away a bit from the wall if it bumps against it.
Thanks
Not natively, you should be able to use Lua to detect spikes in lateral acceleration. I would try using proximity sensors to avoid bumping in the first place.
Can’t use proximity sensors. So I guess I’ll do the scripting using either lua or on the GCS.
Could you track the i-term windup?
Hmm, I don’t know if it really takes so much time as for the I-term to windup for the drone to flip over into the wall (autonomous mission where the drone would like to keep going)
Might be an interesting experiment to see in the logs. The spike in the acceleration or vibration might show the moment of contact, but the I-term might also show if the drone is stuck or dragging against something. Just ideas.