Page 1 of 1
A very basic question
Posted: 27 Dec 2010, 18:50
by hararilior
Hi,
Ok, this one is very basic.
We've written a very simple program that has a move block(unlimited) after the start edge.
Then later on in the thread there's a wait block (10 secs).
The result was that the robot waited first for 10 secs, and only then started moving.
This was obviusly not our intention, any thoughts?
Thanks,
Lior
Re: A very basic question
Posted: 27 Dec 2010, 19:39
by aagruntpuddock
Can you post a copy of the program?
Go to file, print then select print as html. This will create an hmtl file and a .png file. Attach the .png to your post.
Re: A very basic question
Posted: 27 Dec 2010, 21:08
by muntoo
hararilior wrote:Ok, this one is very basic.
OK, then you won't get any help from us, because we like challenges.
hararilior wrote:
We've written a very simple program that has a move block(unlimited) after the start edge. Then later on in the thread there's a wait block (10 secs). The result was that the robot waited first for 10 secs, and only then started moving.
Are you sure it's connected the way you want it? NXT-G is a bit messed up, so I suggest you create a new program, and do the same thing again.
A .rbt AND a .png would be awesome.
Re: A very basic question
Posted: 27 Dec 2010, 21:36
by aagruntpuddock
How does one post a .rbt file? I just tried it out of interest and it said 'extension not allowed'.
Tried a .png file created by NXT-G 2.0 and was told it is not a valid file!
Bit of a bummer for a Lego site!
Re: A very basic question
Posted: 27 Dec 2010, 22:10
by muntoo
aagruntpuddock wrote:How does one post a .rbt file? I just tried it out of interest and it said 'extension not allowed'.
Tried a .png file created by NXT-G 2.0 and was told it is not a valid file!
Bit of a bummer for a Lego site!
Post it as a .zip file. If you're running Windows, that's: Right-Click on file, Send To -> Compress (zipped) Folder.
You can use imgur.com for file hosting. The code for the image above is:
Code: Select all
[img]http://i.imgur.com/vtugw.png[/img]
Re: A very basic question
Posted: 27 Dec 2010, 22:47
by aagruntpuddock
OK, thanks . I couldn't see anything which stipulated the acceptable file types.
Just to try it out I attach a trivial little program which displays the NXT battery voltage until you press the right arrow.