Commit Graph

25502 Commits

Author SHA1 Message Date
Randy Mackay
e31d6d051d Copter: get_frame_mav_type switch fix
This returns generic as the mavtype and avoids warnings of unreachable code
Thanks to muramura for suggesting this
2016-12-31 10:55:23 +09:00
Randy Mackay
037e411e35 AP_Motors: fix example sketch
Also minor formatting fix
Thanks to OXINARF for spotting this
2016-12-31 10:55:23 +09:00
Randy Mackay
ffa6d1a5b9 AP_Motors: init fixes for frame_class, type and initialised_ok
Thanks to OXINARF for spotting these
2016-12-31 10:55:23 +09:00
Randy Mackay
12d024e0c6 Copter: rename FRAME to FRAME_TYPE
This unifies the plane and copter parameter names
2016-12-31 10:55:23 +09:00
Randy Mackay
934ef55338 Plane: quadplane instantiates motor matrix outside of case
Thanks to khancyr for noticing this
2016-12-31 10:55:23 +09:00
Randy Mackay
daea22d4ac Tools: autotest scripts set FRAME_CLASS 2016-12-31 10:55:23 +09:00
Randy Mackay
c6dec5c3f6 Plane: quad plane uses consolidated multicopter classes 2016-12-31 10:55:23 +09:00
Randy Mackay
01bcf5e528 Copter: add arming checks for motor setup 2016-12-31 10:55:23 +09:00
Randy Mackay
217757fdc8 Copter: default FRAME_CLASS 2016-12-31 10:55:23 +09:00
Randy Mackay
0ac00dbfd6 Copter: add FRAME_CLASS parameter 2016-12-31 10:55:23 +09:00
Randy Mackay
a276f5dc90 AP_Motors: fix example sketch 2016-12-31 10:55:23 +09:00
Randy Mackay
7be0f437a9 AP_Motors: consolidate matrix multicopters
AP_MOTORS_x_FRAME definitions moved to motor_frame_type enum
init function and now accepts frame-class and type to perform initial motor setup
set_frame_class_and_type allows real-time changing of motor setup
initialised_ok flag and accessor records whether setup was successful
2016-12-31 10:55:23 +09:00
Randy Mackay
41189758b8 AP_Motors: move some functions to protected
Also minor formatting fix
2016-12-31 10:55:23 +09:00
murata
13ad06e652 AP_Notify: Change on / off of LED to ternary operator. 2016-12-30 15:02:16 -08:00
Andrew Tridgell
7a5ee29b6e AP_AHRS: fixed a build warning 2016-12-31 08:53:16 +11:00
Randy Mackay
a276b9c271 ReadMe: add Francisco, remove duplicate
added AntennaTracker to Randy's vehicle list
moved TomP up to be under other Vehicle maintainers
2016-12-30 15:58:39 +09: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
Andrew Tridgell
ad518f0cc7 AP_AHRS: fixed EKF type 10 EKF nav scaler return 2016-12-29 18:43:32 +11:00
Daniel Schonfeld
ef637e4add a better way to determine if were running inside a vagrant box 2016-12-29 10:46:29 +11:00
Shingo Matsuura
21ca1d3835 AP_Beacon: fixed comment. NE is correct. 2016-12-28 10:54:32 +09:00
Andrew Tridgell
f6cc506791 APM_Control: Added derating of steering wheel 2016-12-27 13:33:52 +11:00
Randy Mackay
e497dedf35 AP_Proximity: add MAV type
This accepts DISTANCE_SENSOR messages from eight sectors around the vehicle
2016-12-27 08:37:48 +09:00
Randy Mackay
8215b92371 AP_RangeFinder: MAV only accepts DISTANCE_SENSOR with orient 25
25 is  MAV_SENSOR_ROTATION_PITCH_270 meaning downward facing
2016-12-27 08:37:48 +09:00
murata
653030b038 AP_NavEKF2: Changed if statements to switch statement.
AP_NavEKF2: Change indentation.
2016-12-26 10:15:55 +09:00
Randy Mackay
a2f6d7c102 AP_HAL: minor comment fix to Device.h 2016-12-24 13:55:31 +09:00
Randy Mackay
2076da3a72 AP_Proximity: minor comment fix
No functional change
2016-12-24 13:55:28 +09:00
murata
d56bad781f AP_InertialSensor: change if statements to switch statement
No functional change
2016-12-24 12:23:59 +09:00
murata
398b7b83dd AP_InertialSensor: minor formatting fixes
No functional change
2016-12-24 12:23:58 +09:00
murata
6045612011 AP_Beacon: combine duplicate checks into device_ready method 2016-12-24 12:11:53 +09:00
Peter Barker
3551609a21 Copter: payload place requires 30% throttle reduction to release 2016-12-24 11:53:19 +09:00
Peter Barker
c191a44b27 Copter: payload place skips releasing states if gripper not valid 2016-12-24 11:50:01 +09:00