The easiest way to program the most powerful robots.
Use technologies by leading industry experts.
ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.
I gotcha now. Is the problem the action or the going forward? If it is going forward I'd do this:
What if you change your script to this to make this work for now so you are doing one thing at a time (get the forward actions working, then add the other action):
Code:
Forward( 255,5000 )
If you run that you should see the forward green arrow on the Movement Panel light up and robot move forward. If it does not, my guess would be the value "255" is maybe too high for the way your robot is configured. If that is case try dropping the value down until it moves forward. LIke try "250, then 245, 240...you get the idea.
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.
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.
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.
I can’t help unless you post the code of the script movement control
You cannot use pwm() and expect the speed to change. You set the speed and the pwm will change. The speed controls the pwm or what ever kind of speed the Movement Panel uses.
Use the speed() and let the Movement Panel do its own thing. Don’t override it
What if you change your script to this to make this work for now so you are doing one thing at a time (get the forward actions working, then add the other action):
Code:
If you run that you should see the forward green arrow on the Movement Panel light up and robot move forward. If it does not, my guess would be the value "255" is maybe too high for the way your robot is configured. If that is case try dropping the value down until it moves forward. LIke try "250, then 245, 240...you get the idea.
yes .i made two motion.i wanted to ad when the robot go's forwart and stop.
justin
i have that ,and it works.but not the motions i made.only forwart works.
https://www.ez-robot.com/Tutorials/Help.aspx?id=47
and add the code that will run when the Forward() is called. i.e.
Code:
You can also have the code tell the AutoPosition to stop with the Stop motion
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.
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.
2) Edit the FORWARD script in the MOVEMENT SCRIPT to the following...
Code:
3) Edit the STOP script in the MOVEMENT SCRIPT to the following...
Code:
that's it. Do not add code anywhere else. Remove the RIGHT() and LEFT() and all other code you've had.
dj&justin
And before now, I didn't know MOVEMENT SCRIPT worked that way.
set it for.
i try pwm(D0,90) but it dont work?
the bar in the H-bridge dont move
You cannot use pwm() and expect the speed to change. You set the speed and the pwm will change. The speed controls the pwm or what ever kind of speed the Movement Panel uses.
Use the speed() and let the Movement Panel do its own thing. Don’t override it
sorry i dont understand coding.do you have an excample?