void DeviceELMOSteeringMotorVel::setMotorParameters()
{
	SDOManager* SDOManager = bus_->getSDOManager();
	setPositionLimits(deviceParams_->positionLimits);

	SDOManager->addSDO(new SDOSetOperationMode(deviceParams_->inSDOSMId_, deviceParams_->outSDOSMId_, nodeId_, deviceParams_->operationMode));
	SDOManager->addSDO(new SDOSetDS402ConfigurationObject(deviceParams_->inSDOSMId_, deviceParams_->outSDOSMId_, nodeId_, 0x02)); //0x02
	SDOManager->addSDO(new SDOSetPPModeProfileVelocity(deviceParams_->inSDOSMId_, deviceParams_->outSDOSMId_, nodeId_, deviceParams_->profileVelocityInPPMode)); //Set profile velocity to 1000RPM

}
Exemple #2
0
//==============================================================================
void DegreeOfFreedom::setPositionLimits(const std::pair<double,double>& _limits)
{
    setPositionLimits(_limits.first, _limits.second);
}