ACS Ptg Ctrl Fixes #643

Merged
muellerr merged 35 commits from acs-ptg-ctrl-fixes-2 into v3.0.0-dev 2023-06-07 11:49:10 +02:00
Showing only changes of commit 7dbe69ef49 - Show all commits

View File

@ -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

gather or group would probably be a better word here

gather or group would probably be a better word here

fixed

fixed
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