20221021_1

This commit is contained in:
litian.zhuang 2022-10-21 21:54:30 +08:00
parent b8e99f045a
commit 209c16a00a
2 changed files with 7 additions and 7 deletions

View File

@ -167,7 +167,7 @@ class GraspObject():
# 提起物体
pos.x = 250 #160
pos.y = 0
pos.z = 150 #55
pos.z = 170 #55
self.pub1.publish(pos)
r1.sleep()
# 使用CV检测物体

View File

@ -120,18 +120,18 @@ def keyboardLoop():
elif ch == 'a':
max_rv = yaw_rate_
speed = 0
turn = 0.15
turn = 0.5
elif ch == 'd':
max_rv = yaw_rate_
speed = 0
turn = -0.15
turn = -0.5
elif ch == 'W':
max_tv = run_vel_
speed = 1
speed = 1.5
turn = 0
elif ch == 'S':
max_tv = run_vel_
speed = -1
speed = -1.5
turn = 0
elif ch == 'A':
max_rv = yaw_rate_run_
@ -152,11 +152,11 @@ def keyboardLoop():
elif ch == 'j':
max_rv = yaw_rate_
speed = 0
turn = 0.075
turn = 0.1
elif ch == 'l':
max_rv = yaw_rate_
speed = 0
turn = -0.075
turn = -0.1
elif ch == 'b' or ch == 'B':
max_rv = yaw_rate_
speed = 0