Variable State Saver icon Variable State Saver Persist and auto-load specified global variables between ARC sessions for consistent, personalized robot behavior and quick state restoration. Try it →
Asked — Edited

Ad Movement To Forwart()

i cant seems to ad a movement to script movement panel?

Forward( 255,5000 ) sleep(1000) ControlCommand("Auto Position", AutoPositionAction, "Armwalk")

anyone thank you


ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#9  

Your action in Auto Position is not set to repeat if it only runs once

Why does your code tell it to right or reverse in the right or reverse? You're telling the command to do the command when it does the command to do the command that does the command in the command when the command runs the command to do the command from the command with the command.... for ever

My instructions did not instruct you to enter the movement into the movement of the movement. You've created an infinite loop. Careful, the universe is a fragile place:)

Read the manual for the control before using it. Here is a copy from the manual from the link i provided in my previous post.

User-inserted image

Author Avatar
PRO
Belgium
Thingiverse
#10  

this is arkward.all i see is 10 times the word command,and now am lost. i dont have action forwart/backwart/left&right in the auto position. the action turn head left&right is repeat also the action move arms is repeat. so ok something is not right in the movement.thats why the wheels didn turn of eek. infinite means forever? says buzz lightyear.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#11  
  1. Set the ARMWALK ACTION in your Auto Position for REPEAT

  2. Edit the FORWARD script in the MOVEMENT SCRIPT to the following...


ControlCommand("Auto Position", AutoPositionAction, "Armwalk")
  1. Edit the STOP script in the MOVEMENT SCRIPT to the following...

ControlCommand("Auto Position", AutoPositionStop)

that's it. Do not add code anywhere else. Remove the RIGHT() and LEFT() and all other code you've had.

Author Avatar
PRO
Belgium
Thingiverse
#12  

ok that works.but only for one command.thank you for your patients

dj&justin

Author Avatar
PRO
Belgium
Thingiverse
#13  

found it.i put the two motions together.armwalk&lookleft&right.

#14  

That is pretty cool! And before now, I didn't know MOVEMENT SCRIPT worked that way. :)

Author Avatar
PRO
Belgium
Thingiverse
#15  

i learned tree new things.i am very happy.these mini meccanoids are very good to start robotics.i notest one thing do.the speed bar dont stay in position you , set it for.

User-inserted image

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#16  

paste the code in your movement script