Commit Graph

39262 Commits

Author SHA1 Message Date
Peter Barker c0774e74e0 Copter: fix format-string compilation warning
../../ArduCopter/mode_auto.cpp: In member function 'void ModeAuto::do_nav_delay(const AP_Mission::Mission_Command&)':
../../ArduCopter/mode_auto.cpp:1372:84: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     gcs().send_text(MAV_SEVERITY_INFO, "Delaying %u sec",nav_delay_time_max_ms/1000);
                                                                                    ^

This is with a mini-pix build.
2019-08-21 18:48:45 +09:00
Peter Barker 984be44eea Tools: adjust reverse dependencies in build-with-disable-features.py 2019-08-21 17:27:20 +10:00
Peter Barker 479b2c5e11 Tools: autotest: allow nav-delay-abstime to delay arbitrary time 2019-08-21 16:08:24 +10:00
Peter Barker 1b36d64794 Plane: correct compilation with GEOFENCE_ENABLED==DISABLED 2019-08-20 23:03:32 -07:00
Peter Barker cd45f3a14c Tools: build_binaries.py: honour BUILDLOGS environment variable 2019-08-21 14:51:09 +10:00
Peter Barker 592c7acc4c AP_RTC: add clarifying comment on get_time_utc 2019-08-21 09:38:41 +10:00
Peter Barker 46c880089c AP_RTC: tighten types on get_system_clock_utc
None of these components should ever be negative - given its source is
only ever seconds-since-epoch.
2019-08-21 09:38:41 +10:00
Peter Hall 4492c09b3b AP_HAL_SITL: Scheduler skip set stack on Cygwin 2019-08-20 15:59:32 -07:00
Michael du Breuil c0ffdd7efb gitignore: Ignore scripts and any stack traces 2019-08-20 23:59:06 +01:00
Michael du Breuil ea64077f77 Plane: Remove redundant protection 2019-08-20 23:59:06 +01:00
murata 851ee24c99 AP_RangeFinder: Clarify the purpose of input registers 2019-08-20 14:36:29 +01:00
Gone4Dirt 5239d86d13 AP_RPM: Added Arduino RPM Sensor Debug Tool
This debug tool has been created to help users correctly impliment
and debug various RPM sensors when an oscilloscope is unavailable.

The RPM Sensor wiki will direct to this tool to help users.
2019-08-20 09:13:09 +10:00
Tom Pittenger 018e766a3f Sub: NAV_Delay variable timers to be all unsigned and labeled as _ms 2019-08-19 15:24:06 -07:00
Tom Pittenger 0983a04d52 Copter: NAV_Delay variable timers to be all unsigned and labeled as _ms 2019-08-19 15:24:06 -07:00
mhefny 1e41f7cc61 SITL: add Webots support and examples 2019-08-19 19:36:25 +10:00
mhefny 42cbb370f9 Tools: add Pyramid location 2019-08-19 19:36:25 +10:00
mhefny c1c32ab615 AP_HAL_SITL: add Webots support 2019-08-19 19:36:25 +10:00
Peter Barker 28b0b86487 Rover: resolve compiler warning for delay time 2019-08-19 18:10:15 +09:00
Andrew Tridgell 992016069a AP_InertialSensor: fixed watchdog on AHRS trim gyro wait 2019-08-19 14:37:46 +10:00
Peter Barker 914e6c5497 AP_HAL_Linux: check return value of system command
Compilation fails on disco without this patch as system is declared with
attribute warn_unused_result
2019-08-19 14:37:13 +10:00
Peter Barker 5f2dd57cca AP_Radio: add missing override keywords
AP_Radio doesn't compile without these patches.
2019-08-19 14:36:16 +10:00
Peter Barker 4b870d752f Copter: fix toy-mode build
handle_message changed signature a few months ago but this is protected
by pragmas such that it is only ubild on SkyViper
2019-08-19 14:36:16 +10:00
Peter Barker 56c0866d06 Rover: rename and tighten type on motor_test_seq
This name is too close to "order" which is a completely separate concept
in the mavlink test packet.

