I am a rookie, so please be gentle and keep it as simple as possible for me. I am in the midst of building a project for school where I am taking a Power Wheels child toy and converting it into a remote controlled car, with some extras. I plan to create a GUI application that will run on a PC or tablet; the GUI will display stats (speed, position, nearby obstacles, etc.) from the car as well as live video stream. I will also use the GUI as the conduit between a game controller connected to the PC and a microcontroller on the car. I plan to use Wifi (802.11 b/g/n) to connect the PC to the microcontroller, although the video feed will be on a separate network. Obviously, there is a lot to do (maybe more than I can chew).
The hardware as of now consists of:
Steering control - Linear actuator (LACT4P-12V-5 with encoder), controlled by to Jrk 21v3
Drive control - 2 brushed DC motors that are a part of the Power Wheels car assembly, controlled by 2x30A motor controller with USB
Control logic - Freescale Tower system with MCU9S12G128 microcontroller
I decided to start with creating the communication and control code for the connection between the RoboClaw and the MCU. The code for the MCU is written in either C or C++, the compiler I plan to use CodeWarrior (a Freescale product). After reading the RoboClaw user manual I think I would like to use the Packet Serial mode for communications. I have the RoboClassLib, but do not know for sure if it is C or C++ compatible and don’t have a list of the functions or definitions. I looked for some C code examples to get me started (I seem to have writers block at the moment), but was not able to find anything relevant.
I will apologize in advance as I have probably left out some important details or misrepresented something. Any guidance would be greatly