Lucas De Marchi
e98ccb9ae6
ArduRover: use static method to construct controllers
7 years ago
Lucas De Marchi
18aa88b329
global: use static method to construct AP_Mount
7 years ago
Lucas De Marchi
c3647f0185
global: use static method to construct AP_Camera
7 years ago
Lucas De Marchi
cc53e7bc4b
global: use static method to construct AP_ServoRelayEvents
7 years ago
Lucas De Marchi
9ce6019138
global: use static method to construct AP_Frsky_Telem
7 years ago
Lucas De Marchi
b36a5919f5
global: use static method to construct AP_Mission
...
This also move the initialization to be in the header for those that
weren't already to maintain consistency.
7 years ago
Lucas De Marchi
53c82b4aaf
global: use static method to construct DataFlash_Class
7 years ago
Lucas De Marchi
0c49b7a973
APMrover2: move version to a static member
...
We should never include version.h or ap_version.h headers directly
on a header since this will trigger a complete rebuild of the
codebase when we commit to the repository. The ap_version.h header
is auto-generated containing information from the current commit.
If we include it in a header, every other file that ends up including
that header (directly or indirectly) will need to be rebuilt. No
ccache's cache beats having to do nothing when the header is just
not included.
version.h contains information that is kept on a struct inside
each vehicle. Rather than using the macros from each vehicle,
the getter should be preferred, which returns an AP_FWVersion
referente.
7 years ago
Peter Barker
d98c427514
Rover: add constant structure holding firmware version
8 years ago
Randy Mackay
524fe4cd82
Rover: aux switch saves waypoint in manual or steering modes
...
Also refactor aux switch methods
rename LEARN_CH to AUX_CH
8 years ago
Randy Mackay
9097269d6d
Rover: use AR_AttitudeControl for steering control
8 years ago
Randy Mackay
66f1437e4f
Rover: remove unused throttle variable
8 years ago
Randy Mackay
974453607e
Rover: replace do-yaw with nav-set-yaw-speed
8 years ago
Peter Barker
81d52c282c
Rover: camera is responsible for taking distance-based-images and logging
8 years ago
Peter Barker
07f4603533
Rover: integrate mode class
8 years ago
khancyr
40b860e240
Rover: rename sonar to rangefinder
8 years ago
Peter Barker
cfeb449979
Rover: create GCS subclass, use inheritted methods
8 years ago
Peter Barker
8697faa44f
Rover: move should_log check of log bitmask into DataFlash
8 years ago
Peter Barker
3a85d8ed39
Rover: handle knowledge of in_log_download in DataFlash
8 years ago
Randy Mackay
584974fd74
Rover: set home from ekf position
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
aaa26af3f4
Rover: Fix constructor initialization order
8 years ago
Pierre Kancir
27e52695fe
APMRover2: add initial support for MAV_CMD_CONDITION_YAW
8 years ago
Pierre Kancir
c41e695c98
APMRover2: correct some style
8 years ago
Michael du Breuil
7b2da01836
Rover: Update for L1 constructor
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
08b0ba99db
Rover: fixes for AP_FrSky_Telem API change
9 years ago
floaledm
b5f75459f2
Rover: compatibility with revised AP_Frsky_Telem class
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
Andrew Tridgell
7daab1ee62
Rover: convert to Hz based task table
9 years ago
Tom Pittenger
545d926d20
Rover: bring rover mission callback inline with copter and plane
10 years ago
Peter Barker
e9e59e6c38
Rover: DataFlash frontend/backend split
10 years ago
Andrew Tridgell
e449b3c4a1
Rover: changes for new AHRS API
10 years ago
Lucas De Marchi
2f5314a1a6
APMrover2: use functor macros
...
Functor is not yet being used but let's make is macro fallback to the
previous Delegate implementation for easy of transition between the two.
10 years ago
Andrew Tridgell
3a28811909
Rover: removed remaining warnings from PX4 build
10 years ago
Andrew Tridgell
b47a09b709
Rover: fixed build of .cpp files
10 years ago
Andrew Tridgell
2b6835d187
Rover: rename all .pde files to .cpp files
10 years ago
Andrew Tridgell
b731ebfd9e
Rover: coversion to class now complete
10 years ago