Newbie With Urgent Mindstorms 2.0 Ballshooter Question
-
- Posts: 290
- Joined: 03 Oct 2011, 00:06
- Location: Gallifrey
- Contact:
Re: Newbie With Urgent Mindstorms 2.0 Ballshooter Question
I see the problem, and can understand why it happened. You didn't put the "intruder" switch block inside the repeat forever loop. It didn't do anything because there wasn't anything in the loop. And since it was set to loop forever, the code never moved on. Even if it had, the switch would execute once and then the program would end, because there was nothing to keep it going. Everything else is fine. They shouldn't have zoomed the view in so far, then it would be easier to see the structure of the blocks. I attached the fixed program.
- Attachments
-
- Shooterbot V2.rbt
- Fixed!
- (849.21 KiB) Downloaded 249 times
A.K.A. NeXT-Generation.
"A kingdom of heaven for RobotC now has recursion!"
"A kingdom of heaven for RobotC now has recursion!"
Re: Newbie With Urgent Mindstorms 2.0 Ballshooter Question
inxt-generation:
Thank you so much for your help on this! I will download the new program tonight and I will let you know how it works...
Thank you.
Thank you so much for your help on this! I will download the new program tonight and I will let you know how it works...
Thank you.
Re: Newbie With Urgent Mindstorms 2.0 Ballshooter Question
inxt-generation:
It works! It works GREAT!!!
Thank you SO much for helping us out! I hope you are available for 'consulting' as we continue to learn our way around programming Lego NXT...
I hope you have a great New Year!
It works! It works GREAT!!!
Thank you SO much for helping us out! I hope you are available for 'consulting' as we continue to learn our way around programming Lego NXT...
I hope you have a great New Year!
-
- Posts: 290
- Joined: 03 Oct 2011, 00:06
- Location: Gallifrey
- Contact:
Re: Newbie With Urgent Mindstorms 2.0 Ballshooter Question
Your welcome. Glad I could help. If I see a question that I can answer, I usually do.kartman01 wrote:inxt-generation:
It works! It works GREAT!!!
Thank you SO much for helping us out! I hope you are available for 'consulting' as we continue to learn our way around programming Lego NXT...
And the same to you!!kartman01 wrote:I hope you have a great New Year!
A.K.A. NeXT-Generation.
"A kingdom of heaven for RobotC now has recursion!"
"A kingdom of heaven for RobotC now has recursion!"
Who is online
Users browsing this forum: Semrush [Bot] and 0 guests