Andrew Tridgell
8ef2046f7b
AP_IOMCU: use blocking writes to uart
...
this avoids the issue of arming failing due to a non-zero protocol count
6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
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.
6 years ago
Peter Barker
35c2406b17
AP_HAL_ChibiOS: add missing override keywords
...
This was causing CubeOrange not to build
6 years ago
Michael du Breuil
e05047bb0b
AP_Scripting: Remove unneeded function, add some more enums
6 years ago
Randy Mackay
a8fd04ddf9
AC_Avoidance: Dijkstra's returns oa-not-required if path has been completed
6 years ago
Randy Mackay
452be5fd94
AC_Avoidance: Dijkstra skips calcs if current loc is same as destination
6 years ago
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
6 years ago
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
6 years ago
Randy Mackay
6361a9a204
AC_WPNav: constify get_wp_destination
6 years ago
Peter Barker
53f8aa2b92
AP_Landing: correct format string
6 years ago
Peter Barker
83b7857349
AP_RTC: add example for RTC functions
6 years ago
Rajat Singhal
ad9093251e
SITL: Remove unused includes
6 years ago
Rajat Singhal
4af8813014
AP_Proximity: Add license info in Airsim lidar backend
6 years ago
Rajat Singhal
4e847342b1
SITL: Add license info in Airsim files
6 years ago
Peter Barker
169013cae2
SITL: allow starting location to come from parameters
6 years ago
Peter Barker
94d2ce13d2
AP_HAL_SITL: allow starting location to come from parameters
6 years ago
Peter Barker
24405f1b23
SITL: correct and add comment
6 years ago
Peter Barker
f7b47679bb
SITL: remove home_str from constructor
6 years ago
Peter Barker
cdab58d598
AP_HAL_SITL: remove home_str from constructor
...
No Aircraft was actually using this in the constructor, so it's really
adding overhead for no good reason.
6 years ago
Peter Barker
1b3e2e3c8b
AP_HAL_Linux: add missing override keywords
6 years ago
Tom Pittenger
e70ff1b30a
AP_Mission: update NAV_DELAY comment that said wrong ID number
6 years ago
Peter Barker
b860676f12
AP_Mission: examples: var_info is now in GCS_MAVLINK_Parameters
6 years ago
Peter Barker
6af3149adc
AP_Logger: examples: var_info is now in GCS_MAVLINK_Parameters
6 years ago
Peter Barker
8c21a279ea
AP_GPS: examples: var_info is now in GCS_MAVLINK_Parameters
6 years ago
Peter Barker
c16504e33e
AP_Baro: examples: var_info is now in GCS_MAVLINK_Parameters
6 years ago
Peter Barker
9197ebc3b2
AP_Airspeed: examples: var_info is now in GCS_MAVLINK_Parameters
6 years ago
Peter Barker
98eca63201
AP_AHRS: var_info is now in GCS_MAVLINK_Parameters
6 years ago
Peter Barker
74670a77be
GCS_MAVLink: avoid allocating a GCS_MAVLINK per mavlink channel
6 years ago
Peter Barker
13c22c667d
AP_UAVCAN: add missing override keywords
6 years ago
Peter Barker
54b200a777
AP_HAL_ChibiOS: add missing uavcan-related override keywords
6 years ago
Randy Mackay
973caf26f7
AP_ToshibaCAN: constify some local variables
6 years ago
Randy Mackay
fbf5ecfe8c
AP_ToshibaCAN: ensure motors are off when vehicle is disarmed
6 years ago
Peter Hall
4afcc9c289
SITL: sailboat allow motor sailing
6 years ago
Peter Barker
20be080325
AP_Logger: correct example to add required override keywords
6 years ago
Peter Barker
67bf00c1c3
GCS_MAVLink: ensure payload space before sending message ack
...
Also add comment about how we shouldn't be sending this message at all.
6 years ago
Peter Barker
bb542ca39a
GCS_MAVLink: queue AUTOPILOT_VERSION for sending instead of direct-send
...
Also allows the message to be requested for streaming or with
REQUEST_MESSAGE
We weren't checking for buffer space before sending this out, so it was
a possible source of corruption.
6 years ago
Andrew Tridgell
5e40921b42
HAL_ChibiOS: fixed reboot hold in bootloader
...
thanks to Tom for noticing this
6 years ago
Peter Barker
e18174e4ac
AP_Logger: correct use of uninitialised stack value
6 years ago
Anthony Velte
5d2f114947
AP_HAL_SITL: Add scrimmage simulator support
6 years ago
Anthony Velte
92a9ab6c6d
SITL: Add scrimmage simulator support
6 years ago
Peter Barker
1adda1ccf0
AP_Compass: move automatic declination setting into AP_Compass itself
6 years ago
Andrew Tridgell
8d7262994b
AP_GPS: support yaw in GPS_INPUT mavlink GPS
...
useful for Vicon setups
6 years ago
Randy Mackay
c7ca9c04f8
AP_Math: add comment to vector2f::point_on_segment
6 years ago
Randy Mackay
a1a2733926
AC_Avoidance: reduce OA path planner look ahead and margin param defaults
6 years ago
Peter Barker
a5ec64fc99
AC_Fence: tidy get_breach_distance
...
The polygon fence will soon be able to supply a breach distance -
prepare for that.
6 years ago
Peter Barker
6a241cc3e9
AC_Fence: remove pointless sanity check
6 years ago
Randy Mackay
2bfc26621a
AP_Arming: resolve check_failed compiler warning
6 years ago