km6vv
July 21, 2009, 9:27pm
21
Yes, that’s the C++ code I alluded to. It’s for a much simpler (but cute!) little program that issues a forward/backward command to a 'bot via serial com. Different program (Serial_H3.exe) then the Serial_CP_H3.exe that fully emulates a PS2. Could be starting point for one’s own custom serial control.
Alan KM6VV
nimita
July 27, 2009, 7:42pm
22
Thanks for the help guys. I’m looking into this now.
I have to actually be able to give commands via matlab. So will have to integrate it somehow. Will keep you guys posted.
nimita
July 28, 2009, 3:40pm
23
ok so, I can use this application, but wondering where I can find the source code for Serial_CP_H3?
km6vv
August 13, 2009, 5:25pm
24
Were you able to use the “demo” (Serial_H3.exe) serial code? Or did you find the source code for Serial_CP_H3?
Alan KM6VV
nimita
August 13, 2009, 9:42pm
25
I was able to use the application, did not yet find the source code.
Page 9 of the PowerPod manual states…
This little C++ Demo program was made with Borland C++ Builder 6.0.
Source code is given “as is”, it shows how to communicate with the robot.
Serial_H3.exe is the compiled program, it can’t run if PowerPod is not installed (it uses Borland dll)
Serial_H3.bpr is the Borland C++ Builder project file
Serial_H3.res is the resource file (application icon is in here)
Serial_H3.cpp is the application entry
Params.ini is a file used to store COM Port parameters
Invite.dfm is the main form data (Buttons, ComboBox, CheckBox, ComPort etc…)
Invite.h is the main form header
Invite.cpp is the main form code (commented)
So dude… you already have it.
nimita
August 13, 2009, 9:56pm
27
oh ok, thanks for pointing me out… I’ll take a look.