Page 1 of 3
Help debugging please
Posted: 09 Apr 2011, 23:58
by pavementpilot
I have tried and mostly succeeded at writing a program in NXT-G. I have one problem and was wondering if someone could try debugging it for me. The problem lies in displaying the total distance. I know the motor runs the correct distance. It is set for 9:1 drive ratio. I have written it in quite a few MyBlocks. Do I need to send just the main program or that and the blocks segments too?
Re: Help debugging please
Posted: 10 Apr 2011, 00:27
by h-g-t
If you have created it in version 1.1 then it might be an idea to add each myblock as a separate program as well as the main program.
If you have used version 2.0 you can use the 'pack and go' option which bungs everything used in the program (sounds, pictures, etc) into one package.
In either case, send it as a zip file - the site will not accept .rbt files.
Re: Help debugging please
Posted: 10 Apr 2011, 00:44
by pavementpilot
I have pack and go. Should I just post it as an attachment and then anyone that wants to try debugging can do so?
Re: Help debugging please
Posted: 10 Apr 2011, 00:52
by h-g-t
Yup. Of course, you should also state what you thing is going wrong.
Re: Help debugging please
Posted: 10 Apr 2011, 01:00
by pavementpilot
I have written a program that asks the user for some data input using the nxt buttons. When I get to the display distance and speed screen, the distance is not showing up properly. I do beleive the distance traveled is correct, but that could be checked too. Any help would be greatly appreciated.
Re: Help debugging please
Posted: 10 Apr 2011, 01:05
by pavementpilot
I cant see my attachment. Did it work?
Re: Help debugging please
Posted: 10 Apr 2011, 01:21
by h-g-t
Nope.
Re: Help debugging please
Posted: 10 Apr 2011, 01:25
by muntoo
pavementpilot wrote:I cant see my attachment. Did it work?
Nope.
Re: Help debugging please
Posted: 10 Apr 2011, 01:34
by pavementpilot
I dont know what is wrong here. I am using IE9, and every page I load from this board has a message at the bottom stating 'only secure content is dispalyed' and when I upload the attachment, it uploads but will not post.
Re: Help debugging please
Posted: 10 Apr 2011, 01:43
by h-g-t
qwerty