now he reads the comments ... what happened to him

This commit is contained in:
Marius Eggert 2023-06-07 09:20:29 +02:00
parent 6915f0e003
commit 7dbe69ef49

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