Skip to content

Safety issue: Turret moves 180 degrees on robot start without any operator input #118

Description

@jamesdooley4

I've noticed this for a while, and finally filing an issue for it.

Repro:
Zero physical mechanisms
Turn on robot
Wait for code to start
Enable robot

Result:
Turret zooms around 180 degrees, likely because it's going from its initial position (pointing backwards) to pointing towards where it thinks the hub is based on the robot's default position (parked right in front of the hub with the intake pointing away from the hub).

Expected result:
Nothing on the robot moves when the robot is enabled, until some operator input happens. Or at least is moves a bit less on startup so there's less of a risk of breaking the cable chain or hitting a human that's nearby and not expecting the turret to whip around.

This may become less of an issue when the 'zero' position is at the new hard stop. Unless the zero position is chosen to be 320 degrees away from the current "aim at hub" default, so it actually gets worse than before.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions