
njsokalski
I am trying to learn to program EZ-Robot (http://www.ez-robot.com/shop/) using VB.NET. I have downloaded the SDK, but the examples it included didn't really look like they did much, and the SDK documentation (http://www.ez-robot.com/SDK/) didn't seem very helpful. I would like to see a complete example that includes input from several of the servos as well as sends commands to some of them. Does anybody know of anywhere that I can view or download a complete example that includes input from and output to several servos? Thanks.
Code:
But I could not find a method named btnForward_Click anywhere. One of the things I wanted to see was the code that sends the commands to EZ-Robot. Do any of the examples show how to send commands to and receive input from the servos?
EZB.Servo.SetServoPosition(ServoPortEnoum.d0, 50);
EZB.Servo.SetServoPosition(ServoPortEnoum.d1, 50);
EZB.Servo.SetServoPosition(ServoPortEnoum.d2, 50);
EZB.Servo.SetServoPosition(ServoPortEnoum.d3, 50);
EZB.Servo.SetServoPosition(ServoPortEnoum.d4, 50);
Try it! you have to try it first a learn...
To begin using Visual Studio, please start with tutorials such as this: http://msdn.microsoft.com/en-us/library/dd492171.aspx
That will help you learn Visual Studio
Good luck! And enjoy the ~50 examples within EZ-SDK. With every release of the SDK, more examples are added
Actually I'm using VB all the time and I must say it does everthing it needs to do for controlling my robot. Ok, sometimes I get desperate too, but after leaving the problem aside for a few days, suddenly it all comes out. Anyway, what exactely is your question ? Edison2 already gave away a few lines of code. What are you trying to read or control ?
Greetz,
PhG
Have you created a complete application for the EZ-B robot?
I am interested in creating an entire application for EZ-B using Visual Studio. I also want to create more complex logic. Do you have any examples of an entire application in visual studio you could show us?