Speech Script icon Speech Script Run custom scripts when speech starts/ends to sync servos and LEDs to spoken $SpeechTxt, with loop support, stop button and logs. Try it →
France
Asked — Edited

Hi,I'm Using A Six Hexapod

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


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
France
#10  

Ok thanks ! I've just loaded the bare project seems to work fine !