|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Saturday, August 20, 2011 7:44 PM
Posts: 50,
Visits: 711
|
|
 Hi all Thought I would put some a shot of my project on here for all to see Basically a Traxster II Kit with a add-on deck carrying my Asus EEE PC 701 netbook running XP which will be controlling the robot and processing images from the webcam to eventually contol the navigation/object avoidance etc I am pretty new to all this - but having great fun and would highly recommend all these products to others, its like being a child again playing with my Lego and Meccano! I have a little experience of using Visual Basic .net and have been trying to learn and understand C# by looking at the sample apps, asking questions on the forum and basically by playing about with writing programs for the robot I have written a test app which shows how to do some of the common tasks, movement, sensors, reading battery state etc etc and have written it both in Visual C# 2008 Express Edition and also in Visual Basic 2008 Express Edition - I did it in both languages mainly to help me learn and so I could see the obvious differences between writing in C# compared to VB 
I will attach the source for both versions below shortly so others can make use of them if they are like me and newish to programming - hope they are of some use!
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Saturday, August 20, 2011 7:44 PM
Posts: 50,
Visits: 711
|
|
| Here is the source and a better (updated) screenshot for the Visual Basic version as discussed above 
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Saturday, August 20, 2011 7:44 PM
Posts: 50,
Visits: 711
|
|
and here is the source code for the same app in C# 2008
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Saturday, August 20, 2011 7:44 PM
Posts: 50,
Visits: 711
|
|
| I have also created what I call base apps in both VB & C# This contains the minimum code to initialize and start communication with the serializer, it allows you to select COM port from drop down list and connect or disconnect with buttons and reports simply the battery voltage and firmware version May help others to start coding great robotic apps *** N.B. Have had to use RAR to compress this time as nearly out of my allowed 512kb attachment space ***
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: Monday, October 31, 2011 9:18 PM
Posts: 640,
Visits: 819
|
|
| Wingers, This is awesome my friend! Great job! You did a smart thing by developing dual VB and C# apps, and comparing them to learn the differences. I appreciate you posting your apps too, as this always helps our customer base. I'll be posting an example over the next few days similar to this one, but with a Gamepad control built in, so you can control the robot w/ an XBox style USB gamepad. I will note, however, that we've found that not all gamepads are the same, and we've had a hard time getting several models to work. I will post the models that we know work. Best Regards!
Jason Summerour President, Summerour Robotics Corporation www.roboticsconnection.com
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Saturday, August 20, 2011 7:44 PM
Posts: 50,
Visits: 711
|
|
| Jason Glad you like them - and you are welcome, always happy to post anything I develop so it can help the community, that's what makes projects like this so much fun  Looking forward to seeing your app, and also when you get a chance the sample app using the radar class and also the obstacle avoidance one - which is what I am also now going to start work on
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Saturday, August 20, 2011 7:44 PM
Posts: 50,
Visits: 711
|
|
| Right have now created another basic app for my use, screenshot below, will post source once I am happy with it 
I have now mounted a webcam on top of the chassis and using this app with roborealm running in the background I can now remotely control robot via remote desktop/VNC and see where it is going etc and read sensor results I intend to then use more features of roborealm to help navigate and detect objects in the path of the robot
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Saturday, August 20, 2011 7:44 PM
Posts: 50,
Visits: 711
|
|
| new webcam mounted on chassis 
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: Monday, October 31, 2011 9:18 PM
Posts: 640,
Visits: 819
|
|
| Wingers, Just wanted to let you know that I revamped the RC website, and I used a picture of your project on the front page under the 'Featured Customer Projects' section (you'll have to wait to see your pic roll around)...I hope you don't mind!  http://www.roboticsconnection.com/default.aspx Best Regards! Jason
Jason Summerour President, Summerour Robotics Corporation www.roboticsconnection.com
|
|
|
|