mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
Plane: change param prefixes for roll/pitch controllers
This commit is contained in:
parent
7b98ab0f12
commit
a35d8e584d
@ -848,13 +848,13 @@ const AP_Param::Info Plane::var_info[] = {
|
|||||||
(const void *)&plane.quadplane.attitude_control,
|
(const void *)&plane.quadplane.attitude_control,
|
||||||
{group_info : AC_AttitudeControl_Multi::var_info}, AP_PARAM_FLAG_POINTER },
|
{group_info : AC_AttitudeControl_Multi::var_info}, AP_PARAM_FLAG_POINTER },
|
||||||
|
|
||||||
// @Group: RLL2SRV_
|
// @Group: RLL
|
||||||
// @Path: ../libraries/APM_Control/AP_RollController.cpp
|
// @Path: ../libraries/APM_Control/AP_RollController.cpp
|
||||||
GOBJECT(rollController, "RLL2SRV_", AP_RollController),
|
GOBJECT(rollController, "RLL", AP_RollController),
|
||||||
|
|
||||||
// @Group: PTCH2SRV_
|
// @Group: PTCH
|
||||||
// @Path: ../libraries/APM_Control/AP_PitchController.cpp
|
// @Path: ../libraries/APM_Control/AP_PitchController.cpp
|
||||||
GOBJECT(pitchController, "PTCH2SRV_", AP_PitchController),
|
GOBJECT(pitchController, "PTCH", AP_PitchController),
|
||||||
|
|
||||||
// @Group: YAW2SRV_
|
// @Group: YAW2SRV_
|
||||||
// @Path: ../libraries/APM_Control/AP_YawController.cpp
|
// @Path: ../libraries/APM_Control/AP_YawController.cpp
|
||||||
|
@ -38,6 +38,9 @@ void Plane::init_ardupilot()
|
|||||||
can_mgr.init();
|
can_mgr.init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
rollController.convert_pid();
|
||||||
|
pitchController.convert_pid();
|
||||||
|
|
||||||
// initialise rc channels including setting mode
|
// initialise rc channels including setting mode
|
||||||
rc().init();
|
rc().init();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user