diff options
author | Tobias Klauser <tobias.klauser@uzh.ch> | 2013-01-29 18:18:00 +0100 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@uzh.ch> | 2013-01-29 18:18:00 +0100 |
commit | a592164e22c3a0d5eebce64e76513b4d2deec60f (patch) | |
tree | 1e9b47b0e49db67a16dfbe0868500f9ebdffc2ed | |
parent | 52ba0d6d741b97d53944ed3569e19fdafe8498e9 (diff) |
LocomotorPrimitivesController: Fix log message
-rw-r--r-- | LocomotorPrimitivesController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LocomotorPrimitivesController.cpp b/LocomotorPrimitivesController.cpp index 0bdaf81..63d1c26 100644 --- a/LocomotorPrimitivesController.cpp +++ b/LocomotorPrimitivesController.cpp @@ -49,8 +49,8 @@ void LocomotorPrimitivesController::computeControls(const SimTK::State &s, SimTK if (indices.getSize() != 0) { int idx = indices.get(0) - 1; if (n % N_PRINT == 0) - logger.log("%f (%d) actuation data for muscle '%s' found: %f\n", - t, idx, muscle->getName().c_str(), _muscle_act[idx]); + logger.log("timestep %f: actuation data for muscle '%s' (%d) found: %f\n", + t, muscle->getName().c_str(), idx, _muscle_act[idx]); if (_muscle_act[idx] > 1.0) { logger.err("muscle actuation larger than 1.0 (%f), truncating to 1.0\n", _muscle_act[idx]); |