def nextCmd(self):
        msg = WheelCommand()
        if self._ranges:

            # TODO: Add control logic here!
            msg.angle = random.uniform(CommandPublisher.MIN_ANGLE, CommandPublisher.MAX_ANGLE)
            msg.force = 5.0

        # random
        else:
            msg.angle = random.uniform(CommandPublisher.MIN_ANGLE, CommandPublisher.MAX_ANGLE)
            msg.force = 5.0

        return msg
def getMessage(angle, force):
    msg = WheelCommand()
    msg.angle = angle
    msg.force = force
    return msg