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

Implement per-motor robot control in Thunderscope #3320

Open
4 tasks
itsarune opened this issue Sep 28, 2024 · 0 comments
Open
4 tasks

Implement per-motor robot control in Thunderscope #3320

itsarune opened this issue Sep 28, 2024 · 0 comments
Assignees
Labels
Difficulty - 3 Easy and simple issues that require some context to do Elaborated Starters Thunderscope

Comments

@itsarune
Copy link
Contributor

itsarune commented Sep 28, 2024

Description of the task

Individual motor control in diagnostics. this is already implemented on the robots but we should be able to control individual motors on Thunderscope.

We currently have sliders to control the overall x / y speed of the robot, and its angular speed. Ideally, we would have another tab where we have individual sliders for each motor, and we would be able to switch between these 2 control modes.

Files / Classes to look at:

  1. drive_and_dribbler_widget.py has the current sliders we use for controlling the robot
  2. The MotorControl proto message is what we actually send to the robot to control it. It already has fields for per-wheel control, so these just have to be filled in by the UI

Acceptance criteria

  • Thunderscope should run normally
  • The current sliders should not be affected
  • Test locally. Print the MotorControl message that is sent when you change your new sliders to verify the data is being sent properly
  • Test on robot

Blocked By

@itsarune itsarune added Difficulty - 3 Easy and simple issues that require some context to do Thunderscope labels Sep 28, 2024
@Muxite Muxite self-assigned this Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty - 3 Easy and simple issues that require some context to do Elaborated Starters Thunderscope
Projects
None yet
Development

No branches or pull requests

3 participants