Joint:enableMotor -> Joint:setMotorEnabled, Joint:enableLimit -> Joint:setLimitsEnabled, Joint:isLimitEnabled -> Joint:hasLimitsEnabled. Resolves issue #691.

This commit is contained in:
Alex Szpakowski
2013-10-24 17:30:41 -03:00
parent cbd1e6937b
commit 74ac2820cd
12 changed files with 48 additions and 48 deletions
+3 -3
View File
@@ -59,7 +59,7 @@ public:
/**
* Enable/disable the joint motor.
**/
void enableMotor(bool motor);
void setMotorEnabled(bool enable);
/**
* Checks whether the motor is enabled.
@@ -95,12 +95,12 @@ public:
/**
* Enable/disable the joint limit.
**/
void enableLimit(bool limit);
void setLimitsEnabled(bool enable);
/**
* Checks whether limits are enabled.
**/
bool isLimitEnabled() const;
bool hasLimitsEnabled() const;
/**
* Sets the upper limit in degrees.