Search the web
Sign In
New User? Sign Up
webots-users · Webots Users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
servo with gravity   Message List  
Reply | Forward Message #3171 of 3393 |

Hello,

I am curious about how does servo really work...
For example, if I have a robot lifting left leg to the front at initial state
and
in controller, I use command " wb_servo_set_motor_force(joint[2], 0); " which
will turn off the left hip servo of robot.

What i understand is that after press run, the left leg of robot should
automatically rotating around the hip rotation axis by gravity, and finally,
robot will be in the two legs standing post.
But in simulation, after i press run, the leg is just stay where it is, nothing
moved. what happen here?

After that, i tried to understand and I noticed that the servo will be able to
rotate only when some part of robot touch ground, for example, when foot is
touching the flat floor and upper body of robot twists, then hip can rotate side
way automatically. (but not when foot is not touching the floor)
Is this correct ?

Are there any configuration so that the leg of robot can rotate by gravity?

And would "control_p" help about this? because I saw it said to control gain of
motor, just set the "control_p" , which i also tried by setting "control_p" = 0
but it also doesn't work.


thanks a lot,
di_second




Wed Jul 8, 2009 11:17 pm

di_second_yh
Offline Offline
Send Email Send Email

Forward
Message #3171 of 3393 |
Expand Messages Author Sort by Date

Hello, I am curious about how does servo really work... For example, if I have a robot lifting left leg to the front at initial state and in controller, I use...
di_second_yh
Offline Send Email
Jul 8, 2009
11:17 pm

Hello, ... Just like a real motor, the Servo works by applying a torque to a axis. Indeed, calling wb_servo_set_motor_force(joint[2], 0) turns off the motor...
Yvan Bourquin
yvanix
Offline Send Email
Jul 9, 2009
8:01 am

thanks a lot, it's very helpful, and make me realise the fact of center of mass. Cheers, di_second...
di_second_yh
Offline Send Email
Jul 11, 2009
12:09 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help