Peter Barker
dcad79bdef
Rover: use DataFlash should_log to determine raw IMU logging
8 years ago
Peter Barker
8697faa44f
Rover: move should_log check of log bitmask into DataFlash
8 years ago
Randy Mackay
351b37fc31
Rover: only report system status after init has completed
...
This reduces errors reported to the GCS during startup
8 years ago
Peter Barker
3a85d8ed39
Rover: handle knowledge of in_log_download in DataFlash
8 years ago
Pierre Kancir
0017485ee7
Rover: move failsafe_trigger from system to failsafe
8 years ago
Pierre Kancir
feb8c30af4
Rover: move rssi.init and set_control_channels
8 years ago
Pierre Kancir
32dc59baec
Rover: fix throttle slew limit for skid steer out
8 years ago
Peter Barker
aeacc11573
APMrover2: stop using in_mavlink_delay as a proxy for disabling logging
8 years ago
Peter Barker
0df30d03b1
Rover: call dataflash should_log method
8 years ago
Randy Mackay
a07920c5b2
Rover: add init_compass method
...
no functional change
8 years ago
Randy Mackay
0da6e73d76
Rover: add support for visual odometry
8 years ago
Peter Barker
81b19204c3
Rover: StartUnstartedLogging replaces logging_started/start_logging
8 years ago
Peter Barker
c5d40fd8b4
Rover: simplify should_log (NFC)
8 years ago
Randy Mackay
d6b55b2d09
Rover: set_guided_WP accepts location
8 years ago
Peter Barker
74e0d6c60a
Rover: move init of DataFlash references into vehicle init
...
It is possible to start a log before the existing codepath is crossed.
8 years ago
Andrew Tridgell
c5d17a9d92
Rover: call BoardConfig.init_safety() at end of startup
...
this fixes a bug where motors can start on soft reboot
8 years ago
karthik.desai
47ff9ddeec
Rover: Added Beacon implementation
...
Enabled beacon parameters
beacon updates at 50hz
Use dataflash library to log AP_Beacon msg
8 years ago
Pierre Kancir
20cc336885
APMRover2: const correctness
8 years ago
Pierre Kancir
c41e695c98
APMRover2: correct some style
8 years ago
Pierre Kancir
b634fe548d
APMRover2: Use c++ cast
8 years ago
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.
8 years ago
Pierre Kancir
1bd863e36b
ROVER: stop mission when leaving AUTO
8 years ago
Peter Barker
45e0765b97
Rover: Support for a GCS singleton
8 years ago
Peter Barker
407e251e1d
Rover: rename gcs[] to gcs_chan[]
...
Wish to use gcs() to return the gcs singleton
8 years ago
murata
0c813c5afa
Rover: Unify from print or println to printf.
8 years ago
Randy Mackay
cc64c5e44a
Rover: notify initialised after parameters loaded
8 years ago
Randy Mackay
0b8ebe36dd
Rover: send flight mode string to Notify
8 years ago
Andrew Tridgell
93d6b012c2
Rover: convert to new SRV_Channel API
8 years ago
Pierre Kancir
52aa6b5767
Rover: system.cpp correct whitespace, remove tabs
8 years ago
Peter Barker
dab0d8e6e2
Rover: inform dataflash of vehicle arm state
8 years ago
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.
8 years ago
Peter Barker
36c0bacada
Rover: support for AP_Stats (flight time, bootcount, runtime)
8 years ago
murata
a71e889f51
Rover: To nullptr from NULL.
8 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
Andrew Tridgell
114b885162
Rover: fixed startup order of setting mavlink system ID
8 years ago
Tom Pittenger
1bd882a07c
Rover: frsky telem init to utilize default arguments
8 years ago
floaledm
4c4648bdf8
Rover: consolidate into a single frsky.init()
8 years ago
Andrew Tridgell
203e0c7472
Rover: fixes for Frsky_Telem API changes
9 years ago
floaledm
4030851207
Rover: removed frsky_telemetry_send scheduled task
9 years ago
Andrew Tridgell
a0d4feb216
Rover: changed startup order
...
this allows BoardConfig to report errors in a way that allows for
BRD_TYPE to be changed by the user
9 years ago
Grant Morphett
57c23c7fe3
Rover: Adding support for rovers driving in Reverse.
9 years ago
Grant Morphett
094d571196
Rover: Skid steering disarming fixes
...
I have disabled steering disarming for skid steering rovers. Its
perfectly reasonable for a skid steering rover to go hard left on the
spot without any throttle and the user wouldn't want the rover to
disarm during this procedure.
If you disarm from the GCS for a skid steering rover we also ensure
the steering channel is disabled.
9 years ago
Andrew Tridgell
f61ba903dd
Rover: don't stall EKF during baro cal
9 years ago
Andrew Tridgell
99cc737693
Rover: simplify UART setup
9 years ago
Lucas De Marchi
368a72044c
APMrover2: fix indentation leading to compiler warning
...
GCC 6 has a new warning about misleading indentation:
../../APMrover2/system.cpp: In member function ‘void Rover::set_mode(mode)’:
../../APMrover2/system.cpp:272:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (control_mode == AUTO)
^~
../../APMrover2/system.cpp:275:2: note: ...this statement, but the^Bn latter is misleadingly indented as if it is guarded by the ‘if’
control_mode = mode;
^~~~~~~~~~~~
The issue here is that we are mixing tabs and spaces. Remove tabs and re-indent
the code.
9 years ago
Andrew Tridgell
c0172516af
Rover: use DataFlash::log_while_disarmed()
9 years ago
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.
9 years ago
Tom Pittenger
c38bec6385
Rover: use set_dataflash() for static logging
9 years ago
Jonathan Challinger
f1db10c337
APMrover2: reflect changes to AP_Mount
9 years ago
Siddharth Bharat Purohit
53d3e7dc61
Rover: wire up accel calibrator for Rover
9 years ago