Hello all,
Cargo pickup / drop off in auto mission documentation using NicaDrone's EPM V3 and Pixhawk running APM :D
The OpenGrab EPM v3 (from NicaDrone.com) is a small (less than 4cm x 4cm x 2cm) Electro Permanent Magnet gripper capable of 200N of force meaning it can hold about 15kg of cargo securely. The gripping and releasing of the cargo is accomplished by delivering a short pulse to an electromagnet which reverses it’s field. Objects that it grips onto should be metal or have the included attached to them.
The device accepts a standard PWM servo input or UAVCAN and uses a 5V power supply. Significant amounts of power are only required for about 1 second when it first grips or releases the cargo.
Comments
Actually it seems to work rather fine in Plane. As you mentioned MAVLink and mission item commands both work and can drive the EPM using servo-related commands. I think when you say "The EPM is currently only in Copter", you really mean "the DO_GRIPPER command is only in Copter". But that is orthogonal :-)
The only thing that's slowing me down at the moment is the following: http://diydrones.com/forum/topics/fetch-servo-pwm-values-with-mavlink. Essentially the following code seems unreliable, sometimes it works, sometimes not, sometimes it leaves the EPM in the turn-off sequence, etc.
Oh exactly what I wanted to hear thank you Tom!
The EPM is currently only in Copter but it seems trivial to add it to Plane. There's no switches type feature in plane so it would only be the MAVLink and mission items commands. Pull requests welcome!
@Anthony,
Lets have a Skype chat with Pavel tomorrow about plane support
The EPM is not powered from the servo rail when using just the UAVCAN connector from the Pixhawk.
There is no problem if you are powering the EPM from the servo rail.
Clarification is in this pull request
@Andreas Jochum
@Tom Pittenger
Actually two more things.
The doc mentions Copter but what about Plane? This is for a QuadPlane.
Second, the page says the following:
I'm confused as I'm pretty sure the servo rail could definitely deliver 5V. And since I'm powering the EPM with the rail (with a BEC), does that mean it will always go into low power mode?
Thanks guys that was quick! :-)
Thank you Tom!
Hello Anthony,
That is correct. The problem is that the voltage on the UAVCAN port drops below 5V @1A. The EPM will still work but it will go into low power mode reducing current consumption to <500mA and run very slowly.
The modified APM is only required if you are going to use UAVCAN and all the changes are in master
Clarification on this is in pull request #529
https://github.com/ArduPilot/ardupilot_wiki/pull/529/files
@Andreas Jochum
@Hugues
Very nice! What's the recommended way to plug it in? Do I understand correctly that there are two "right" ways: a) UAVCAN to Pixhawk + external power source, or b) PWN to Pixhawk (and then make sure the servo rail is powered with a BEC) ?
Also, do you still need to run a modified APM as stated here?
http://ardupilot.org/copter/docs/common-electro-permanent-magnet-V3...