yaozb
b47d4acd31
修改起飞悬停高度来源
5 years ago
yaozb
13ff67c6c0
消息汉化
5 years ago
z
3c55f5276f
rtl rc disable
5 years ago
z
0d1bc2ea4e
auto mode disable rc channels
5 years ago
yaozb
0b250ceb63
无人机上锁更难状态码,起飞降落倒计时分开
5 years ago
yaozb
bd615a6892
起飞着陆添加倒计时
5 years ago
yaozb
a6d437808a
添加起飞与降落到指定高度请求继续
5 years ago
z
9df69543f0
add sysid
5 years ago
Randy Mackay
d6c913cc50
Copter: use const reference when retrieving wpnav destination
5 years ago
Randy Mackay
7ed3efd377
Copter: auto stays in takeoff submode after reaching altitude
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
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.
6 years ago
Tom Pittenger
0983a04d52
Copter: NAV_Delay variable timers to be all unsigned and labeled as _ms
6 years ago
Randy Mackay
709c874d8b
Copter: integrate AP_OAPathPlanner
6 years ago
liang
e422f2b2fd
Copter: mode_auto: retract the landing gear automatically
6 years ago
Leonard Hall
c56acb49d6
Copter: Add missing Loiter initialisation lines.
...
This command is missing to define the desired acceleration that loiter will initalise to.
loiter_nav->clear_pilot_desired_acceleration();
6 years ago
Randy Mackay
b7a748df88
Copter: auto's wp_start accepts terrain alts
6 years ago
Peter Barker
e3da6d69d5
Copter: mode_auto: don't set takeoff dest from bad current location
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
Peter Barker
6dce39cbe1
Copter: use AP_Arming methods to arm and disarm vehicle
...
Really just changing the namespace of init_arm_motors
6 years ago
Randy Mackay
791b6effdd
Copter: fix wp distance and bearing reporting during LOITER_TURNS
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
bnsgeyer
f96da56ad6
Copter: Allow safe shutdown before disarming
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
Peter Barker
c7e21d95ef
Copter: move Log_Write_Error into library
6 years ago
Peter Barker
366051c39f
Copter: use enum class for AltFrame enumeration
6 years ago
Randy Mackay
e57ec068f0
Copter: remove duplicate guided limit-init-time-and-pos
...
this is called from nav_guided_start()
6 years ago
Randy Mackay
8d66c5f547
Copter: move do_payload_place handler
...
commands are placed in numerical order
6 years ago
Peter Barker
281dbfcef8
Copter: support send_extended_sys_state
6 years ago
Peter Barker
fab2d59a1c
Copter: move check for position up
6 years ago
Randy Mackay
384bca9482
Copter: stop at waypoint depending upon next command
6 years ago
Arjun Vinod
d02d897928
Copter: make LOITER_TIME send "Reached command" message to GCS
6 years ago
Arjun Vinod
8044d98382
Copter: do an early-return if the time hasn't been reached
6 years ago
Peter Barker
5ae52038fa
Copter: make setting of home boolean in preparation for sanity checks
6 years ago
Peter Barker
228d7b676d
Copter: move responsibility for parachute deployment up
6 years ago
Peter Barker
587e02e92e
Copter: remove pv_ functions that duplicate Location functions
6 years ago
Randy Mackay
42c7f5ceb4
Copter: integrate WPNAV::set_speed_z split to set_speed_up and set_speed_down
6 years ago
Randy Mackay
717fb4d823
Copter: integrate AC_WPNav::get_speed rename to get_default_speed
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
845f015648
Copter: adjust for Location_Class and Location unification
6 years ago
Peter Barker
73940df48e
Copter: move mission into mode_auto
6 years ago
Peter Barker
7e581da1cf
Copter: implement misson LOITER_TO_ALT
6 years ago
Peter Barker
a339d77f08
Copter: let AP_Mission handle common camera commands
6 years ago
Peter Barker
f97281eb48
Copter: move servorelayevents mission handling into AP_Mission
6 years ago