Skip to content

Basic functionality for Arm-Embedded #1

@ethanholter

Description

@ethanholter

High level goals for the code:

  • Receive commands via CAN bus
  • Control stepperonline stepper driver

Step by step:

  • The logic to control the stepper drivers can be taken almost directly from Rover_Embedded. See @ethanholter when starting this because there is some unintuitive logic happening which will need to be walked through
  • The general logic for receiving CAN bus commands should (hopefully) be mostly the same as the Rover_Embedded serial logic. We have never used CAN bus before so some research will be needed
  • We want to be mindful of the future as we implement this code. One thing that will become more of a problem later is bandwith along the CAN bus. We want to keep communication as fast as we possibly can because this will result in a more precise and efficient control loop (see me for a more thorough explanation). Instead of receiving commands that look like this: o 1 255\r which is 8 bytes, we instead want to receive a binary message looking like this 10110001 10011010. This is only 2 bytes. again, see me for a more thorough walk through of what this means and why it is important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions