Search found 7 matches
- 19 Feb 2012, 20:45
- Forum: Mindstorms Software
- Topic: NXC and Braking
- Replies: 16
- Views: 13124
Re: NXC and Braking
Thanks for the input!
- 19 Feb 2012, 16:35
- Forum: Mindstorms Software
- Topic: NXC and Braking
- Replies: 16
- Views: 13124
Re: NXC and Braking
Well, I got better results now by trying this: Coast(Port); Wait(50); Off( Port ); Wait(300); SetOutput( Port, 0, 0, OutputMode, OUT_MODE_BRAKE + OUT_MODE_MOTORON + OUT_MODE_REGULATED , UpdateFlags, UF_UPDATE_MODE + UF_UPDATE_SPEED, RegMode, OUT_REGMODE_SPEED ); Still a little jitter at high power, ...
- 19 Feb 2012, 02:22
- Forum: Mindstorms Software
- Topic: NXC and Braking
- Replies: 16
- Views: 13124
Re: NXC and Braking
John, I did a search for your posts, but did not find one with the ramping code.
Thanks,
Leor
Thanks,
Leor
- 19 Feb 2012, 02:18
- Forum: Mindstorms Software
- Topic: NXC and Braking
- Replies: 16
- Views: 13124
Re: NXC and Braking
Thanks, do you have a link to that thread? Unfortunatly, the way my son built the arm, this motor needs > 75% power.
- 18 Feb 2012, 21:48
- Forum: Mindstorms Software
- Topic: NXC and Braking
- Replies: 16
- Views: 13124
Re: NXC and Braking
OK, I think I added the PID values, and used various combinations of PID_0 to PID_7 values, but do not see any difference. See this youtube video of the problem http://www.youtube.com/watch?v=-5sBj8hgPq0&feature=youtu.be [youtube]http://www.youtube.com/watch?v=-5sBj8hgPq0&feature=youtu.be[/y...
- 18 Feb 2012, 21:34
- Forum: Mindstorms Software
- Topic: NXC and Braking
- Replies: 16
- Views: 13124
Re: NXC and Braking
Thanks, I am a total newb. How does one set the PID value(s)?
- 18 Feb 2012, 20:01
- Forum: Mindstorms Software
- Topic: NXC and Braking
- Replies: 16
- Views: 13124
NXC and Braking
My Son is building a robotic arm for a science competition. We need to get a hard brake on the motor. I found the example below to brake and hold the motor arm in place. However, when I execute the code, the motor does not stop completely. It actually does a small back-and-forth rotation and then st...