Henry Wurzburg
c6fbdc0cb8
AP_Relay:Prevent operation for sim-on-hardware,add logs
...
Co-authored-by: Iampete1 <iampete@hotmail.co.uk>
3 years ago
Randy Mackay
d8219c2200
AP_Relay: pre-arm displays gpio vs servo_ch conflict
3 years ago
Henry Wurzburg
93bdae50ab
AP_Relay: add note to desc's on how to determine GPIO pin numbers
3 years ago
Iampete1
3ae8dfead4
AP_Relay: update param description to inclde IOMCU
3 years ago
Andrew Tridgell
3712d7eca5
AP_Relay: fixed printf format errors
4 years ago
Andrew Tridgell
a56db06efb
AP_Relay: fixed formatting of pin arming check
4 years ago
Andrew Tridgell
09ad43dea3
AP_Relay: added arming_checks
4 years ago
juvinski
fad8ee8384
AP_Relay: Added support to Relay pins on BBBMini
...
This request add support for Relay Pins on BBBMini:
Pin:
P8_17: Relay Pin 1
P8_18: Relay Pin 2
P8_19: Relay Pin 3
P8_34: Relay Pin 4
P8_13: Relay Pin 5
P8_14: Relay Pin 6
5 years ago
Peter Barker
06df44c184
AP_Relay: change parameter name from relay to instance
5 years ago
Peter Barker
1c3b2f9699
AP_Relay: tidy, reduce flash usage
5 years ago
Peter Barker
8e5ec84317
AP_Relay: add AP::relay() to get relay singleton
6 years ago
Michael du Breuil
062bca6361
AP_Relay: Add singleton
6 years ago
Andrew Tridgell
47d8435cd6
AP_Relay: removed unused pin 115 from docs
6 years ago
Andrew Tridgell
5b23cb014a
AP_Relay: remove more px4 remnants
6 years ago
Peter Barker
b83f317681
AP_Relay: remove use of never-set AP_HAL_PX4 and AP_HAL_VRBRAIN
6 years ago
ChrisBird
fad02bf55a
AP_Relay: Adding a 5th and 6th Relay as per issue #8979
6 years ago
Michael du Breuil
8357b31e57
AP_Relay: Remove APM doc references
7 years ago
Francisco Ferreira
483048398e
AP_Relay: document BB Blue pin options
7 years ago
Chris Gaddis
35dddbd35a
AP_Relay: Enables relays 1-4 for Beaglebone Blue
...
Enables relays 1-4 on Beaglebone Blue GP0 connector pins 3-6
7 years ago
Andrew Tridgell
16cd31b63a
AP_Relay: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Lucas De Marchi
87d2bf22f2
AP_Relay: add static create method
7 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Lucas De Marchi
0332cde374
AP_Relay: replace header guard with pragma once
9 years ago
Andrew Tridgell
ea38448372
AP_Relay: don't default to using two PWMs as relays on FMUv4
9 years ago
Lucas De Marchi
8d9dfcab27
AP_Relay: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1
9 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
9 years ago
Gustavo Jose de Sousa
5893c48582
AP_Relay: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Andrew Tridgell
c80a631813
AP_Relay: fix for HAL_SITL rename
10 years ago
Randy Mackay
d9d238cc3c
Relay: param descr match labels for Pixhawk
...
Renamed Pixhawk FMU AUX1 to Pixhawk AUXOUT1 to match labels on case to
make it easier for users to know what value to choose
10 years ago
Randy Mackay
0d3e1131a7
Relay: Pixhawk AUXOUT2 enabled by default
10 years ago
Andrew Tridgell
d3347e528d
AP_Relay: added RELAY_DEFAULT parameter
...
this is useful when using a Pixhawk with an external relay, as it
allows you to cope with the pullup on the PWM pins
11 years ago
Emile Castelnuovo
4a5c31fe74
AP_relay: added default relay pin for VRBRAIN
11 years ago
Andrew Tridgell
732cd0e130
AP_Relay: fix for HAL_GPIO_*
11 years ago
Randy Mackay
4ebde25a26
AP_Relay: add -1:Disabled to list of param values
11 years ago
Emile Castelnuovo
69d2633465
AP_Relay: added #defines for VRBRAIN board
11 years ago
Andrew Tridgell
8202cf437b
AP_Relay: fixed Pixhawk relay pin numbers
...
thanks to Craig for spotting this!
11 years ago
Andrew Tridgell
4aa901f203
AP_Relay: added enabled() API
11 years ago
Andrew Tridgell
e42ba853ec
AP_Relay: enable up to 4 relay pins
11 years ago
Andrew Tridgell
8d08f6d669
AP_Relay: document new relay pin numbers
12 years ago
Andrew Tridgell
131aa53e42
AP_Relay: update for new PX4 relay pin
12 years ago
Marco Bauer
72d0721721
AP_Relay: setup pin for PX4 relay support
12 years ago
Andrew Tridgell
7902d57877
AP_Relay: added RELAY_PIN parameter
...
makes it easier to choose a pin
12 years ago
Pat Hickey
1b7b096b05
AP_Relay: fix pin used on APM2/SITL per Sando on drones-discuss
...
* My bad, thanks for the fix Sandro
12 years ago
Andrew Tridgell
5923808526
AP_Relay: allow for no relay pin
12 years ago
Andrew Tridgell
f7939ad179
AP_Relay: allow relay object in SITL
12 years ago
Andrew Tridgell
0b2960e504
fixup relay merge
12 years ago
Sandro Benigno
cc7f26a99b
New Relay class and the subclasses for APM1 and APM2.
...
Updated AP_Camera class.
12 years ago
Pat Hickey
4d0b1e6571
AP_Relay: add init method
12 years ago
Pat Hickey
f4f3062df1
AP_Relay: rewritten for AP_HAL
12 years ago
uncrustify
dd3201e050
uncrustify libraries/AP_Relay/AP_Relay.h
13 years ago