A very basic question

Discussion specific to projects ideas and support.
Post Reply
hararilior
Posts: 1
Joined: 27 Dec 2010, 18:48

A very basic question

Post 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
aagruntpuddock
Posts: 33
Joined: 14 Dec 2010, 13:09
Location: Scotland
Contact:

Re: A very basic question

Post 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.
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: A very basic question

Post 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.
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
aagruntpuddock
Posts: 33
Joined: 14 Dec 2010, 13:09
Location: Scotland
Contact:

Re: A very basic question

Post 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!
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: A very basic question

Post 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.

Image

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]
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
aagruntpuddock
Posts: 33
Joined: 14 Dec 2010, 13:09
Location: Scotland
Contact:

Re: A very basic question

Post 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.
Battery Voltage.zip
(96.23 KiB) Downloaded 474 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests