We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4840ca8 commit c370b6cCopy full SHA for c370b6c
1 file changed
modules/04-security-threat/src/ThreatInjector.py
@@ -689,11 +689,11 @@ def _do_inject(self):
689
)
690
sample = SurgicalRobot.MotorControl(id=motor, direction=direction)
691
692
- # Update local visualisation angle
+ # Update local visualisation angle (0.3° matches Arm.py step size)
693
if direction == SurgicalRobot.MotorDirections.INCREMENT:
694
- self._angles[motor] = (self._angles[motor] + 2.0) % 360.0
+ self._angles[motor] = (self._angles[motor] + 0.3) % 360.0
695
else:
696
- self._angles[motor] = (self._angles[motor] - 2.0) % 360.0
+ self._angles[motor] = (self._angles[motor] - 0.3) % 360.0
697
self.window.arm_viz.update_angles(self._angles)
698
self._motor_idx = (self._motor_idx + 1) % len(_MOTORS_ORDERED)
699
0 commit comments