ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
11.02k stars 17.57k forks source link

Copter: crop sprayer liquid level monitor and failsafe #11351

Open rmackay9 opened 5 years ago

rmackay9 commented 5 years ago

We should add a crop spraying liquid level monitor. This could either be similar to an ICE engine fuel level monitor (some users use the RSSI driver's pwm input for this) or perhaps something new. It might even be implemented as a type of battery monitor.

Once the liquid level gets low it could:

This request is quite similar to another request to allow users to resume a mission in case their vehicle's battery failsafe has triggered mid-mission. I.e. the battery failsafe triggers, the vehicle RTL's home, the user replaces the battery and then resumes the mission. In the past, some have suggested that this "resume" portion is best handled by the ground station instead of in the flight code.

AeroScanTech commented 5 years ago

There is also the option of maintain the Pixhawk energized, while changing the batteries and adding product (liquid). It could be an alternate battery that the user plug in before disconnecting the main power just 5v to keep the pixhawk alive, then when main power is replaced the aux battery is removes and then the user can resume the mission.

Rusty105 commented 5 years ago

Would this be better served on a companion computer? Leave the flying duties to the flight controller and have the companion computer play the role of "mission specialist" and watch over the spraying system?

melgueta commented 4 years ago

@rmackay9 I would like to contribute on this project! I'm new in this software autopilot development, but skilled programming. Few months ago I integrated the Pixhawk Autopilot to control de GAIA 160 AG (22.5 Lts tank). Despite it works very well, this feature development in pixhawk is very necesary. Specially the Failsafe for liquid refill and continue the mission from last position.

jlcortex commented 4 years ago

Interesting feature!

DangerD1024 commented 4 years ago

On dji agras it's made on remote control, drone sends last position after pausing mission (out of liquid, low battery, user command) and after replacing battery remote control (ground station) sends new mission which starts from last position to resume mission. That's much easier to implement

DangerD1024 commented 4 years ago

And there's no available good radars/sonar for arducopter, when spraying sonar gets a lot of errors. For now solution is JIYU or DJI flight controllers, both have also 360 radar to avoid crash

Sankalpa12345 commented 4 years ago

@melgueta Im too running a similar setup with 24.5 L rank. I Would Love to know what you did and how you did. Im struggleing with this for almost a ear now... its a great pleasure if you could help out to do the Mission Continuation after Battry Swap and Liquid Refill .... Thank You

dwaipayanb1994 commented 8 months ago

Anyone working on this? I want to contribute to this.