Re: [WheelCommander] wheelcommander help required...



Hi Pete,

 

Thanks for the quick response.

 

(1)    please tell me what controller from which you wish to communicate with the WheelCommander? 

ð  I am using my desktop computer via the RS232 serial communication ports

(2)    What programming language do you wish to use? 

ð  I am going to be using MATLAB which is like “C” but would also like to use visual basic via visual studios 2005. I need to understand how to sending commands to the Wheelcommander and also how to read information from it, using a serial port (e.g. what format to send commands hex/string/etc, what are the commands, etc...)

(3)    Or are you wanting to communicate with it from a computer?  If a computer, is it a PC or Mac?  Are you running Windows, Linux, etc?

ð  I am using a desktop computer which is a PC and it is running Windows XP SP2.

 

If you are unfamiliar is MATLAB then if you can instruct me in Visual Basic (syntax) that would be great. I tried looking at the example for VB6 but had difficulty understand what was actually being transmitted to Wheelcommander via the serial port because of the dll.

 

Your help is greatly appreciated.

 

Regards,

 

Evangelos Georgiou
E-mail: evangelos.georgiou@xxxxxxxxx

 

From: wheelcommander-bounces@xxxxxxxxxxxxxxxxx [mailto:wheelcommander-bounces@xxxxxxxxxxxxxxxxx] On Behalf Of Pete Skeggs
Sent: 18 November 2007 22:22
To: WC-132 WheelCommander Controller Support List
Subject: Re: [WheelCommander] wheelcommander help required...

 

Hi Evangelos,

Before I can answer your question, please tell me what controller from which you wish to communicate with the WheelCommander?  What programming language do you wish to use?  Or are you wanting to communicate with it from a computer?  If a computer, is it a PC or Mac?  Are you running Windows, Linux, etc?

-Pete

Evangelos Georgiou wrote:

Hi Pete,

 

I was wondering if there is a dummies guide to sending/receiving instructions to/from the wheelcommander?

 

For example: (in matlab)

S = serial(‘COM1’) *this sets up the com port*

Fopen(s) *this opens the com port for communication*

Fprintf(s, ‘Sting goes here’) *this sends a string to the com port*

Fscanf(s) *this reads whatever has been transmitted to the com port*

 

Using the above sending and receiving mechanism how would I send the instruction to wheelcommander to move forward/backward etc, using a serial(RS232) communication port?

 

Your help is much appreciated.

 

Regards,

 

Evangelos Georgiou
E-mail: evangelos.georgiou@xxxxxxxxx

 

 


 
_______________________________________________
WheelCommander mailing list
WheelCommander@xxxxxxxxxxxxxxxxx
http://list.nubotics.com/mailman/listinfo/wheelcommander
Nubotics Website:
http://www.nubotics.com

 



This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.