ACS Ptg Ctrl Fixes #643
@ -25,7 +25,7 @@ void ActuatorCmd::cmdSpeedToRws(const int32_t speedRw0, const int32_t speedRw1,
|
|||||||
const double sampleTime, const double inertiaWheel,
|
const double sampleTime, const double inertiaWheel,
|
||||||
const int32_t maxRwSpeed, const double *rwTorque,
|
const int32_t maxRwSpeed, const double *rwTorque,
|
||||||
int32_t *rwCmdSpeed) {
|
int32_t *rwCmdSpeed) {
|
||||||
// concentrate RW speed values (in 0.1 [RPM]) in vector
|
// group RW speed values (in 0.1 [RPM]) in vector
|
||||||
|
|||||||
int32_t speedRws[4] = {speedRw0, speedRw1, speedRw2, speedRw3};
|
int32_t speedRws[4] = {speedRw0, speedRw1, speedRw2, speedRw3};
|
||||||
|
|
||||||
// calculate required RW speed as sum of current RW speed and RW speed delta
|
// calculate required RW speed as sum of current RW speed and RW speed delta
|
||||||
|
Loading…
Reference in New Issue
Block a user
gather or group would probably be a better word here
fixed