Renamed it to motor_test_instance.
2019-08-19 09:03:06 +09:00
Peter Barker c153a2d891 Tools: autotest: add test for motor test 2019-08-19 09:03:06 +09:00
Peter Barker 51070b39d9 Rover: motortest: pass a GCS_MAVLINK& in place of a channel 2019-08-19 09:03:06 +09:00
Andrew Tridgell 10770b5c7f Plane: update release notes for 3.9.10beta1 2019-08-18 16:18:43 +10:00
Peter Barker 03c439f9ab GCS_MAVLink: make update_sensor_status_flags private 2019-08-17 17:45:03 +10:00
Peter Barker 2768d229ed Plane: stop updating sensor status flags
These are updated as required in the gcs library itself.
2019-08-17 17:45:03 +10:00
Peter Barker b9a387ed9e Copter: stop updating sensor status flags
These are updated as required in the gcs library itself.
2019-08-17 17:45:03 +10:00
Peter Barker 4fc57b1aa8 Rover: stop updating sensor status flags
These are updated as required in the gcs library itself.
2019-08-17 17:45:03 +10:00
Andrew Tridgell 8ef2046f7b AP_IOMCU: use blocking writes to uart
this avoids the issue of arming failing due to a non-zero protocol count
2019-08-17 17:36:41 +10:00
Andrew Tridgell 8080efbc6a HAL_ChibiOS: allow for blocking unbuffered uarts
this is used by AP_IOMCU to avoid a race condition where the mutex is
busy on write() causing a zero-length write and delayed output
2019-08-17 17:36:41 +10:00
Andrew Tridgell a575b9a586 Tools: rebuilt IO firmware
new protocol version
2019-08-17 17:36:41 +10:00
Andrew Tridgell 454717cf6f AP_IOMCU: cleanup IO protocol and add logging
this cleans up the IOMCU protocol structures now we don't need to be
compatible with the old nuttx based protocol and adds logging of IOMCU
errors
2019-08-17 17:36:41 +10:00
Andrew Tridgell 984542fa53 AP_IOMCU: fixed error handling for short packets
this prevents short packets from the IOMCU being processed. A short
enough read could be processed as a valid status packet, which would
lead to invalid values for safety flag and servo voltage

fixes issue #12030
2019-08-17 17:36:41 +10:00
Andrew Tridgell afc8a70ce4 HAL_ChibiOS: fixed a bug in wait_timeout() on UARTs
wait_timeout() could return true on a read of less bytes than are
expected.
2019-08-17 17:36:41 +10:00
Randy Mackay eb9e5df0dd Rover: resolve send_text compile warning 2019-08-17 13:40:24 +09:00
Peter Barker 35c2406b17 AP_HAL_ChibiOS: add missing override keywords
This was causing CubeOrange not to build
2019-08-17 13:25:05 +10:00
Michael du Breuil e05047bb0b AP_Scripting: Remove unneeded function, add some more enums 2019-08-17 10:41:27 +09:00
Randy Mackay a8fd04ddf9 AC_Avoidance: Dijkstra's returns oa-not-required if path has been completed 2019-08-17 09:42:43 +09:00
Randy Mackay 452be5fd94 AC_Avoidance: Dijkstra skips calcs if current loc is same as destination 2019-08-17 09:42:43 +09:00
Randy Mackay bed21b43e1 AP_OAPathPlanner: minor fix to return original origin and dest upon failure
this has no functional effect because the consumers are not using the origin_new and destination_new unless the ret_state was OA_SUCCESS
2019-08-17 09:42:43 +09:00
Randy Mackay 709c874d8b Copter: integrate AP_OAPathPlanner 2019-08-17 09:42:43 +09:00
Randy Mackay aeb98c7555 AC_WPNav: integrate OAPathPlanner
includes these changse:
get_wp_distance_to_destination always uses oa unadjusted destination
get_wp_bearing_to_destination always uses oa unadjusted destination
stop vehicle if object avoidance fails
OA adjusted altitude interpolated from original track
2019-08-17 09:42:43 +09:00
Randy Mackay 6361a9a204 AC_WPNav: constify get_wp_destination 2019-08-17 09:42:43 +09:00
Peter Barker 53f8aa2b92 AP_Landing: correct format string 2019-08-16 13:47:39 +10:00
Peter Barker 83b7857349 AP_RTC: add example for RTC functions 2019-08-16 13:47:13 +10:00
Rajat Singhal ad9093251e SITL: Remove unused includes 2019-08-15 20:03:31 +10:00
Rajat Singhal 4af8813014 AP_Proximity: Add license info in Airsim lidar backend 2019-08-15 20:03:31 +10:00
Rajat Singhal 4e847342b1 SITL: Add license info in Airsim files 2019-08-15 20:03:31 +10:00