mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
CA: rename ControlAllocation::getEffectivenessMatrix to getEffectivenessMatrixAllocation
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
6aa2c0b6dc
commit
41393f0618
@ -150,7 +150,7 @@ public:
|
||||
*
|
||||
* @return Effectiveness matrix
|
||||
*/
|
||||
const matrix::Matrix<float, NUM_AXES, NUM_ACTUATORS> &getEffectivenessMatrix() const { return _effectiveness; }
|
||||
const matrix::Matrix<float, NUM_AXES, NUM_ACTUATORS> &getEffectivenessMatrixAllocation() const { return _effectiveness; }
|
||||
|
||||
/**
|
||||
* Set the minimum actuator values
|
||||
|
||||
@ -815,7 +815,8 @@ int ControlAllocator::print_status()
|
||||
|
||||
// Print current effectiveness matrix
|
||||
for (int i = 0; i < _num_control_allocation; ++i) {
|
||||
const ActuatorEffectiveness::EffectivenessMatrix &effectiveness = _control_allocation[i]->getEffectivenessMatrix();
|
||||
const ActuatorEffectiveness::EffectivenessMatrix &effectiveness =
|
||||
_control_allocation[i]->getEffectivenessMatrixAllocation();
|
||||
|
||||
if (_num_control_allocation > 1) {
|
||||
PX4_INFO("Instance: %i", i);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user