Motion
  • 1 Minute to read

Motion


Article summary

1. Overview

This controller allows you to move the robot in any direction that you want.

This controller gives direct movement commands to the robot and it doesn't include path planning or obstacle avoidance algorithms. Please refer to the Navigation controller if you want to navigate instead of just moving. 

2. Using the controller

from raya.application_base import RayaApplicationBase

class RayaApplication(RayaApplicationBase):
    async def setup(self):
        ...
        self.sound = await self.enable_controller('motion')
        ...


The controller class includes a set of methods to control the motion of the robot:

3. Examples

See all Motion examples in the pyraya_examples Github.


Was this article helpful?

What's Next