RCX with Visual Studio

View: New views
3 Messages — Rating Filter:   Alert me  

RCX with Visual Studio

by Mewes, Philip :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

 

I was wondering, if it's possible to program a RCX with Visual Studio (either with C# or with C++(using something like SDL as an interface)). I kind of a newbie with mindstorm, so what I imaging is the following: Actually I plan to attach a camera to a RCX robot and to move the robot depending on the camera images. I would need a way to influence the robot movement in real-time from a GUI, that I'm coding myself with C++ or C#.

 

I suppose that I need to write a separate program that runs on the controller and to integrate some code in my image processing software to interface with the robot. Right?

 

I found some project (http://blogs.msdn.com/coding4fun/archive/2006/10/26/877499.aspx <http://blogs.msdn.com/coding4fun/archive/2006/10/26/877499.aspx> ) that is dealing with RCX Programming with visual studio, but it seems quite outdated.

 

Can anybody give me a hint?

 

Thanks a lot in advance

 

Philip

 

 

 


Re: RCX with Visual Studio

by Steve Hassenplug :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It won't be easy to write a program with Visual Studio that runs ON
the RCX.  It should be pretty easy (for a programmer) to write a
program that runs on a PC, and uses the IR tower to send commands to
the RCX, telling it what to do.

Also, you can't connect a camera directly to the RCX.  So, one way or
another, it will be connected to a PC.

This page will have all the information you need:
http://graphics.stanford.edu/~kekoa/rcx/

The only real question is if you can find it in there...

Steve

On Fri, Sep 11, 2009 at 1:10 PM, Mewes, Philip <lego-robotics@...> wrote:

>
> I was wondering, if it's possible to program a RCX with Visual Studio (either
> with C# or with C++(using something like SDL as an interface)). I kind of a
> newbie with mindstorm, so what I imaging is the following: Actually I plan to
> attach a camera to a RCX robot and to move the robot depending on the camera
> images. I would need a way to influence the robot movement in real-time from a
> GUI, that I'm coding myself with C++ or C#.
>
>
>
> I suppose that I need to write a separate program that runs on the controller
> and to integrate some code in my image processing software to interface with the
> robot. Right?
>
>
>
> I found some project
> (http://blogs.msdn.com/coding4fun/archive/2006/10/26/877499.aspx
> <http://blogs.msdn.com/coding4fun/archive/2006/10/26/877499.aspx> ) that is
> dealing with RCX Programming with visual studio, but it seems quite outdated.
>
>
>
> Can anybody give me a hint?
>
>
>
> Thanks a lot in advance
>
>
>
> Philip

AW: RCX with Visual Studio

by Mewes, Philip :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 Hi,

Using the the IR from and independant PC sound like a good solution.
The camera is not connected directly to the RCX, but to the PC, that sends the IR command depending on the camera pictures.
Thanks for your help

Philip

-----Ursprüngliche Nachricht-----
Von: news-gateway@... [mailto:news-gateway@...] Im Auftrag von Steve Hassenplug
Gesendet: Freitag, 11. September 2009 19:25
An: lego-robotics@...
Betreff: Re: RCX with Visual Studio

It won't be easy to write a program with Visual Studio that runs ON
the RCX.  It should be pretty easy (for a programmer) to write a
program that runs on a PC, and uses the IR tower to send commands to
the RCX, telling it what to do.

Also, you can't connect a camera directly to the RCX.  So, one way or
another, it will be connected to a PC.

This page will have all the information you need:
http://graphics.stanford.edu/~kekoa/rcx/

The only real question is if you can find it in there...

Steve

On Fri, Sep 11, 2009 at 1:10 PM, Mewes, Philip <lego-robotics@...> wrote:

>
> I was wondering, if it's possible to program a RCX with Visual Studio (either
> with C# or with C++(using something like SDL as an interface)). I kind of a
> newbie with mindstorm, so what I imaging is the following: Actually I plan to
> attach a camera to a RCX robot and to move the robot depending on the camera
> images. I would need a way to influence the robot movement in real-time from a
> GUI, that I'm coding myself with C++ or C#.
>
>
>
> I suppose that I need to write a separate program that runs on the controller
> and to integrate some code in my image processing software to interface with the
> robot. Right?
>
>
>
> I found some project
> (http://blogs.msdn.com/coding4fun/archive/2006/10/26/877499.aspx
> <http://blogs.msdn.com/coding4fun/archive/2006/10/26/877499.aspx> ) that is
> dealing with RCX Programming with visual studio, but it seems quite outdated.
>
>
>
> Can anybody give me a hint?
>
>
>
> Thanks a lot in advance
>
>
>
> Philip