Peter Barker
9d0da4a71f
Rover: move home state into AP_AHRS
7 years ago
Dylan Herman
3edaff0309
Rover: sets SmartRTL home after ahrs home is set
...
Now uses AP_SmartRTL::set_home. It is called when arming and when GCS
requests home to be set to the current location
7 years ago
Randy Mackay
de406da254
Rover: set home using EKF position
...
previously the home position could be set from DCM
This makes the setting of home slower but more accurate
7 years ago
Randy Mackay
894bf2a23f
Rover: support SET_GPS_GLOBAL_ORIGIN message
7 years ago
Randy Mackay
fe6465b748
Rover: remove next_WP, wp_distance, navigate
...
Also remove prev_WP, wp_totalDistance which are all handled within mode class
8 years ago
Randy Mackay
1b19ee865d
Rover: remove active-loiter and set-auto-wp
...
these are now handled by auto mode
8 years ago
Randy Mackay
b9db9229d9
Rover: replace vehicle code guided methods with calls to guided mode class
...
set_guided_WP replaced by mode_guided.set_desired_location
nav_set_yaw_speed replaced with mode_guided.set_desired_heading_and_speed
set_guided_velocity replaced with mode_guided.set_desired_turn_rate_and_speed
guided_control structure replaced with mode_guided members
use_pivot_steering accepts yaw-error argument instead of calculating it itself internally
8 years ago
Peter Barker
07f4603533
Rover: integrate mode class
8 years ago
Peter Barker
aeed1f0ff4
Rover: eliminate global static GCS_MAVLINK::send_home_all
8 years ago
Peter Barker
9509f7f1bf
Rover: use send_text method on the GCS singleton
8 years ago
Randy Mackay
eb2aa80fca
Rover: compass set-initial-location uses ahrs location
...
Previously it could attempt to use a gps location even if gps was not being used
Also compass-accumulate moved to sensors.cpp
8 years ago
Randy Mackay
584974fd74
Rover: set home from ekf position
8 years ago
Pierre Kancir
00204367fc
APMRover2: Reduce the home position reset when disarm
8 years ago
Pierre Kancir
f725e9f2b5
APMRover2: correct some style after addition of velocity controler
8 years ago
Pierre Kancir
670e7b7914
ROVER: put all guided param in one structure
8 years ago
Pierre Kancir
045d171ab9
Rover: add Guided velocity controller
8 years ago
Randy Mackay
c1d3384835
Rover: rename set_next_WP to set_auto_WP to clarify usage
8 years ago
Randy Mackay
d6b55b2d09
Rover: set_guided_WP accepts location
8 years ago
Michael du Breuil
51c97af5b5
Rover: Reset home to AHRS location rather then snapshotting GPS
...
Also corrects rover locking home altitude to EKF origin altitude
8 years ago
Pierre Kancir
d68c7f935b
Rover: commands.cpp correct whitespace, remove tabs
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
Grant Morphett
777af546e0
Rover: ensure height calcs are using the same origin.
9 years ago
Luis Vale Gonçalves
999e99c6f3
Rover: revise text messages
...
Text revisions on Rover. Uniformization on messages severity.
9 years ago
Grant Morphett
2d1745ab6a
Rover: Implemented the HOME state update from Plane
9 years ago
lvale
a64689600f
Rover: text message severity uniformization
...
Global revision of message severity values.
Required also change to the low priority function gcs_send_text_fmt()
on GCS_Mavlink.cpp to disable the automatic setting of priority on
messages sent by this function
9 years ago
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Randy Mackay
836fff2119
Rover: send home position when home is set or get-home msg received
9 years ago
squilter
b4cf0ce2bb
Rover: update severity values
10 years ago
Randy Mackay
5ef4f8e90a
Rover: log ahrs home and ekf origin
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
Andrew Tridgell
adbf9c362e
Rover: automatic substitution for class members
10 years ago
Andrew Tridgell
cd8fd86565
Rover: use mission.start_or_resume()
...
this allows the user to setup whether a mission restarts or resumes
11 years ago
Andrew Tridgell
f4079f57b2
Rover: convert to new GPS API
11 years ago
Randy Mackay
59555e8364
Rover: revert next_WP, prev_WP to location structures
11 years ago
Randy Mackay
4ca3a92655
Rover: Mission integration into command execution
11 years ago
Randy Mackay
26b82cf0a3
Rover: use common location options masks
11 years ago
Andrew Tridgell
eac4b1ec96
Rover: fixed EKF usage for rover
...
added barometer object, and use shared home object from AHRS. This
gives basic EKF operation.
11 years ago
Andrew Tridgell
97ed733ada
Rover: use L1 controller for navigation
...
this uses the AP_L1_Control library for rover navigation
12 years ago
Andrew Tridgell
ee19b09e9f
Rover: fixes for new AP_Math location API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
12 years ago
Andrew Tridgell
b5db3288ae
Rover: changes for GPS field changes
12 years ago
Andrew Tridgell
f50fe7a77a
Rover: made a bit test clearer
12 years ago
tobias
217b8d7a59
cleanup: use const for struct Location pointers and references
...
this allows the compiler to generate more efficient code
12 years ago
Andrew Tridgell
582d1c47b3
Rover: added filter to auto steering, and fixed throttle pid
12 years ago
Andrew Tridgell
be39ccf02c
Rover: use new constrain_int16 function
12 years ago
Andrew Tridgell
b284d4c21e
Rover: first cut at porting rover to AP_HAL
12 years ago
Andrew Tridgell
5768244671
Rover: more cleanups
...
get rid of flight_mode_strings and cleanup unused code
switch to using ahrs for have_position
12 years ago
Andrew Tridgell
691d19dd98
Rover: more cleanup, and fixed navigation code
...
removed loiter code
12 years ago