Skip to content

Commit

Permalink
removed explicit module path
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamBindle committed Feb 1, 2017
1 parent bdbf1cb commit 60397ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pyvesc/messages/setters.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pyvesc.messages.base
from pyvesc.messages.base import VESCMessage

class SetDutyCycle(metaclass=pyvesc.messages.base.VESCMessage):
class SetDutyCycle(metaclass=VESCMessage):
""" Set the duty cycle.
:ivar duty_cycle: Value of duty cycle to be set.
Expand All @@ -11,7 +11,7 @@ class SetDutyCycle(metaclass=pyvesc.messages.base.VESCMessage):
]


class SetRPM(metaclass=pyvesc.messages.base.VESCMessage):
class SetRPM(metaclass=VESCMessage):
""" Set the RPM.
:ivar rpm: Value to set the RPM to.
Expand All @@ -22,7 +22,7 @@ class SetRPM(metaclass=pyvesc.messages.base.VESCMessage):
]


class SetCurrent(metaclass=pyvesc.messages.base.VESCMessage):
class SetCurrent(metaclass=VESCMessage):
""" Set the current to the motor.
:ivar current: Value to set the current to.
Expand All @@ -33,7 +33,7 @@ class SetCurrent(metaclass=pyvesc.messages.base.VESCMessage):
]


class SetCurrentBrake(metaclass=pyvesc.messages.base.VESCMessage):
class SetCurrentBrake(metaclass=VESCMessage):
""" Set the current brake.
:ivar current_brake: Value to set the current brake to.
Expand Down

0 comments on commit 60397ff

Please sign in to comment.