View Full Version : Controlling quadrover via laptop problem

12-23-2009, 03:34 PM
Hi everyone,

Currently I am doing a project to control Quadrover by using two laptop connected wirelessly,
I am using MFC C++ to send message between two, I have some question..
1. Is there any way to link my c++ code with the quadrover?
2. I was trying to use Imagecraft's ICCv7, and I'm not sure if this is the best way to do it, if it is, is there any reference that I can check on?
3. Is there anyone who have done this project before?I've done some googling and I don't get any information from it....

Thank you in advance, nice to meet you all...:)

David Carrier
12-24-2009, 02:13 AM
To use the QuadRover with MFC C++ code, or any code running on the computer, you would need to establish a serial connection between the two, and run software on both devices to communicate with each other. There is a link on the QuadRover Product page (http://www.parallax.com/tabid/768/ProductID/502/Default.aspx) for the QuadRover Example Code Version 1.0 (http://www.parallax.com/Portals/0/Downloads/sw/quad/QuadRover%20Example%20Code%20v1.0.zip) that controls the QuadRover. The "QuadRoverControl_v1.0" object has three simple functions: SetVelocity, SetTurn, and SetBrake that allow you to control the QuadRover by passing signed 16-bit values to control the speed, direction and brakes.

I highly recommend that you use the example code to control the QuadRover, because it has many protections built in to prevent your code from controlling the QuadRover in a way that can cause damage or premature wear. (e.g. shifting into reverse at full speed, or accelerating with the brakes on.) You could still port the Spin code to C, it is very lightweight and shouldn't take too long to port, but I would recommend that you familiarize yourself with it in Spin first.

The "QuadRoverRadioNavigation_v1.0" program is a good example to look at to see how to use the "QuadRoverControl_v1.0" object.

-- David Carrier

12-25-2009, 11:02 AM
Thank you for the quick reply, I will post here again if I have other problems.


12-28-2009, 04:25 PM
Hi everyone,
actually I have done some coding using spin for controlling the quadrover,
as David said, I am using QuadroverControl object. But, when I ran it, the servo doesn't seems to work...

I think the problem was from the auxiliary I/O connector, currently the aux I/O connector is connect to the R/C receiver. And I have no idea how should I setup the connector so it could receive the control message from my laptop. Is there any reference about how to setup the I/O connection?Thank you