Skip to content

Commit 421099e

Browse files
Update example.py
1 parent daac8ed commit 421099e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

example.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
@ 2023, Copyright AVIS Engine
3-
- An Example Compatible with AVISEngine version 2.0.1 or higher
3+
- An Example Compatible with AVISEngine version 2.0.1 / 1.2.4 (ACL Branch) or higher
44
'''
55
import avisengine
66
import config
@@ -32,8 +32,9 @@
3232
# Set the Steering of the car -10 degree from center, results the car to steer to the left
3333
car.setSteering(-10)
3434

35-
# Set the angle between sensor rays to 30 degrees, Use this only if you want to set it from python client
36-
car.setSensorAngle(40)
35+
# Set the angle between sensor rays to 45 degrees, Use this only if you want to set it from python client
36+
# Notice: Once it is set from the client, it cannot be changed using the GUI
37+
car.setSensorAngle(45)
3738

3839
# Get the data. Need to call it every time getting image and sensor data
3940
car.getData()

0 commit comments

Comments
 (0)