Commit Graph

44 Commits

Author SHA1 Message Date
Andrew Tridgell
527de3f2e4 AntennaTracker: changes for more common mavlink code 2014-07-13 15:37:50 +10:00
Andrew Tridgell
a3b91660eb AntennaTracker: build fixes for new GCS_MAVLink API 2014-06-03 10:40:10 +10:00
Mike McCauley
7e3daacda0 AntennaTracker: add support for PROXY_MODE 2014-06-03 10:40:07 +10:00
Andrew Tridgell
286fdf2acc AntennaTracker: use new GCS_Common.cpp functions 2014-05-28 09:36:12 +10:00
Andrew Tridgell
7cc3cb8d9b AntennaTracker: updates for new GCS_MAVLink API 2014-05-21 12:45:25 +10:00
Andrew Tridgell
9e7e2eb106 AntennaTracker: use setup_uart() 2014-05-16 11:46:10 +10:00
Andrew Tridgell
43fc6ce0b8 AntennaTracker: use get_altitude_difference() 2014-04-11 16:34:14 +10:00
Andrew Tridgell
b1b96ec8e9 AntennaTracker: added SCAN mode
this is used to test calibrate the compass, and to test tracking PIDs
2014-04-09 15:28:14 +10:00
Andrew Tridgell
b45819dd97 AntennaTracker: don't use EEPROM home if a startup home is set in parameters 2014-04-09 15:28:14 +10:00
Andrew Tridgell
db7c3a9c52 AntennaTracker: added SERIAL_CONTROL support
allows for radio update and config over USB
2014-04-09 15:28:14 +10:00
Andrew Tridgell
8debcba4b1 AntennaTracker: fixed manual control, and added baro calibration
this allows baro offsets to be compensated for before takeoff
2014-04-09 15:28:14 +10:00
Andrew Tridgell
d395f50521 AntennaTracker: added GPS parameters 2014-04-01 06:38:25 +11:00
Andrew Tridgell
c51212da53 AntennaTracker: convert to new GPS API 2014-04-01 06:38:24 +11:00
Andrew Tridgell
ea6fbae666 AntennaTracker: fixed pitch slew rate limit 2014-03-31 17:48:28 +11:00
Andrew Tridgell
4cb9d4fcb5 AntennaTracker: fixed mode set using custom mode 2014-03-31 17:48:28 +11:00
Mike McCauley
ffcac91120 AntennaTracker: update_GPS now sets HOME position and compass.set_initial_location on first good GPS fix 2014-03-27 13:01:57 +11:00
Mike McCauley
7116fdecde AntennaTracker: added documentation about compass calibration to AntennaTracker.txt 2014-03-27 13:01:57 +11:00
Mike McCauley
2e3989f78d AntennaTracker: initial position was not being set on normal startup 2014-03-27 13:01:57 +11:00
Mike McCauley
6648170102 AntennaTracker: remove call to set fly forward, else if the tracker is moving it will use the GPS direction for yaw instead of the compass 2014-03-27 13:01:57 +11:00
Mike McCauley
cc21f68ed4 AntennaTracker: minor cleanups in tracker.pde 2014-03-27 13:01:56 +11:00
Mike McCauley
25c46cdc00 AntennaTracker: Added supportfor manual control message to force antenna bearing and pitch in manual mode 2014-03-27 13:01:56 +11:00
Andrew Tridgell
72c12fb2b3 AntennaTracker: added boardconfig object
this allows the safety switch to be disabled
2014-03-27 08:06:50 +11:00
Andrew Tridgell
e40c178e11 AntennaTracker: fixed build with GPS changes 2014-03-24 12:04:09 +11:00
Andrew Tridgell
af2ae30b65 AntennaTracker: fixed APM2 serial speed handling
need to change based on USB mux status
2014-03-22 19:31:51 +11:00
Andrew Tridgell
3a3a074fab AntennaTracker: fixed ballerina and more accurate tracking
implement new parameter options
2014-03-22 19:31:51 +11:00
Andrew Tridgell
262f8b9f48 AntennaTracker: added STOP mode
to stop tracker moving
2014-03-22 19:31:51 +11:00
Andrew Tridgell
ba312ee68e AntennaTracker: lots of new parameters
YAW_SLEW_TIME, PITCH_SLEW_TIME, MIN_REVERSE_TIME, START_LATITUDE,
START_LONGITUDE and STARTUP_DELAY

See the parameter docs for explanations
2014-03-22 19:31:41 +11:00
Andrew Tridgell
1f74736804 AntennaTracker: use common deferred message handling 2014-03-19 12:14:21 +09:00
Andrew Tridgell
851fb61901 AntennaTracker: fixed for new MAVLink handling 2014-03-19 12:13:43 +09:00
Andrew Tridgell
59c21fff88 AntennaTracker: added sending on SIMSTATE in SITL 2014-03-13 07:30:25 +11:00
Andrew Tridgell
aaf22457e5 AntennaTracker: added a note on simulating an antenna tracker 2014-03-12 14:42:55 +11:00
Andrew Tridgell
7b1ce2eeb7 AntennaTracker: fixes for antenna tracker
- use pressure to calculate vehicle altitude
- changed approach to slewing
- fixed mavlink mode
2014-03-12 14:36:51 +11:00
Mike McCauley
c53ad6e3d3 AntennaTracker: Improvements to yaw slewing and ballerina mode 2014-03-08 21:55:58 +11:00
Mike McCauley
33dc55714c AntennaTracker: update documentation 2014-03-08 21:55:58 +11:00
Mike McCauley
66016e3d1b AntennaTracker: initial documentation 2014-03-08 21:55:57 +11:00
Mike McCauley
b4a0c7db63 AntennaTracker: add support for MANUAL and AUTO modes 2014-03-08 21:55:57 +11:00
Mike McCauley
7c2bba169e AntennaTracker: use gcs[] array instead of old idiom gcs0, gcs3 2014-03-08 21:55:57 +11:00
Mike McCauley
05646904de AntennaTracker: finish adding GPS support, including using relative or absolute altitudes 2014-03-08 21:55:57 +11:00
Mike McCauley
b1e00c695e AntennaTracker: now supports mavlink arm and disarm commands to disable antenna servo outputs 2014-03-08 21:55:57 +11:00
Mike McCauley
0885d55905 Tools/AntennaTracker: completed intial tracker code
Now works with 2 servo alt-azimuth mounted antenna tracking mount. Tested
on Flymaple, with Eagle Tree antenna tracker.
2014-03-03 06:36:37 +11:00
Mike McCauley
8251cf32fb Tools/AntennaTracker: removed duplicate update_tracker from task list 2014-03-03 06:34:50 +11:00
Mike McCauley
8f71af605b AntennaTracker: update to build with latest libraries
AntennaTracker has not been maintained as other parts of the system and
libraries have been modernised. This patch at least gets it to the stage where
it compiles and runs in SITL. Also added Tools/autotest/sim_antennatracker.sh
to run in SITL
2014-02-18 19:09:21 +11:00
Andrew Tridgell
f493b1c07a AntennaTracker: change to Compass::learn_offsets 2014-02-16 13:21:58 +11:00
Andrew Tridgell
871a606ce1 AntennaTracker: first cut at antenna tracking sketch 2013-10-24 14:34:03 +11:00