SetSpeed() command doesn't take effect

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SetSpeed() command doesn't take effect

Rebble

Hello all:
   i am using "nd" to move my robots to goto somewhere in stage. But
strangely the command --SetSpeed(1.0,0.0) doesn't have any effect in
controlling the speed of robot, but the max_speed [ ] declared in the .cfg
file for "nd" driver just controls the actual speed. Why? because i have to
change the speed in the process of moving, so could anyone explane what't
the matter?
  part of the .cfg file:
driver
(
  name "nd"
  provides ["6666:position2d:1"]
requires ["output::6666:position2d:0" "input::6666:position2d:0"
"6666:laser:0" "6666:sonar:0"]
#goal_tol [0.3 15.0]
min_speed [0.0 30]
max_speed [5.0 30]
wait_on_stall 1
)
so the robot in stage can only moves at the speed of 5.0.
  Thanks!
--
View this message in context: http://www.nabble.com/SetSpeed%28%29-command-doesn%27t-take-effect-tp23088565p23088565.html
Sent from the playerstage-gazebo mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo