
NYP.Shank_95
India
Asked
— Edited
I have gone through the tutorials in the EZ-Robot C# SDK file. I am unable to find the coding to move the wheels. Can you please help me by giving me the codes?
Thanks in advancce.FYPRevolutionRoli.EZB
I wrote a pretty detailed explanation and tutorial on the L298n H-Bridge a while back. It's simple to follow and should explain everything clearly, it also includes the truth tables to help you understand what causes each motor to move in certain ways.
Have a read of this topic
EZB file:
FYPRevolutionRoli.ezb
Visual Studio 2013 file:
FYP.zip
After opening VS 2013 file, Go to FYP Revolution Roli.cs and search for line 51 to 59.
I am having a similar problem with the Windows SDK, but I in my case none of the wheels are moving. The Roli robot is correctly assembled according to the tutorials and the ARC controls work. The robot can rotate left/right and move forwards/backwards. The servos work and also camera.
I have seen Rich very detailed thread about the workings of the H-Bridge but consider this problem to be software only. There must be some essential difference between the tutorial code and the ARC application.
I would be very interested in the source code behind the ARC application. Is it possible for us users to get our hands on it ?
It would be a great supplement/replacement for the tutorials so that developers have a stable starting point that they know work.
By Open Sourcing ARC you will also allow thirs party developers to enter the picture.
I just tested your great application on my Rovi, everything works except the movement of the robot. The other actuators respond perfectly.
I am still puzzled that the forward/backward/left/right move commands on the robot do not work in your app and the other tutorials I have seen but they do work in ARC. This solidifies my belief that the sources from ARC would be of great value to the community.
But I can live with an updated tutorial and some updated DLL files.
I have the same behavior that job. I tested your application and the roly works fine.
Sometime the speed assigned to the left wheels or the right wheels is not take into account.
ucezB_Connect1.EZB.PWM.SetPWM(EZ_B.Digital.DigitalPortEnum.D0, EZ_B.PWM.PWM_MAX);
so i return on the ARC and i move the track bar of the speed movement and i start again the application c# and the commands forward/backward/left/right works fine.
If the roly works fine with ARC try my method and you will see.
Christophe
This solution fits my needs, so I can continue with the programming