Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign blockly blocks for motor and sensor control #183

Open
JamesWP opened this issue Aug 24, 2021 · 0 comments
Open

Redesign blockly blocks for motor and sensor control #183

JamesWP opened this issue Aug 24, 2021 · 0 comments
Labels

Comments

@JamesWP
Copy link
Contributor

JamesWP commented Aug 24, 2021

All interactions with motors, sensors, etc... should go though a simple hardware abstraction layer.

Devices will have one or more interfaces, each interface will have:

  • a unique channel number
  • be input or output (relative to the robot) (i.e. motors are output, sensors are input)
  • be analogue or digital

This means we need only four blocks to interface with all things on the robot.

  • Read Digital
  • Write Digital
  • Read Analogue
  • Write Analogue

We should make this change in stages.

  1. blockly blocks
  2. vm function redesign
  3. simulator core interface changes
@JamesWP JamesWP added the Medium label Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant