Hello,
I've just started using v2.1 of NXT-G and I'm having a lot of problems with motor control. Motors set to "Coast" reset to their original position and there seems to be no way of disabling this action. I've tried getting around this by setting motors to start in one block, then stop after a delay block, but the delay time seems random and the motor will still sometimes reset to its original position rather than coast.
Am I doing something wrong or has v2.1 of NXT-G got a problem? I never had this problem under v2.0...
Any help/advice will be very much appreciated!
Thanks,
monxc
NXT-G 2.1 Bug?
NXT-G 2.1 Bug?
---111 040 150 141 166 145 040 156 157 040 151 144 145 141 040 167 150 141 164 040 111 047 155 040 144 157 151 156 147 056 056 056---
-
- Posts: 346
- Joined: 27 Sep 2010, 03:05
- Contact:
Re: NXT-G 2.1 Bug?
What do you mean by "reset to their original position"?
If you're reading the values from the rotation sensor, they should continue.
Feel free to post your program.
Steve
If you're reading the values from the rotation sensor, they should continue.
Feel free to post your program.
Steve
---> Link to lots of MINDSTORMS stuff under my picture --->
Re: NXT-G 2.1 Bug?
Thanks for your reply - what I mean is this:
1. A "motor" or "move" block is used with the following settings:
Motor A
Turn Clockwise
0.25 Seconds Duration
Next Action = COAST
2. Motor A turns clockwise for 0.25 seconds
3. Motor A then turns anticlockwise back to it's "zero" position, as indicated by the position tracking panel in the bottom left hand corner of the v2.1 software
4. Motor A enters COAST mode
I'm not telling it to do this - the only block I'm using is a "motor" or "move" block - all I want is for Motor A to turn clockwise for 0.25 seconds and then power down...it used to work just fine under v2.0 of the mindstorms software.
Thanks for your help,
monxc
1. A "motor" or "move" block is used with the following settings:
Motor A
Turn Clockwise
0.25 Seconds Duration
Next Action = COAST
2. Motor A turns clockwise for 0.25 seconds
3. Motor A then turns anticlockwise back to it's "zero" position, as indicated by the position tracking panel in the bottom left hand corner of the v2.1 software
4. Motor A enters COAST mode
I'm not telling it to do this - the only block I'm using is a "motor" or "move" block - all I want is for Motor A to turn clockwise for 0.25 seconds and then power down...it used to work just fine under v2.0 of the mindstorms software.
Thanks for your help,
monxc
---111 040 150 141 166 145 040 156 157 040 151 144 145 141 040 167 150 141 164 040 111 047 155 040 144 157 151 156 147 056 056 056---
Re: NXT-G 2.1 Bug?
I had this problem with NXT-G and solved it by using a 'reset block' which resets the automatic error correction.
See the NXT-G help file or just Google "lego motor reset block" .
Drove me mad because my unit kept returning to the start!
See the NXT-G help file or just Google "lego motor reset block" .
Drove me mad because my unit kept returning to the start!
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
Re: NXT-G 2.1 Bug?
Thanks for that - I'll give it a try.
Bit of a disappointment to find problems in NXT-G, though
monxc
Bit of a disappointment to find problems in NXT-G, though
monxc
---111 040 150 141 166 145 040 156 157 040 151 144 145 141 040 167 150 141 164 040 111 047 155 040 144 157 151 156 147 056 056 056---
Re: NXT-G 2.1 Bug?
show me just 1 programming language which is free from bugs
Re: NXT-G 2.1 Bug?
lol
Ah, the plaintive cry of the experienced developer
To be honest, I usually code in NXC and it's great - I'd ditch NXT-G in an instant for this project if I was allowed to...
Thanks for a dose of reality
monxc
Ah, the plaintive cry of the experienced developer
To be honest, I usually code in NXC and it's great - I'd ditch NXT-G in an instant for this project if I was allowed to...
Thanks for a dose of reality
monxc
---111 040 150 141 166 145 040 156 157 040 151 144 145 141 040 167 150 141 164 040 111 047 155 040 144 157 151 156 147 056 056 056---
Re: NXT-G 2.1 Bug?
ah, you're programming in NXC, too?
(Same do I!)
- but then you already must have got the dose of reality... 8-)
(Same do I!)
- but then you already must have got the dose of reality... 8-)
Who is online
Users browsing this forum: No registered users and 1 guest