07-06-2023, 03:09 AM
How to write distance of spawn python
RANDOMIZE_DISTANCE = True
POSITION_MAX = 0
if RANDOMIZE_DISTANCE:
distance =random.uniform(-DISTANCE_MAX, DISTANCE_MAX)
pose = robomath.RelTool( )
RANDOMIZE_DISTANCE = True
POSITION_MAX = 0
if RANDOMIZE_DISTANCE:
distance =random.uniform(-DISTANCE_MAX, DISTANCE_MAX)
pose = robomath.RelTool( )