yaozb
c1afedaf58
更新起飞降落电池消息等级,消息添加前缀
5 years ago
z
d716d9a258
GPS change, Flow rotation
5 years ago
yaozb
0b250ceb63
无人机上锁更难状态码,起飞降落倒计时分开
5 years ago
yaozb
59e0797af0
fix status ==
5 years ago
yaozb
bd615a6892
起飞着陆添加倒计时
5 years ago
Michael du Breuil
b42b1c08c4
Copter: Support new AP_Vehicle::set_mode
5 years ago
Peter Barker
b4537bebd8
Copter: move control_mode_t into being Mode::Number enum class
...
Fixes this compiler error:
In file included from ../../ArduCopter/sensors.cpp:1:
In file included from ../../ArduCopter/Copter.h:195:
../../ArduCopter/mode.h:1291:9: fatal error: declaration shadows a variable in the global namespace [-Wshadow]
AUTO, // after A and B defined, pilot toggle the switch from one side to the other, vehicle flies autonomously
^
../../ArduCopter/defines.h:38:5: note: previous declaration is here
AUTO = 3, // fully automatic waypoint control using mission commands
^
1 error generated.
5 years ago
Rishabh
00f6dc9b05
Copter: brake moved in from AC_WPNav
6 years ago
Peter Barker
676d75c391
Copter: correct namespacing of Copter modes
...
This makes us look like Rover and Plane in terms of namespacing for the
Mode classes, and removes a wart where we #include mode.h in the middle
of the Mode class.
This was done mechanically for the most part.
I've had to remove the convenience reference for ap as part of this.
6 years ago
Pierre Kancir
caf925eda5
Copter: factorize arm or land check
6 years ago
Peter Barker
46a6f45e4a
Copter: adjust for desired spool state and spool state renames
6 years ago
bnsgeyer
94738c3f86
Copter: change make_safe_shut_down to make_safe_spool_down
6 years ago
Leonard Hall
593925567b
Copter: formatting fixes
6 years ago
Randy Mackay
a6bfafefb0
Copter: move loiter and wpnav init out of make_safe_shut_down
...
resolves autotest RTLSpeed test failure
6 years ago
Leonard Hall
38cc5a817f
Copter: consolidate mode state decisions
...
bnsgeyer and rmackay9 contributed to these changes
make_safe_shut_down waits for spool down before disarming
remove use of attitude_control::set_throttle_out_unstabilized to consolidate logic between multicopters and tradhelis
6 years ago
bnsgeyer
d949c80d54
Copter: tradheli replaces rotor_runup_complete with spool state
6 years ago
Peter Barker
7c05364612
Copter: reindent mode init functions (NFC)
6 years ago
Peter Barker
fab2d59a1c
Copter: move check for position up
6 years ago
murata
8644f4d76e
Copter: Disable option code
...
Copter: Revert change
Copter: Change mistakes
6 years ago
Peter Barker
26ca75efae
Copter: make libraries get EKF control limits themselves
6 years ago
Michael du Breuil
7e1ed948f5
Copter: Cope with AC_PosControl renaming
6 years ago
Randy Mackay
59e4749fd0
Copter: integrate AC_Loiter
...
includes param conversion
7 years ago
Leonard Hall
9544b1763b
Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc
7 years ago
Andrew Tridgell
0ed75052f8
Copter: enable parameters inside mode objects
...
this adds FHLD_* parameters for FlowHold mode. It is a large patch as
it needs to disentagle the mode class to enable it to be used in
Parameters.h
7 years ago
Peter Barker
71ad1b5815
Copter: use zero_throttle_and_relax_ac function
7 years ago
Randy Mackay
c3fbf2671c
Copter: rename control_xx.cpp files to mode_xx.cpp
7 years ago
Randy Mackay
06fbe8f3a7
Copter: rename FlightMode class to Mode
...
also remove unused print_FlightMode method
7 years ago
Randy Mackay
8870897847
Copter: FlightMode objects use lower case
7 years ago
Peter Barker
51cd143012
Copter: FlightMode - convert BRAKE flight mode
7 years ago
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
8 years ago
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.
8 years ago
Randy Mackay
5894a54a16
Copter: althold uses current alt target if active
...
Previously we always reset the altitude target to the current altitude but this causes a jump if the vehicle is already in an alt-hold flight mode but has an altitude error
8 years ago
Randy Mackay
aa4661835e
Copter: brake - fix call to relax_alt_hold_controller
9 years ago
mirkix
e3934fac80
ArduCopter: Delete (wrong) filename out of header
9 years ago
Leonard Hall
7d54c268f6
Copter: consolidate input_euler_angle calls to use smoothing gain
...
Previously we had _smooth and non-smooth methods in the attitude
controller but as part of the move to quaternions these have been replaced
by a single call which always takes a smoothing gain
9 years ago
Leonard Hall
e9d8a28ec0
Copter: AP_Motor's throttle_hover replaces throttle_average
9 years ago
Randy Mackay
cfb2a6b2f9
Copter: update brake-timeout to work with master
...
We added mode-change reasons since PR was submitted
9 years ago
Jonathan Challinger
c99cac773b
Copter: add brake_timeout_to_loiter_ms
9 years ago
Randy Mackay
10f8e36f9b
Copter: brake uses AP_Motors set_desired_spool_state
9 years ago
Leonard Hall
07b311f6a8
Copter: brake sets desired spool state
9 years ago
Jonathan Challinger
dfab21171b
Copter: call renamed functions in AC_AttitudeControl
9 years ago
Jonathan Challinger
9d8b0f3d58
Copter: call renamed functions in AC_AttitudeControl
9 years ago
Leonard Hall
411e75b917
Copter: feed forward only used for AltHold, Loiter, PosHold
...
land modes use non-feedforward alt hold
9 years ago
Randy Mackay
9b80ab18ae
Copter: position_ok when optical flow ok
...
Previously the GPS based absolute position was required
This allows using optical flow in all flight modes
9 years ago
Randy Mackay
35a924703f
Copter: change multirotor comments to multicopter
...
No functional change
10 years ago
Robert Lefebvre
0a69c13b1d
Copter: Fix helicopter ground stabilization in Auto, Brake, Circle, Guided, Land and RTL modes.
10 years ago
Randy Mackay
ee3ba48097
Copter: set Brake speed to 250
10 years ago
Randy Mackay
362a43c126
Copter: explicitly set alt_target_from_climb_rate parameter
10 years ago
Jonathan Challinger
fb82ac3eb3
Copter: rework land detector logic
10 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago