by PedroR » Tue Oct 27, 2009 2:35 pm
by PedroR
Tue Oct 27, 2009 2:35 pm
Hi l3v3rz
I must congratulate you on your great work!
With regards to ReadIR I would not be surprised if it is not implemented.
If the sample firmware is not showing it and you're not seeing anything then it's most likely not working for now.
I know Robobuilder is using and improving specific command sthat they need to use with their full implementation of MSRDS.
These would include reading all the sensors but not necessarilly the IR so it's probably a feature not yet implemented.
On Friday I ended up not posting my code, but I have now uploaded it.
It is available here:
http://robosavvy.com/RoboSavvyPages/Rob ... twarePedro
The RAR file is 8Mb and it packs everything I have developed (and semi-developped) so far.
The most interesting bit of code is under the folder "Wrapper Classes".
There you can find the implementation of the wCK protocol as well as a test program.
You need to open "Group1.vgb" under "Wrapper classes". If you get an error of "ActiveX can't create component", open Project->References and just tick "RobobuilderLibrary".
This is a VB6 project and please note the code has a built in delay of 200ms in many places. That's a nasty hack I used at the time because I getting some errors where the computer was reading the COMM port without having received the data yet and that was generating errors.
Also, have you got your code up in Google Code or something like that?
You seem to have hit a stage where your code is now publiclly usable for very nice projects
One question, though: some of the calls have a last parameter that looks like a callback. Is that the case?
Hi l3v3rz
I must congratulate you on your great work!
With regards to ReadIR I would not be surprised if it is not implemented.
If the sample firmware is not showing it and you're not seeing anything then it's most likely not working for now.
I know Robobuilder is using and improving specific command sthat they need to use with their full implementation of MSRDS.
These would include reading all the sensors but not necessarilly the IR so it's probably a feature not yet implemented.
On Friday I ended up not posting my code, but I have now uploaded it.
It is available here:
http://robosavvy.com/RoboSavvyPages/Rob ... twarePedro
The RAR file is 8Mb and it packs everything I have developed (and semi-developped) so far.
The most interesting bit of code is under the folder "Wrapper Classes".
There you can find the implementation of the wCK protocol as well as a test program.
You need to open "Group1.vgb" under "Wrapper classes". If you get an error of "ActiveX can't create component", open Project->References and just tick "RobobuilderLibrary".
This is a VB6 project and please note the code has a built in delay of 200ms in many places. That's a nasty hack I used at the time because I getting some errors where the computer was reading the COMM port without having received the data yet and that was generating errors.
Also, have you got your code up in Google Code or something like that?
You seem to have hit a stage where your code is now publiclly usable for very nice projects
One question, though: some of the calls have a last parameter that looks like a callback. Is that the case?