
Spidy
France
Asked
— Edited
Hi,
I'm using a Six Hexapod and I'm building my own plugin. I'm very new so please be indulgent !
I'm trying to do something very simple but it sadly doesn't work
Here's the thing : I just want to make the robot move ! (see veryyyy simple). So I've created my plugin, all the setup is good. I followed this tutorial : https://synthiam.com/Tutorial/How-To-Make-An-EZ-Builder-Plugin-16328/14 which is exactly what I want to do however it doesn't work. I think I misunderstood something. When I open ARC , I add my own plugin, click on the button but nothing happends. I thought I had to add a movement plugin (an already existing one) but still doesn't work.
Here's my code :
private void button_Click(object sender, EventArgs e)
{
EZ_Builder.EZBManager.EZBs[0].Movement.GoForward();
label1.Text = EZ_Builder.EZBManager.EZBs[0].Servo.GetServoPosition(EZ_B.Servo.ServoPortEnum.D0).ToString();
}
I know it's very simple, so any ideas what I'm doing wrong ?
Thanks
Oh, also remember that the ? (question mark) next to the X (close) button on every control brings you to the appropriate manual page. The Auto Position has a great manual here: https://synthiam.com/Software/Manual/Auto-Positioner-Gait--16057
Either way, you can get running right away if you load your plugin into the SIX HEXAPOD - BARE example project
Ok thanks ! I've just loaded the bare project seems to work fine !