|
Page 1 of 1
|
[ 4 posts ] |
|
HOLDBRAKE command in ROBOTC??????
| Author |
Message |
|
ravinravin009
Rookie
Joined: Fri Aug 03, 2012 10:52 am Posts: 2
|
 HOLDBRAKE command in ROBOTC??????
Can somebody gelp me with this.
I need to hold the weight of two nxt motors which are in an arm with one motor and i need to perform presice movement. So i need ot use holdbrake command..Is it available in robotc..or suggest me another program which can do this task ...Thank you.
|
| Fri Aug 03, 2012 11:04 am |
|
 |
|
JohnWatson
Site Admin
Joined: Thu May 24, 2012 12:15 pm Posts: 386
|
 Re: HOLDBRAKE command in ROBOTC??????
I believe the solution for this is two fold; settting the bFloatDuringInactiveMotorPWM to false should prevent the motor from coasting when no power is applied (this is default). The other is gearing and creates a bit of a dilemma; by setting a larger gear on the control motor (can't think of a better way to describe it) you will help with the torque issue and ensure that the motor stays put under the weight of the load, but at the cost of precision (it will speed up the movement of the attachment). Conversely, you can attach a larger gear on the attachement relative to the control motor. This will increase your precision but also increase the likelyhood that the control motor will be moved by the torque of the load.
_________________Check out our Blog! And our Facebook page! Need help? Take a look at our Wiki and our Forums.I just met you, And this is crazy, But here's my code now, So fix it, maybe? ~ Carly Rae Jepsen parody
|
| Fri Aug 03, 2012 11:57 am |
|
 |
|
ravinravin009
Rookie
Joined: Fri Aug 03, 2012 10:52 am Posts: 2
|
 Re: HOLDBRAKE command in ROBOTC??????
Thanks JohnWatson for your reply...But i think i have tested the condition bFloatDuringInactiveMotorPWM(motor1) = False ..but it didn't work out quite well..i'll post the code soon as i am not accessible to it now.
|
| Fri Aug 03, 2012 12:25 pm |
|
 |
|
Spiked3
Expert
Joined: Tue Feb 28, 2012 3:10 pm Posts: 195
|
 Re: HOLDBRAKE command in ROBOTC??????
On R/C rock crawlers, the use of a worm gear serves this purpose. It provides a large gear reduction for strength, as well as prevents the load from propagating back through to the motor. I haven't tried this myself on LEGOs, but I think it would work well and would be my first attempt if I needed it.
_________________Mike aka Spiked3 http://www.spiked3.com
|
| Fri Aug 03, 2012 1:05 pm |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: newspaper and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|