Commit Graph

40 Commits

Author SHA1 Message Date
Peter Barker 56a7e520b6 AP_Gripper: correct emitting of grabbed/released messages
these strigs would only be released if release() or grab were called a second time
2024-06-20 10:59:14 +10:00
Andrew Tridgell 62e3c6e5a4 AP_Gripper: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker 9a1a412152 AP_Gripper: move gripper up to AP_Vehicle
also make the singleton return a reference rather than a pointer
2024-02-21 21:05:12 +11:00
Peter Barker 1c395966ce AP_Gripper: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Mykhailo Kuznietsov d86e67b498 AP_Gripper: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Peter Barker deb63c28fc AP_Gripper: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Andrew Tridgell d3dde1eb14 AP_Gripper: text messages and more defines 2023-04-11 10:31:31 +10:00
Peter Barker 59af9436db AP_Gripper: correct config boards include
Important to include AP_HAL_Boards.h directly, rather than relying on someone else having done it or getting it transitively
2023-03-19 09:08:41 +11:00
Peter Barker 19719df433 AP_Gripper: tidy includes of SRV_Channel.h 2023-01-25 22:30:55 +11:00
Leonard Hall 7857bb2210 AP_Gripper: Add Neutral state after init 2022-12-31 12:29:31 +09:00
Peter Barker 4ba0b38504 AP_Gripper: set AP_GRIPPER_ENABLED in minimize_features.inc 2022-11-02 18:40:09 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker a3be41c3b0 AP_Gripper: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Iampete1 2d06261be3 AP_Gripper: apply auto close to all backends. 2022-08-09 13:23:35 +10:00
Leonard Hall 4bf622dbaf AP_Gripper: Add feedback when already in state 2022-08-09 13:23:35 +10:00
Leonard Hall 64d69c5977 AP_Gripper: Servo Gipper enhancments 2022-08-09 13:23:35 +10:00
Hwurzburg 2f493f08b4 AP_Gripper: change UAVCAN to DroneCAN in param metadata 2021-12-15 09:53:21 +11:00
murata 3967c46c1a AP_Gripper: Change the tab code to whitespace 2020-04-27 09:29:02 +09:00
Peter Barker 2c9a2c79d0 AP_Gripper: use https:// scheme for ardupilot URLs 2019-12-10 07:53:46 +11:00
Peter Barker 08d99b96ec AP_Gripper: log event when gripper grabbed or released 2019-11-05 08:19:26 +08:00
Tom Pittenger 818c828a4a AP_Gripper: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Peter Barker c9f31f7e0a AP_Gripper: add override keyword where required 2018-11-08 11:30:12 +11:00
Peter Barker e0f63ca7f1 AP_Gripper: stop cheating on simulated servo state 2018-10-16 10:17:12 +11:00
Pierre Kancir 3ab635f100 AP_Gripper: use gripper_sim feedback 2018-08-27 14:39:49 +10:00
Peter Barker 8a3df17a07 AP_Gripper: add singleton 2018-06-11 19:07:39 +01:00
Andrew Tridgell 340d85642e AP_Gripper: build fix for ChibiOS 2018-01-15 11:46:02 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas 1ad5e58eb7 AP_Gripper: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas c892555c17 AP_Gripper: Use SI units conventions in parameter units
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
2017-05-17 18:07:25 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas 2243d900d5 AP_Gripper: Add missing parameter units 2017-01-16 19:07:26 +00:00
Andrew Tridgell b3d30cbd4b AP_Gripper: use new SRV_Channels API 2017-01-12 17:39:37 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas d408d25f92 More spelling stuff 2017-01-06 10:57:39 -08:00
Peter Barker b4d1d0f918 AP_Gripper: servo gripper not valid unless aux channel assigned 2016-12-24 11:31:58 +09:00
Randy Mackay 5d0be2de9f AP_Gripper: minor comment fix 2016-12-19 17:01:01 +09:00
Peter Barker 0e2b3781ae AP_Gripper: a valid() method 2016-12-02 12:52:53 +11:00
Peter Barker 4a1439ca0b AP_Gripper: add grabbed and released method 2016-12-02 12:52:53 +11:00
Lucas De Marchi b7e5f56bd7 AP_Gripper: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
Randy Mackay 039d12bd55 AP_Gripper: add parameter unit and remove print on grab or release 2016-11-05 10:36:06 +09:00
Peter Barker 48cd35609c AP_Gripper: make EPM a subclass of AP_Gripper_Backend 2016-11-05 10:20:38 +09:00
Peter Barker 15b271ec13 AP_EPM: rename in preparation of becoming a AP_Gripper backend 2016-11-05 10:20:35 +09:00
Peter Barker a8435de65a AP_Gripper: a general gripper frontend 2016-11-05 10:20:27 +09:00