Commit Graph

165 Commits

Author SHA1 Message Date
Andrew Tridgell c7c8a36620 Rover: use new handle_mission_request() function
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:13:13 +09:00
Randy Mackay de119e07bb Rover: remove do_takeoff, do_change_alt support 2014-03-19 12:13:07 +09:00
Randy Mackay df5c874f73 Rover: fix to support uploading partial missions 2014-03-19 12:12:58 +09:00
Randy Mackay 7ff379850c Rover: integrate variable max num commands 2014-03-19 12:12:05 +09:00
Randy Mackay df1b2e1192 Rover: Mission integration with GCS_Mavlink.pde 2014-03-19 12:11:28 +09:00
Randy Mackay 26b82cf0a3 Rover: use common location options masks 2014-03-19 12:10:23 +09:00
Andrew Tridgell 8740ccfc61 Rover: only send GPS2_RAW when we have a 2nd GPS 2014-03-03 07:05:42 +11:00
Andrew Tridgell 82ffc0ff2b Rover: support a 2nd GPS 2014-02-26 09:24:23 +11:00
Andrew Tridgell 50f89d0aa6 Rover: pass fix type to gps->setHIL() 2014-02-25 21:11:06 +11:00
Andrew Tridgell 4ed2630f4f Rover: fix for HIL API change 2014-02-23 08:18:15 +11:00
Andrew Tridgell 532f06073a Rover: set the ahrs.set_armed() flag 2014-02-19 10:54:04 +11:00
Andrew Tridgell 9d6005edd8 Rover: log power status on Pixhawk 2014-02-15 05:00:09 +11:00
Andrew Tridgell 4e2dbb4a4b Rover: change to new board_voltage() API 2014-02-14 21:50:59 +11:00
Andrew Tridgell 7aef90a1f3 Rover: consider GPS unhealthy if it doesn't have GPS lock 2014-01-27 09:02:39 +11:00
Andrew Tridgell 0828c40870 Rover: converted to AP_ServoRelayEvents 2014-01-20 17:06:29 +11:00
Andrew Tridgell ef57306311 Rover: log PX4 and NuttX versions in logs 2014-01-14 15:38:42 +11:00
Andrew Tridgell 72ce7f5827 Rover: only log when armed 2014-01-14 15:10:13 +11:00
Andrew Tridgell 33acce71c8 Rover: prevent log corruption during log creation 2014-01-14 14:40:10 +11:00
Andrew Tridgell 3b2ef31cc0 Rover: use common available_memory() 2013-12-28 16:02:45 +11:00
Andrew Tridgell daa0a7346e Rover: removed common functions 2013-12-17 12:00:46 +11:00
Andrew Tridgell fbd2f7f880 Rover: support log download over MAVLink 2013-12-17 11:51:36 +11:00
Andrew Tridgell e80308882e Rover: use common GCS.h 2013-12-17 11:51:34 +11:00
Andrew Tridgell 563e5f71ff Rover: changes for compass API 2013-12-09 17:46:57 +11:00
Andrew Tridgell 562c353bd7 Rover: report both sets of sensors in MAVLink 2013-12-09 17:34:07 +11:00
Andrew Tridgell 615e718524 Rover: updates for compass API change 2013-12-09 17:34:06 +11:00
Andrew Tridgell a5b0dcc6d9 Rover: log system ID if available 2013-11-26 13:00:03 +11:00
Andrew Tridgell fe0e627304 Rover: changed SERIAL3_BAUD to SERIAL1_BAUD
and add SERIAL2_BAUD for systems that have it
2013-11-26 13:00:03 +11:00
Andrew Tridgell 41cf8d91c3 Rover: fixed VFR_HUD.throttle for reverse 2013-11-25 11:50:50 +11:00
Andrew Tridgell 14a0f8f46d Rover: added support for uartD 2013-11-25 11:21:52 +11:00
Andrew Tridgell cae3d3b378 Rover: show git and firmware version in tlog 2013-11-09 10:09:20 +11:00
Andrew Tridgell 9748e72b3e Rover: report INS health 2013-11-07 12:48:17 +11:00
Andrew Tridgell 023957967c Rover: fixed PM message 2013-11-02 21:41:33 +11:00
Andrew Tridgell 54ab96fe16 Rover: removed fast_loop() and use scheduler for all tasks
this also fixes a parameter download speed issue
2013-10-28 10:34:32 +11:00
Andrew Tridgell 7a9048f225 Rover: added MAVLink SYSTEM_TIME message 2013-10-24 14:22:48 +11:00
Andrew Tridgell cd5b24bf02 Rover: slow parameter send check to 5Hz
this solves an issue with current MP
2013-10-21 09:56:01 +11:00
Andrew Tridgell 8f9315f047 Rover: bring MAVLink stream handling inline with plane 2013-10-21 09:56:00 +11:00
Andrew Tridgell 5acc372f40 Rover: support MAV_CMD_DO_SET_CAM_TRIGG_DIST 2013-10-11 21:42:13 +11:00
Randy Mackay ed7f831c18 Rover: mavlink ext status to use SYS_STATUS_SENSOR enum 2013-10-04 13:21:03 +09:00
Randy Mackay 121e4932ea Rover: integrate BattMonitor 2013-10-03 11:16:29 +09:00
Andrew Tridgell b52b6ce121 Rover: only send RC_CHANNELS_SCALED in HIL
saves a bit of telemetry bandwidth
2013-09-21 09:30:30 +10:00
Andrew Tridgell 481429de61 Rover: use new HAL usb_connected() function 2013-09-19 16:24:59 +10:00
Andrew Tridgell d20644e664 Rover: added SR0 and SR3 stream rates to auto docs 2013-09-12 09:51:36 +10:00
Andrew Tridgell d000cd2320 Rover: switched to new steering controller
this uses a steering rate controller, based upon the planes roll
controller
2013-09-09 18:04:41 +10:00
Andrew Tridgell 887942471e Rover: use Y accel computed from gyro and velocity
this should be less susceptible to noise and attitude errors,
hopefully leading to better learning
2013-09-09 18:04:40 +10:00
Andrew Tridgell ecccc05eed Rover: added STEERING_LEARN parameter
when enabled (set to 1) it will learn TURN_CIRCLE based on the
demanded and actual lateral acceleration
2013-09-09 18:04:40 +10:00
Andrew Tridgell 6c2f623df2 Rover: send y accel in m/s/s as nav_pitch
this allows for easier tuning in MissionPlanner
2013-09-09 18:04:40 +10:00
Andrew Tridgell 97ed733ada Rover: use L1 controller for navigation
this uses the AP_L1_Control library for rover navigation
2013-09-09 18:04:40 +10:00
Andrew Tridgell 1ca1b1e36e Rover: support reboot to bootloader 2013-09-04 11:58:41 +10:00
Andrew Tridgell 1646b9c815 Rover: updates for new notify API 2013-08-30 13:01:35 +10:00
Andrew Tridgell 4f6bd0e3c9 Rover: support new RADIO_STATUS msg 2013-08-24 17:59:13 +10:00
Andrew Tridgell 9f49b8fa48 Rover: use the new load_average() API 2013-08-02 18:46:38 +10:00
Andrew Tridgell 5b88334dbb Rover: added full camera and mount support 2013-07-15 09:57:00 +10:00
Andrew Tridgell b5db3288ae Rover: changes for GPS field changes 2013-07-10 14:04:22 +10:00
Andrew Tridgell feb539bade Rover: fixed HIL operation
only HIL sensors - removed HIL_MODE_ATTITUDE as it didn't exercise
enough of the code
2013-06-04 11:57:59 +10:00
Andrew Tridgell 5a9485a419 Rover: support RCMAP_* mapping for steering/throttle 2013-06-03 19:33:59 +10:00
Andrew Tridgell 7c0e0e6b85 Rover: use RC_Channel::rc_channel() 2013-06-03 16:23:48 +10:00
Randy Mackay 31e3f32930 Rover: send_text_P bug fix for short messages 2013-05-20 12:51:29 +09:00
Andrew Tridgell 8361cd31f2 Rover: send all mavlink string messages to flash log 2013-05-03 09:18:33 +10:00
Andrew Tridgell 5594e4d9bc Rover: use new HIL compass API 2013-05-02 14:59:48 +10:00
Andrew Tridgell b13406859f Rover: replaced constrain() with constrain_float() 2013-05-02 10:26:12 +10:00
Andrew Tridgell cabef0ef6c Rover: cleanup build warnings 2013-04-20 13:52:36 +10:00
Andrew Tridgell 90f70707b1 Rover: convert to new logging system 2013-04-20 13:52:36 +10:00
Andrew Tridgell a8d6fa3107 Rover: fixed dataflash logs to be useful
added sonar and fixed other messages
2013-04-19 10:23:57 +10:00
Andrew Tridgell 9eaa764f42 Rover: report smaller of two sonar distances 2013-03-29 11:00:41 +11:00
Andrew Tridgell caaf32211e Rover: new failsafe logic
this obeys FS_TIMEOUT and FS_ACTION
2013-03-29 10:25:53 +11:00
Andrew Tridgell caf5e5b7c5 Rover: added HOLD mode
used when RTL completes
2013-03-29 08:53:20 +11:00
Andrew Tridgell 7b04747366 Rover: identify as a rover in MAVLink heartbeat message 2013-03-29 08:16:29 +11:00
Randy Mackay 6cb47cee6b Rover: add support for GPS fix type 2D 2013-03-27 11:41:58 +09:00
Andrew Tridgell a88ac50e6c Rover: log the X accel that triggers auto 2013-03-22 11:54:04 +11:00
Andrew Tridgell 24094252fd Rover: only enter CLI is link is idle when 3 enters are hit
this will prevent binary contents of RADIO packets being interpreted
as CLI enter line-feeds
2013-03-21 21:58:12 +11:00
Andrew Tridgell 83d5a64ca8 Rover: change CLI timeout to 20s 2013-03-21 17:34:23 +11:00
Andrew Tridgell daa603552b Rover: added new STEERING mode
this makes it easier to tune for auto mode
2013-03-01 22:33:11 +11:00
Andrew Tridgell 12d73a8662 Rover: use new AP_RangeFinder_analog class 2013-03-01 12:00:48 +11:00
Andrew Tridgell 44a279811d Rover: removed old LITE mode
this will be replaced with a AHRS_Lite backend later
2013-03-01 07:40:47 +11:00
Michael Oborne c2fd7617e1 Send FS state to gcs for AR 2013-02-09 10:11:43 +08:00
Andrew Tridgell f1ff27ed08 Rover: major restructuring
this removes a lot of the old arduplane code, and renames a lot of
variables.

