Skip to content

Commit

Permalink
Remove references to deprecated YARP interfaces (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Jun 12, 2021
1 parent e1aa1df commit 26282a9
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 @@ -1348,10 +1348,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 26282a9

Please sign in to comment.