Skip to content

Add ability to control pulse_width for kick commands in RobotDiagnostics #3329

@itsarune

Description

@itsarune

Description of the task

Currently, when we send a kick command, we convert a kick speed (m/s) to a "kick_pulse_width".

When we send a chip command, we get a fixed "chip_pulse_width" from the Redis key/value store.

Elec/mech sometimes wants to control these pulse widths to test the kicker and chipper and they end up having to flash production code (Arduino). We should add the ability for pulse widths to be controlled via RobotDiagnostics so that they don't have to do this.

You can test the robot diagnostics locally by running:
./tbots.py run thunderscope_main --disable_communication --run_blue --run_diagnostics --interface=lo

Acceptance criteria

Blocked By

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions