RemiFabre commited on
Commit
14b4b10
·
1 Parent(s): 263b53b

Revert test_antenna_collision.py: collision test is timing sensitive

Browse files
Files changed (1) hide show
  1. tests/test_antenna_collision.py +2 -2
tests/test_antenna_collision.py CHANGED
@@ -7,7 +7,7 @@ so detection alignment is unambiguous.
7
 
8
  Collision setup:
9
  - Right antenna fixed at -0.68 rad
10
- - Left antenna moves from -0.1745 to 0.70 rad (collision at ~0.60 rad)
11
  - Hold 100ms, then return to rest
12
  - Low PID + flexible antennas = safe, produces audible click
13
 
@@ -32,7 +32,7 @@ import numpy as np
32
 
33
  # Collision parameters
34
  RIGHT_REST = -0.68 # right antenna fixed position (rad)
35
- LEFT_REST = -0.1745 # left antenna rest position (rad) ~10° offset to reduce shaking
36
  LEFT_COLLISION = 0.70 # left antenna collision target (past contact at ~0.60)
37
  HOLD_DURATION = 0.2 # seconds to hold at collision position
38
 
 
7
 
8
  Collision setup:
9
  - Right antenna fixed at -0.68 rad
10
+ - Left antenna moves from 0.0 to 0.70 rad (collision at ~0.60 rad)
11
  - Hold 100ms, then return to rest
12
  - Low PID + flexible antennas = safe, produces audible click
13
 
 
32
 
33
  # Collision parameters
34
  RIGHT_REST = -0.68 # right antenna fixed position (rad)
35
+ LEFT_REST = 0.0 # left antenna rest position (rad)
36
  LEFT_COLLISION = 0.70 # left antenna collision target (past contact at ~0.60)
37
  HOLD_DURATION = 0.2 # seconds to hold at collision position
38