I am still fairly new to programming knowing BASIC and self teaching my self C++. I would like to get in to programming robots so my question is this. How do you interface and program robots using Microsoft Visual BASIC and what parts and/or micro controllers would I need or would work? I would also like to know how to do it in Microsoft Visual C++ to but I would prefer BASIC right now. Any and all help would be much appreciated. Thanks
PS. If you are wondering I am mainly wanting to build a defcon bots or other automated robots like that but more advanced. Thanks again.
Would I be able to sync the programs made with the Robotics Developer Studio with programs made in Microsoft Visual BASIC like a wireless system to control the robot remotely? I know you can do this to with the Robotics Developer Studio but I just want to know if you can, and if you can how to?
What I mean is if I rig a RC airplan to work off a lap top with a VB program to follow waypoints using gps or return to a preset location and shut off unnecessary systems if the battery level reaches a certain percentage before then would I have to have it conected to my lap top the whole time or would I be able to program it to still perform those functions and orders if it lost connection to my lap top?
Hi everyone!
Im just new in this forum.I am interested in robotic but my programming background is on PLC only.I have no experience in micro controller.
Can you advise what should i do to start with.
MS Robotics Developer Studio is a toolkit for robotics development. You can create services in VB that work in unison. The actual choice of language is not the issue. It is free so download it and try it out.
You can do whatever you want. You could simply send commands to a controller on a mobile robot or use a microcontroller on the robot to give it âintelligenceâ.
The Serializer may interest you as a robot controller:
The Serializer is a general âRobot Controllerâ for .NET that allows input from sensors and output to actuators. The Phidgets are specific interface and control kits. It is a matter of choice and this depends on what you are doing.
Yes, of course VB can be used to control robots. Any language can be used to represent your logic. Robot AI can require advanced programming skills so we suggest you get a good book on AI programming to learn more.
If it can help you, my actual project includes this :
EEE-PC laptop : âmicroâ controler (small, inexpensive)
VEX products : for the frame and mobility
Phidgets : inexpensive and really good sensors
Delphi langage : control phidgets (with my own programming project called Synopsis)
MAT LAB : control VEX
Windows XP with SAPI 4.0 : vocal recognition
after a LOT of searching, I didnât find better solution to make a robot.
the iCreate (irobot.com) is cool because it includes already 30 sensors⊠But the main base is limitlessâŠ
AI REQUIRES advanced programming skills. To start, you should look at what do you want to do with your robot. Keep in mind that, sometimes, you have no choice but to adapt human actions to a robot action. For example, you want your robot to go get a beer for you. The simpliest solution is to put the robot in the same starting place each time and follow the exact same path each time (donât forget to put the beer at the exact same place in the frige). After taking the beer, the robot closes the door and brings the beer to the starting position. AI is useless in this scenario because the robot is always doing the same actions again and againâŠ
AI would be used, for example, to recognize the road to get to the frige, to recognize a beer and to recognize the individual making the request⊠itâs hard to program and long⊠but itâs harder to understand all the parameters of a recognition solution. What is a âbeerâ? What is a âfrigeâ? How it recognizes a beer and how it can get it requires intelligence. For now, humans must adapt robots to do their âjobâ though it is my guess that in the next decade, especially with nano technology, robots will be more âhumanâ.
In regard to your question âSo are you able to make automonous robots programed in VB?â, there âkindâ of solution. In my opinion, the best solution is to wirelessly control a robot using a PC with an OS. A good start would be to use a Phidget product with a little VB program. In my opinion, Microsoft robotic studio is incomplete and not so easy to understand after all.
Jâai une question technique Ă vous poser Ă propos du VEX : si je fais tourner un moteur manuellement, est-ce que je peux lire la rotation avec le microcontroleur ? Jâaimerais utiliser le mĂȘme principe que le robotsapien pour mon projet : enregistrer ces mouvements pour ensuite les reproduire.
"The VEX Accelerometer measures accelerations on three axis simultaneously. By measuring the acceleration of the robot, one can calculate the velocity of the robot, and more importantly the distance this robot has travelled. Accelerometers are also great for detecting collisions and determining if the robot is stopped or moving. "
yes you can as itâs possible on all the programming langages. Keep it mind that âlogicâ, in this context, will probably demands some sensors to interact with environment. Keep in mind that if the programming logic is not enough think, you risk to loose your airplane and your money⊠Programming need a lot of tests and thinking. An example of a real risk : i want to program just a little car with four wheels that moves anywhere in my house and at random. If I forget the stair, itâs game over for my project⊠An airplane acts in a 3 dimensional context. A car acts on a floor which is only in 2 dimensions. It will be a nice challenge to program logic in your project.
Before trying to put logic in a program, try to control a ârobotâ and then, you will be able to understand more about logic.