Grant Morphett
304c9b6e72
Rover: Fixed a bug in reverse
...
If a user was driving in reverse and when into an auto mission the
rover would try to do the whole mission in reverse. This fixes that.
2017-03-15 17:24:35 +11:00
Randy Mackay
f29fe8bb88
Rover: always specify rangefinder instance
2017-02-27 15:18:32 +09:00
Peter Barker
45e0765b97
Rover: Support for a GCS singleton
2017-02-13 09:32:01 +11:00
Peter Barker
407e251e1d
Rover: rename gcs[] to gcs_chan[]
...
Wish to use gcs() to return the gcs singleton
2017-02-13 09:32:01 +11:00
Pierre Kancir
99ba8bdc08
APMRover2: add advance failsafe
2017-01-31 17:12:37 +11:00
Randy Mackay
0b8ebe36dd
Rover: send flight mode string to Notify
2017-01-23 15:07:21 -08:00
Peter Barker
ddf172c75b
Rover: AP_Arming: use callback in place of variable reference for home state
2017-01-17 11:45:08 +09:00
Andrew Tridgell
93d6b012c2
Rover: convert to new SRV_Channel API
2017-01-12 17:39:37 +11:00
Peter Barker
61430a51b3
Rover: correct compilation when camera disabled
2017-01-02 16:17:43 +11:00
Pierre Kancir
84f70f722d
Rover: Rover.h correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
priseborough
2facebff80
Rover: Add EKF3 and remove EKF1
2016-12-19 08:07:10 +11:00
Pierre Kancir
dec954bb0c
Rover: added crash check
2016-12-07 12:46:02 +11:00
Randy Mackay
55f316034c
Rover: include AP_Beacon
2016-11-30 17:57:04 +09:00
Peter Barker
dab0d8e6e2
Rover: inform dataflash of vehicle arm state
2016-11-28 09:42:09 -08:00
Grant Morphett
515ceb3ccd
Rover: Added logging of the guided commands
2016-11-28 12:00:03 +11:00
Pierre Kancir
8c0de11d6d
APMrover2: remove double include stdarg.h
2016-11-23 18:47:34 +00:00
Grant Morphett
5b411aef65
Rover: Fixed LOITER_UNLIM to be an active loiter
...
This changes brings the LOITER commands in line so both LOITER_UNLIM
and LOITER_TIME are actively loitering.
2016-11-13 08:26:33 +11:00
Grant Morphett
86d4fcfb32
Rover: Station Keeping is implemented via NAV_LOITER_COMMAND
...
It is a very simply form of station keeping. If a boat is
loitering on a waypoint and it gets blown off a distance
past the WAYPOINT_RADIUS it will automaticlly drive back to
the waypoint.
2016-10-30 22:50:03 +11:00
Peter Barker
36c0bacada
Rover: support for AP_Stats (flight time, bootcount, runtime)
2016-10-29 14:53:25 +09:00
Peter Barker
cfee3b6c0e
Rover: add support for ParametersG2
2016-10-29 14:53:25 +09:00
floaledm
629af84ca1
Rover: update sensor status error flags independently of sending a sys_status message
2016-10-28 15:11:44 +11:00
Grant Morphett
2d09db4ecb
Rover: added a new form of GUIDED mode
...
Rover now accepts a new message MAV_CMD_NAV_SET_YAW_SPEED
which has an angle in centidegrees and a speed scale and the rover
will drive based on these inputs.
2016-10-25 08:04:01 +11:00
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.
2016-10-24 09:42:01 -02:00
Andrew Tridgell
08b0ba99db
Rover: fixes for AP_FrSky_Telem API change
2016-08-25 10:16:19 +10:00
floaledm
b5f75459f2
Rover: compatibility with revised AP_Frsky_Telem class
2016-08-25 10:16:18 +10:00
floaledm
4030851207
Rover: removed frsky_telemetry_send scheduled task
2016-08-25 10:16:17 +10:00
Andrew Tridgell
a4270b1bb6
APMrover2: adjust for 16 channels in SERVO_OUTPUT_RAW
2016-07-25 10:06:02 +10:00
Andrew Tridgell
fd0f31dc44
Rover: added AP_Button support
2016-07-22 15:01:21 +10:00
Grant Morphett
57c23c7fe3
Rover: Adding support for rovers driving in Reverse.
2016-07-17 08:15:34 +10:00
Grant Morphett
d1799884b2
Rover: Implemented MAV_CMD_NAV_LOITER_UNLIM
2016-07-14 11:34:22 +10:00
Peter Barker
a1c97f4585
Rover: subclass GCS_MAVLink in place of defining its functions for it
2016-05-29 16:21:21 +10:00
Andrew Tridgell
f61ba903dd
Rover: don't stall EKF during baro cal
2016-05-24 17:00:55 +10:00
Lucas De Marchi
d3ee998fa6
APMrover2: use separate header for version macro
...
Having the version macro in the config.h and consequently in the main
vehicle header means that whenever the version changes we need to
compiler the whole vehicle again. This would not be so bad if we weren't
also appending the git hash in the version. In this case, whenever we
commit to the repository we would need to recompile everything.
Move to a separate header that is include only by its users. Then
instead of compiling everything we will compile just a few files.
2016-05-06 13:11:28 -03:00
Ricardo de Almeida Gonzaga
5bd034a5a8
Global: start using cmath instead of math.h
2016-04-05 21:06:19 -07:00
Grant Morphett
2c4aaf7cb3
Rover: Commit for Rover release 3.0.0
2016-04-05 15:45:18 +10:00
Lucas De Marchi
dd8014dd2f
APMrover2: replace header guard with pragma once
2016-03-16 18:40:44 +11:00
Michael du Breuil
b6378e2827
Rover: Use arming voltage
2016-03-14 09:07:34 -07:00
Tom Pittenger
0372b52378
Rover: convert to using static send_statustext
...
- no more MSG_STATUSTEXT
- TODO: replace calls to gcs_send_text and gcs_send_text_fmt to GCS_MAVLINK::send_statustext()
2016-02-24 09:18:05 +11:00
Dario Lindo Andres
f731a0dc53
APMrover2: Added precise camera trigger logging
...
included update_trigger function
added camera trigger precise time mark
detect camera feedback pin status
added support for TRIGGER MSG
corrected according to defines.h
2016-01-29 09:19:43 +11:00
Siddharth Bharat Purohit
53d3e7dc61
Rover: wire up accel calibrator for Rover
2015-12-29 10:46:35 -08:00
Andrew Tridgell
7daab1ee62
Rover: convert to Hz based task table
2015-12-27 14:57:24 +09:00
Andrew Tridgell
c94b30b7bc
Rover: fixed flymaple build
2015-12-22 11:35:31 +11:00
Julien BERAUD
c28a71ec63
Rover: Update Optical Flow declaration
...
Pass ahrs as param
2015-12-18 17:56:06 +11:00
Lucas De Marchi
767f126eaa
APMrover2: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:44 +11:00
Peter Barker
5d46a9add0
Rover: support multiple simultaneous backends
2015-12-03 13:21:51 +11:00
Caio Marcelo de Oliveira Filho
ee073787c8
Rover: use millis/micros/panic functions
...
Instead of going through 'hal' then 'scheduler', use directly the AP_HAL
functions. Besides removing indirection that is not necessary for such
functions, this patch ends up reducing the code size in the call sites.
For example, building ArduCopter for PX4 with this change (compared to
before introduction of the functions) yields almost 3k bytes of code
size.
# ArduCopter build before the functions (1b29a1af46
)
text data bss dec hex filename
895264 2812 62732 960808 ea928 /.../px4fmu-v2_APM.build/firmware.elf
# ArduCopter build after this patch
text data bss dec hex filename
892264 2812 62732 957808 e9d70 /.../px4fmu-v2_APM.build/firmware.elf
A later patch will remove the unused functions in the Schedulers.
2015-11-20 12:26:14 +09:00
Grant Morphett
bbbbd07935
Rover: GPS fix to ensure we only look at new GPS messages
2015-11-11 13:39:39 +11:00
Grant Morphett
e81973cd29
Rover: motor_active method similar to the plane is_flying but simpler
2015-11-11 13:39:39 +11:00
Grant Morphett
3636b53313
Rover: Implementation of the ARMING functionality
2015-11-11 13:39:38 +11:00
Grant Morphett
2d1745ab6a
Rover: Implemented the HOME state update from Plane
2015-11-11 13:39:38 +11:00