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
2017-06-14 09:12:20 +09:00
Randy Mackay
584974fd74
Rover: set home from ekf position
2017-06-14 09:12:20 +09:00
Randy Mackay
0da6e73d76
Rover: add support for visual odometry
2017-06-14 09:12:20 +09:00
Randy Mackay
b56e246da6
Rover: add visual odometry to build
2017-06-14 09:12:20 +09:00
Peter Barker
81b19204c3
Rover: StartUnstartedLogging replaces logging_started/start_logging
2017-06-11 20:34:12 +01:00
Peter Barker
c5d40fd8b4
Rover: simplify should_log (NFC)
2017-06-11 20:34:12 +01:00
Pierre Kancir
a26710d769
APMRover2: add support for DISTANCE_SENSOR
2017-06-08 01:31:57 +01:00
Dr.-Ing. Amilcar Do Carmo Lucas
981807fe9a
Rover: NFC SYS_NUM_RESETS is a read-only variable
2017-06-07 19:53:00 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
771d2fb13c
Rover: Be more explicit that a SPEED_TURN_GAIN value of 80% reduces "to 80%" and not "by 80%"
2017-06-06 11:34:52 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
c389dd93d7
Rover: NFC - correct the units of the RNGFND_TURN_ANGL parameter
2017-05-30 12:09:50 +09:00
Paulo Neves
74d67f8d05
Rover: Add MAV_CMD_DO_SET_CAM_TRIGG_DIST support.
2017-05-25 09:35:22 +09:00
Michael du Breuil
379a4fbfab
Rover: Ignore landing message
2017-05-24 15:22:27 -07:00
Grant Morphett
5ac1293a52
Rover: Make base_mode armed status depend upon the arming library, not
...
soft armed
This change brings it in line with Plane.
2017-05-23 14:51:22 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
aaa26af3f4
Rover: Fix constructor initialization order
2017-05-18 09:31:11 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
f004f4b499
Rover: Spell in comments
2017-05-18 09:29:55 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
a2472e6787
Rover: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
2017-05-17 18:07:25 +10:00
Andrew Tridgell
f08074c0d7
Rover: removed AP_Airspeed from vehicle code
2017-05-04 22:59:02 -07:00
Grant Morphett
192ffdcca8
Rover: Creating beta release 3.2.0 Beta2
2017-05-04 21:59:45 +10:00
Pierre Kancir
00204367fc
APMRover2: Reduce the home position reset when disarm
2017-05-04 21:57:45 +10:00
Pierre Kancir
f725e9f2b5
APMRover2: correct some style after addition of velocity controler
2017-05-04 19:53:21 +10:00
Pierre Kancir
ed26c103f9
APMRover2: prevent unless calculus when stoping
2017-05-04 19:53:21 +10:00
Pierre Kancir
670e7b7914
ROVER: put all guided param in one structure
2017-05-04 19:53:21 +10:00
Pierre Kancir
045d171ab9
Rover: add Guided velocity controller
2017-05-04 19:53:21 +10:00
Randy Mackay
c1d3384835
Rover: rename set_next_WP to set_auto_WP to clarify usage
2017-05-04 19:53:21 +10:00
Randy Mackay
d6b55b2d09
Rover: set_guided_WP accepts location
2017-05-04 19:53:21 +10:00
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.
2017-05-01 15:04:34 +01:00
Andrew Tridgell
37585f213a
Rover: use common send_queued_parameters()
2017-05-01 14:36:10 +10:00
Andrew Tridgell
c5d17a9d92
Rover: call BoardConfig.init_safety() at end of startup
...
this fixes a bug where motors can start on soft reboot
2017-04-30 21:47:04 +10:00
Pierre Kancir
27e52695fe
APMRover2: add initial support for MAV_CMD_CONDITION_YAW
2017-04-28 12:01:47 +10:00
Andrew Tridgell
b344bd1071
Rover: fixed duplicate include of AP_ADC library
2017-04-27 18:32:26 +10:00
karthik.desai
47ff9ddeec
Rover: Added Beacon implementation
...
Enabled beacon parameters
beacon updates at 50hz
Use dataflash library to log AP_Beacon msg
2017-04-26 11:59:11 +09:00
Pierre Kancir
7f861aafd0
APMRover2: make on spot turn in skid and manual use full motor range
2017-04-26 10:38:01 +10:00
Pierre Kancir
83bf1fdca5
APMrover2: remove useless variable
2017-04-26 08:43:09 +10:00
Pierre Kancir
f13425aa28
APMRover2: make crash_check define static const
2017-04-26 08:43:09 +10:00
Pierre Kancir
2eb0ed6242
APMRover2: Remove, correct some cast
2017-04-26 08:43:09 +10:00
Pierre Kancir
409e8b5f26
APMRover2: Remove unused config define
2017-04-26 08:43:09 +10:00
Pierre Kancir
91958fb96a
APMRover2: Remove unused config define
2017-04-26 08:43:09 +10:00
Pierre Kancir
20cc336885
APMRover2: const correctness
2017-04-26 08:43:09 +10:00
Pierre Kancir
c41e695c98
APMRover2: correct some style
2017-04-26 08:43:09 +10:00
Pierre Kancir
b634fe548d
APMRover2: Use c++ cast
2017-04-26 08:43:09 +10:00
Peter Barker
d0f2e7bf3a
Rover: log GPS detection state to DF on log startup
2017-04-23 21:04:17 +01:00
Andrew Tridgell
7cc1009dab
Rover: ignore MSG_AOA_SSA
2017-04-19 20:48:42 +10:00
Pierre Kancir
6d1586044c
APMRover2: unhide default CH_7_PWM_TRIGGER & make it static const
2017-04-15 13:48:40 +10:00
Pierre Kancir
d4bd61d859
APMRover2: unhide default NAVL1_PERIOD with a define
...
set the correct value to param
2017-04-15 13:48:40 +10:00
Michael du Breuil
7328a8ad41
Rover: Send BATTERY_STATUS
2017-04-12 10:21:49 +09:00
Michael du Breuil
7b2da01836
Rover: Update for L1 constructor
2017-04-06 08:26:04 +10:00
Grant Morphett
0f671394e5
Rover: Creating Rover 3.2.0 BETA 1.
2017-04-03 12:28:30 +10:00
Andrew Tridgell
9cbfc4ddd3
Rover: add available memory to PM message
2017-03-27 14:35:21 +09:00
Grant Morphett
8212841b68
Rover: Bringing the releases notes up to date.
2017-03-15 17:24:35 +11:00
Grant Morphett
cfb11729a6
Rover: Setting crash detecting to off by default.
2017-03-15 17:24:35 +11:00
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
Grant Morphett
3410db5022
Rover: Fix motor_active check to checkout throttle output servo
2017-03-15 17:24:35 +11:00
Andrew Tridgell
3a7c541145
Rover: log home and origin on logging start
2017-03-14 10:51:15 +11:00
Pierre Kancir
1bd863e36b
ROVER: stop mission when leaving AUTO
2017-03-09 22:17:01 +11:00
Randy Mackay
b8f24fba98
Rover: fix SYSID_ENFORCE parameter description
2017-02-28 15:07:59 +09:00
Michael du Breuil
51c97af5b5
Rover: Reset home to AHRS location rather then snapshotting GPS
...
Also corrects rover locking home altitude to EKF origin altitude
2017-02-28 11:33:53 +11:00
Randy Mackay
f29fe8bb88
Rover: always specify rangefinder instance
2017-02-27 15:18:32 +09:00
Grant Morphett
8f252c4983
Rover: Incrementing version number to 3.2.0-dev
2017-02-24 11:29:25 +11:00
Pierre Kancir
7e746df82d
Rover: correct crash checker to take on spot rotation
2017-02-16 09:45:08 +11:00
Andrew Tridgell
fe4baf2904
Rover: setup frame type parameter flags
2017-02-14 19:50:01 +11:00
Peter Barker
82ac46e0ed
Rover: not in log download upon log erase
...
erase is a synchronous operation
2017-02-13 11:36:16 +11: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
Dr.-Ing. Amilcar Do Carmo Lucas
7f5ef7cf3a
Rover: rename MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW to better describe what it is
2017-02-07 11:41:12 +11:00
Andrew Tridgell
36cf57c0fa
Rover: fixed parameter path
2017-02-06 15:12:32 +11:00
Pierre Kancir
99ba8bdc08
APMRover2: add advance failsafe
2017-01-31 17:12:37 +11:00
murata
0c813c5afa
Rover: Unify from print or println to printf.
2017-01-27 18:20:22 +11:00
Randy Mackay
c701d6a715
Rover: send text to notify
2017-01-23 15:07:21 -08:00
Randy Mackay
cc64c5e44a
Rover: notify initialised after parameters loaded
2017-01-23 15:07:21 -08: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
Pierre Kancir
b31d2a59da
APMRover2: Fix skid steer in when in skid steer out
2017-01-17 10:31:43 +11:00
Pierre Kancir
e0a3caea13
APMRover2: Steering fix style
2017-01-17 10:31:43 +11:00
Andrew Tridgell
9fe3eba2a0
Rover: added automatic parameter upgrade for SRV_Channel
2017-01-12 17:39:37 +11:00
Andrew Tridgell
c638be54a3
Rover: removed use of pwm_to_angle()
2017-01-12 17:39:37 +11:00
Andrew Tridgell
93d6b012c2
Rover: convert to new SRV_Channel API
2017-01-12 17:39:37 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
5bf45dbffd
APMrover2: publish SPEED2THR_ parameters
2017-01-07 10:32:11 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
0054df9907
APMrover2: Correct AUTO_TRIGGER_PIN Values format
...
This allows simplified machine parsing of the generated XML file
2017-01-07 10:23:56 +11:00
Peter Barker
12d0241e51
Rover: fix compile when logging disabled
2017-01-03 08:51:50 +11:00
Peter Barker
61430a51b3
Rover: correct compilation when camera disabled
2017-01-02 16:17:43 +11:00
Pierre Kancir
7131b20b81
Rover: test.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
52aa6b5767
Rover: system.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
c2adb04a93
Rover: setup.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
51aaa7efa7
Rover: sensors.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
25fbfeb5cf
Rover: radio.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
fb8446ffd5
Rover: navigation.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
fa0b007efb
Rover: failsafe.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
ffaa355bee
Rover: defines.h correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
5232dce268
Rover: control_modes.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
597423fffc
Rover: config.h correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
283a199268
Rover: commands_process.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
0c420f931f
Rover: commands_logic.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
d68c7f935b
Rover: commands.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
f32de5e21b
Rover: Steering.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
84f70f722d
Rover: Rover.h correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
0f89f6918e
Rover: Parameters.h correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
70d0997b73
Rover: Parameters.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
5858c84f83
Rover: Log.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
d33f67e0c4
Rover: gcs_mavlink.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Pierre Kancir
aea1c81437
Rover: APMrover2.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
murata
490571ba44
Rover: Changed if statements to switch statement.
...
Rover: Changed if statements to switch statement.
2016-12-24 08:53:20 +11:00
Georgii Staroselskii
adad75756d
Rover: release-notes.txt typos in 3.1.0
...
its -> it's
get's -> gets
2016-12-24 08:51:07 +11:00
Grant Morphett
77319bb7b2
Rover: Creating Stable release 3.1.0
2016-12-22 16:33:16 +11:00
Grant Morphett
378bd84b29
Rover: Fixed a bug in the wp loiter functionality
...
Had a bug where the rover would loiter for ever and not resume even
though its loiter time had expired. This resolves that.
2016-12-20 14:35:28 +11:00
Andrew Tridgell
0266cb61e0
Rover: fixed EKF3 logging
2016-12-19 08:07:14 +11:00
priseborough
38ad778ff1
make.inc: Add EKF3 and remove EKF1 library from make.inc files
2016-12-19 08:07:10 +11:00
priseborough
2facebff80
Rover: Add EKF3 and remove EKF1
2016-12-19 08:07:10 +11:00
Randy Mackay
75aaf33d58
Rover: pass HIL_GPS to gps driver
2016-12-08 15:52:26 +09:00
Pierre Kancir
dec954bb0c
Rover: added crash check
2016-12-07 12:46:02 +11:00
Michael du Breuil
31e0c02030
Rover: Add compass cal capability bit
2016-12-04 19:17:01 -08:00
Randy Mackay
181e4de343
Rover: resolve compiler warning
2016-11-30 18:00:16 +09:00
Randy Mackay
55f316034c
Rover: include AP_Beacon
2016-11-30 17:57:04 +09:00
Randy Mackay
bdfae696ae
Rover: remove call to EKF1 logging
2016-11-30 17:57:03 +09:00
Randy Mackay
0a04bb26f0
Rover: add AP_Beacon to build
2016-11-30 17:57:02 +09:00
Peter Barker
09f16fbe79
Rover: do not reset LOG_BITMASK when no CardInserted
2016-11-29 15:14:09 -08:00
Peter Barker
3a095f00f1
Rover: check CardInserted in AP_Arming
2016-11-29 15:14:09 -08:00
Peter Barker
dab0d8e6e2
Rover: inform dataflash of vehicle arm state
2016-11-28 09:42:09 -08:00
Grant Morphett
939fb8ddd1
Rover: Creating Rover v3.1.0beta6
2016-11-28 16:41:26 +11:00
Grant Morphett
515ceb3ccd
Rover: Added logging of the guided commands
2016-11-28 12:00:03 +11:00
murata
bbf0cfb564
APMrover2: Change from printf statement to print, println statement.
2016-11-25 16:00:30 -08:00
Pierre Kancir
5ed9d22bf6
Rover: correct indentation and style on GCS_Mavlink
...
Remove trailling whitespace, tabs, limit single line if-statement scope, add missing space
2016-11-24 09:34:48 +11:00
Pierre Kancir
326e0f224f
Rover: added SYSID_ENFORCE parameter
2016-11-24 09:34:48 +11:00
Pierre Kancir
8c0de11d6d
APMrover2: remove double include stdarg.h
2016-11-23 18:47:34 +00:00
Francisco Ferreira
e870c4bf99
Rover: support MAV_CMD_ACCELCAL_VEHICLE_POS
2016-11-15 11:42:54 -08: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
Andrew Tridgell
84179588a9
Rover: use handle_common_message()
2016-11-09 17:08:09 +11:00
floaledm
ff23658784
Rover: move AP_Frsky_Telem for waf to ardupilotwaf
2016-11-08 07:42:39 +11:00
floaledm
8739858658
Rover: redo of commit b24d850695
2016-10-30 11:46:39 -02:00
Grant Morphett
a6a9678e94
Rover: Creating 3.1.0 Beta Release 5
2016-10-30 22:50:59 +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
Grant Morphett
960fd58c9c
Rover: Whitespace change only
...
Ran astyle over commands_logic.cpp because the file was all over the
place. Used the Tools/CodeStyle/astylerc as the options.
2016-10-30 21:10:33 +11:00
Peter Barker
36c0bacada
Rover: support for AP_Stats (flight time, bootcount, runtime)
2016-10-29 14:53:25 +09:00
Peter Barker
f1b776e4eb
Rover: change motor_active to be based on servo out rather than radio in
2016-10-29 14:53:25 +09:00
Peter Barker
cfee3b6c0e
Rover: add support for ParametersG2
2016-10-29 14:53:25 +09:00
murata
a71e889f51
Rover: To nullptr from NULL.
2016-10-28 16:22:44 -03:00
floaledm
629af84ca1
Rover: update sensor status error flags independently of sending a sys_status message
2016-10-28 15:11:44 +11:00
Michael du Breuil
b5684e7eb4
Rover: Allow compass to manage buffer space for MAG_CAL
2016-10-27 14:04:34 +11:00
Grant Morphett
e88995385a
Rover: Creating 3.1.0 Beta Release 4
...
New MAV_CMD_NAV_SET_YAW_SPEED and
COMMAND_INT MAV_CMD_DO_SET_ROI amonst others.
2016-10-25 08:07:23 +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
114b885162
Rover: fixed startup order of setting mavlink system ID
2016-10-17 09:21:20 +11:00
Andrew Tridgell
8b7c60dcd7
Rover: use handle_rc_bind
2016-10-15 21:42:38 +11:00
Andrew Tridgell
412dca1615
Rover: deprecate RC_CHANNELS_RAW
2016-10-13 21:24:13 +11:00
Michael du Breuil
8358809a02
Rover: Support GPS_RTCM_DATA
2016-10-11 11:00:36 +11:00
murata
1ece4b6f53
Rover: To add a judgment of 0 degrees longitude.
2016-10-05 08:27:14 -03:00
murata
eec491a1f9
Rover: To add a judgment of 0 degrees longitude.
2016-10-04 12:54:55 -03:00
Lucas De Marchi
b4a3e8a9c9
APMrover2: Fix use of logical op instead of bitwise op
...
../../ArduCopter/GCS_Mavlink.cpp: In member function 'void Copter::send_extended_status1(mavlink_channel_t)':
../../ArduCopter/GCS_Mavlink.cpp:281:37: error: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Werror=parentheses]
uint32_t sensors_error_flags = !control_sensors_health & control_sensors_enabled & control_sensors_present;
^
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
Thanks to Ralph Campbell <ralphcampbell1@gmail.com> for the bug report.
2016-09-29 11:36:23 -03:00
Pierre Kancir
c08584d219
APMrover2: simply invalid cmd msg
2016-09-27 07:45:48 -07:00
Pierre Kancir
6cb71fef0c
APMrover: uniformize verify_command
...
Add better gcs message,
Add all handle message,
Reformate comments,
2016-09-27 07:45:48 -07:00
Tom Pittenger
72da58960c
Rover: log to dataflash statustext messages from my_gcs
2016-09-26 00:13:39 -07:00