OxRAMSociety / RobotArm

Public repository for all resources related to the OxRAM Robot Arm project.
https://www.oxramsociety.org/
MIT License
15 stars 7 forks source link

Receiving and interpreting data on the Arduino side #6

Open dyamon opened 2 years ago

dyamon commented 2 years ago

We are receiving a stream of position in radiants for each of the joints.

We are set on using the AccelStepper library for dealing with stepper motors. This allows us to achieve the following:

Before doing this we need to receive information from ROS and translate the stream of radiant position to a sequence of motor position to pass to the AccelStepper library.

Hint: ROS communication will be asynchronous and we cannot afford to lose information because we are performing some other action. This is most likely a job for interrupts.

Resources