Skip to content

Commit

Permalink
Merge branch 'master' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini committed Jun 12, 2021
2 parents 15317f0 + 26282a9 commit 7f1ae28
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2993,8 +2993,8 @@ bool CanBusMotionControl::close (void)

PeriodicThread::stop ();/// stops the thread first (joins too).

ImplementPositionControl2::uninitialize();
ImplementVelocityControl2::uninitialize();
ImplementPositionControl::uninitialize();
ImplementVelocityControl::uninitialize();

// ImplementPositionControl<CanBusMotionControl, IPositionControl>::uninitialize ();
// ImplementVelocityControl<CanBusMotionControl, IVelocityControl>::uninitialize();
Expand All @@ -3006,7 +3006,7 @@ bool CanBusMotionControl::close (void)
ImplementAmplifierControl::uninitialize();
ImplementControlLimits::uninitialize();

ImplementControlMode2::uninitialize();
ImplementControlMode::uninitialize();
ImplementTorqueControl::uninitialize();
ImplementImpedanceControl::uninitialize();
ImplementPositionDirect::uninitialize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1407,10 +1407,10 @@ bool embObjMotionControl::close()
{
yTrace() << " embObjMotionControl::close()";

ImplementControlMode2::uninitialize();
ImplementControlMode::uninitialize();
ImplementEncodersTimed::uninitialize();
ImplementMotorEncoders::uninitialize();
ImplementPositionControl2::uninitialize();
ImplementPositionControl::uninitialize();
ImplementVelocityControl::uninitialize();
ImplementPidControl::uninitialize();
ImplementControlCalibration::uninitialize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,16 +303,16 @@ bool iCubSimulationControl::open(yarp::os::Searchable& config) {
interactionMode[axis] = VOCAB_IM_STIFF;
}

ImplementPositionControl2::initialize(njoints, axisMap, angleToEncoder, zeros);
ImplementVelocityControl2::initialize(njoints, axisMap, angleToEncoder, zeros);
ImplementPositionControl::initialize(njoints, axisMap, angleToEncoder, zeros);
ImplementVelocityControl::initialize(njoints, axisMap, angleToEncoder, zeros);
ImplementPidControl::initialize(njoints, axisMap, angleToEncoder, zeros,newtonsToSensor,ampsToSensor, dutycycleToPwm);
ImplementEncodersTimed::initialize(njoints, axisMap, angleToEncoder, zeros);
ImplementMotorEncoders::initialize(njoints, axisMap, angleToEncoder, zeros);
ImplementControlCalibration::initialize(njoints, axisMap, angleToEncoder, zeros);
ImplementAmplifierControl::initialize(njoints, axisMap, angleToEncoder, zeros);
ImplementControlLimits::initialize(njoints, axisMap, angleToEncoder, zeros);
ImplementTorqueControl::initialize(njoints, axisMap, angleToEncoder, zeros, newtonsToSensor, ampsToSensor, dutycycleToPwm,nullptr,nullptr);
ImplementControlMode2::initialize(njoints, axisMap);
ImplementControlMode::initialize(njoints, axisMap);
ImplementInteractionMode::initialize(njoints, axisMap);
ImplementPositionDirect::initialize(njoints, axisMap, angleToEncoder, zeros);
ImplementRemoteVariables::initialize(njoints, axisMap);
Expand Down

0 comments on commit 7f1ae28

Please sign in to comment.