Skip to content

Commit d2ed003

Browse files
authored
Update control.py
1 parent bc777db commit d2ed003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nav_controller/nav_controller/control.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from rclpy.qos import QoSProfile
1010

1111
lookahead_distance = 0.15
12-
v = 0.1
12+
speed = 0.1
1313
expansion_size = 2 #for the wall
1414

1515
def euler_from_quaternion(x,y,z,w):
@@ -108,7 +108,7 @@ def bspline_planning(x, y, sn):
108108

109109
def pure_pursuit(current_x, current_y, current_heading, path,lookahead_distance,index):
110110
closest_point = None
111-
v = 0.1
111+
v = speed
112112
for i in range(index,len(path)):
113113
x = path[i][0]
114114
y = path[i][1]

0 commit comments

Comments
 (0)