Search found 9 matches

by boxer41a
03 Jun 2011, 14:00
Forum: Mindstorms Software
Topic: Sonar versus Distance Sensor (NXT++)
Replies: 1
Views: 3063

Sonar versus Distance Sensor (NXT++)

This question is in the context of the NXT++ library. What is the deference between a sonar sensor and a distance sensor? A search for both terms seems to end up with the T-shaped, two "eyed" sensor that came with the mindstorms kit. Under "enum SensorType" there is Touch, Sound,...
by boxer41a
02 Jun 2011, 14:43
Forum: Mindstorms Software
Topic: Eiffel and Mindstorms
Replies: 17
Views: 18320

Re: Eiffel and Mindstorms

Tim, Thanks for the answer. The visual studio 10 project seems to test okay now; but calling the library routine from Eiffel gives the same error as before. The comport seems to be the same; I've built the library with the changed file (I think). Maybe I will try a differenct C library. Or, if someo...
by boxer41a
31 May 2011, 13:14
Forum: Mindstorms Software
Topic: Eiffel and Mindstorms
Replies: 17
Views: 18320

Re: Eiffel and Mindstorms

I have found several references on the net where people had similar problems (the bluetooth to NXT worked some and then quit with a "port busy" error), but no cause/solution.

Has anyone here experienced this and been able to fix it?

jjj
by boxer41a
19 May 2011, 15:47
Forum: Mindstorms Software
Topic: Eiffel and Mindstorms
Replies: 17
Views: 18320

Re: Eiffel and Mindstorms

Okay, this is the error: Invalid COM port or COM port in use error code: 257 error type: 3 Function "connect" in class "Bluetooth" Now that I have the correct com port (again), it worked once and only once. Now I get this error again, with no changes to code. So, why is the port ...
by boxer41a
19 May 2011, 01:12
Forum: Mindstorms Software
Topic: Eiffel and Mindstorms
Replies: 17
Views: 18320

Re: Eiffel and Mindstorms

Well, I had the example working and even had some of the eiffel wrapper working to turn a motor on and off. Now, though, in EiffelStudio I get an "external error" in a C call. Going back to VisualStudio and running the C++ example I get: 'NXT_com.exe': Loaded 'C:\Documents and Settings\jjj...
by boxer41a
18 May 2011, 01:46
Forum: Mindstorms Software
Topic: Eiffel and Mindstorms
Replies: 17
Views: 18320

Re: Eiffel and Mindstorms

I now have the example from the com library running in Visual Studio 2010
Thanks for all the helpfull replies.

jjj
by boxer41a
16 May 2011, 17:13
Forum: Mindstorms Software
Topic: Eiffel and Mindstorms
Replies: 17
Views: 18320

Re: Eiffel and Mindstorms

Thanks Xander. But I have two questions: 1. What does the c++ code you included do? Was that just to demonstrate how to build the command buffer to send via "send direct command" in fantom? How did you know to include all this? Where is a reference describing how to build the command buffe...
by boxer41a
15 May 2011, 22:21
Forum: Mindstorms Software
Topic: Eiffel and Mindstorms
Replies: 17
Views: 18320

Re: Eiffel and Mindstorms

yes, easily with c and c++.

Which framework would you recommend?
by boxer41a
15 May 2011, 18:05
Forum: Mindstorms Software
Topic: Eiffel and Mindstorms
Replies: 17
Views: 18320

Eiffel and Mindstorms

I would like to write a library for interfacing Eiffel with the NXT Mindstorms but do not have the required expertise for working with Bluetooth/USB and bytecodes. I know Eiffel but do not understand how to send commands to the processor. I have only been able to wrap the example that came with the ...