mirror of
https://github.com/6-robot/wpb_home.git
synced 2025-09-15 12:58:59 +08:00
update for simulation
This commit is contained in:
parent
7946834824
commit
750a3c3e06
@ -580,7 +580,7 @@ void ProcCloudCB(const sensor_msgs::PointCloud2 &input)
|
||||
}
|
||||
nTimeDelayCounter ++;
|
||||
VelCmd(0,0,0);
|
||||
if(nTimeDelayCounter > 200)
|
||||
if(nTimeDelayCounter > 50)
|
||||
{
|
||||
fMoveTargetX = fObjGrabX -0.55 + grab_forward_offset;
|
||||
fMoveTargetY = 0;
|
||||
@ -604,7 +604,7 @@ void ProcCloudCB(const sensor_msgs::PointCloud2 &input)
|
||||
|
||||
nTimeDelayCounter++;
|
||||
VelCmd(0,0,0);
|
||||
if(nTimeDelayCounter > 50)
|
||||
if(nTimeDelayCounter > 30)
|
||||
{
|
||||
nTimeDelayCounter = 0;
|
||||
nStep = STEP_OBJ_UP;
|
||||
@ -623,7 +623,7 @@ void ProcCloudCB(const sensor_msgs::PointCloud2 &input)
|
||||
}
|
||||
nTimeDelayCounter++;
|
||||
VelCmd(0,0,0);
|
||||
if(nTimeDelayCounter > 50)
|
||||
if(nTimeDelayCounter > 10)
|
||||
{
|
||||
fMoveTargetX = -(fTargetGrabX-0.4);
|
||||
fMoveTargetY = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user