Adjusting Servo Motor Speed

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
Duckocide
Posts: 18
Joined: Sat May 29, 2010 4:51 pm

Adjusting Servo Motor Speed

Post by Duckocide »

I suspect this is going to be a very simple answer, but I'm a bit lost finding the best way to do this.

I've created a relatively complex object with several compound entities to form a lunar base hovering over the lunar surface. The base has various hangars attached to it (in turn compound objects) - Weldjoints with high spring settings to weld it good an proper! These hangars then have a Tank lift platform attached to it via a PrismaticJoint (to act as a lift). I need to slow the servo response down but can't find the magic setting to do this. Guessing it is something to do with Motor.Settings.MaximumForce but I'm not sure as some trail and error experimentation on values in this aren't yelding results (a slow servo speed).

I've tried to keep mass relatively correct for the various parts of the lunar base so consequential spring settings are factors of 100's or 1000's higher to keep things rigid.

I'll post a video in due course to show the too fast response. Appreciate any advice in the mean time!
Duckocide
Posts: 18
Joined: Sat May 29, 2010 4:51 pm

Re: Adjusting Servo Motor Speed

Post by Duckocide »

OK. As ever, post the issue and then find the answer!

Setting the Motor.Settings.Servo.MaxCorrectiveVelocity did the trick!
Duckocide
Posts: 18
Joined: Sat May 29, 2010 4:51 pm

Re: Adjusting Servo Motor Speed

Post by Duckocide »

Duckocide wrote:OK. As ever, post the issue and then find the answer!

Setting the Motor.Settings.Servo.MaxCorrectiveVelocity did the trick!
The video of it working ...https://www.youtube.com/watch?v=GvjWZJC5Ec4
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Adjusting Servo Motor Speed

Post by Norbo »

Nice :)
Post Reply