This will need a lot more testing and fixup before being usable
2013-02-08 09:21:22 +11:00
Andrew Tridgell 6fa5837f71 Rover: fixed mavlink fetch of 16 character parameter 2013-01-21 16:51:50 +11:00
James Bielman 5631f865b2 Update floating point calculations to use floats instead of doubles.
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
2013-01-16 13:52:01 +11:00
Andrew Tridgell ca1070f10e Rover: fixed a build warning 2013-01-13 20:05:14 +11:00
Andrew Tridgell 1104d45a2c Rover: update for new AP_Param API 2013-01-09 13:30:53 +11:00
Andrew Tridgell ef35aa63ce Rover: port rover code to PX4 2013-01-02 22:14:35 +11:00
Andrew Tridgell 5a56b845c0 Rover: use GRAVITY_MSS 2013-01-02 14:45:08 +11:00
Andrew Tridgell 9931009db2 Math: use pythagorous2() in some more places 2012-12-20 15:16:18 +11:00
Pat Hickey 2ad4fed8cd Rover/Copter/Plane: change from vsnprintf to vsnprintf_P 2012-12-20 14:52:38 +11:00
Pat Hickey 2f1846165b ArduRover: use hal's vsnprintf 2012-12-20 14:52:38 +11:00
Andrew Tridgell 1c2a220888 Rover: more mavlink fixes 2012-12-20 14:52:35 +11:00
Andrew Tridgell 45615e5698 Rover: merge in mavlink updates from ArduPlane 2012-12-20 14:52:35 +11:00
Andrew Tridgell b284d4c21e Rover: first cut at porting rover to AP_HAL 2012-12-20 14:52:34 +11:00
Andrew Tridgell 33e47e2036 Rover: set throttle range from -100 to 100
this allows for reverse
2012-12-18 15:42:11 +11:00
Andrew Tridgell ff9628accf Rover: removed some more plane specific variables 2012-11-29 20:53:21 +11:00
Andrew Tridgell ff41e057d9 Rover: added partial update of waypoints 2012-11-28 09:35:42 +11:00
Andrew Tridgell 691d19dd98 Rover: more cleanup, and fixed navigation code
removed loiter code
2012-11-28 09:35:42 +11:00
Andrew Tridgell 54a722158a Rover: fixed cliSerial and clean out more gunk 2012-11-27 21:47:30 +11:00
Andrew Tridgell 24adc1aaa3 Rover: make it possible to run the CLI over a radio link 2012-11-21 21:41:34 +11:00
Andrew Tridgell 704da2a5d9 MAVLink: make it possible to enter the CLI over the radio
this only works on the APM2, where UART0 is also the radio port
2012-11-21 14:11:05 +11:00
Andrew Tridgell 39836eabb2 Rover: support 16 character parameter names 2012-11-20 21:39:11 +11:00
Andrew Tridgell 69fbcc8683 MAVLink: fixed accel and gyro sensor offsets in MAVLink 2012-11-20 18:32:26 +11:00
Andrew Tridgell abc0a1cd38 Rover: major update, fixing lots of bugs
This removes a lot of the ArduPlane specific cruft left over from the
initial Rover import from ArduPlane, plus fixes a bunch of serious
bugs. For example, the rover was unable to use either compass or gps
for heading - it used just gyros!

There is still a lot of cruft left, but this at least gives a bit
better basis for future work
2012-11-17 17:45:30 +11:00
rmackay9 e877a58b60 APMRover: fixes to incorporate accelerometer calibration 2012-11-07 19:21:20 +09:00
Andrew Tridgell e04de04cbd Rover: fixed type of payload size 2012-09-25 07:20:54 +10:00