Are you sure you still have a sperate "movement panel"
You can have a "Movement Panel" and then "Auto Position" panels OR
you can have an "Auto Position Movement Panel" which does both together - which I think is what most folks use and what most examples show.
If you are using the "Auto Position Movement Panel" then you need to use:
Let us know what you are using and which robot. And remember you can check the "Cheat Sheet" under the EZ-Script control to see what commands are available to you.
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):
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
Are you sure you still have a sperate "movement panel"
You can have a "Movement Panel" and then "Auto Position" panels OR you can have an "Auto Position Movement Panel" which does both together - which I think is what most folks use and what most examples show.
If you are using the "Auto Position Movement Panel" then you need to use:
Let us know what you are using and which robot. And remember you can check the "Cheat Sheet" under the EZ-Script control to see what commands are available to you.
hi justin
i am using a seperate movement.
i am using the mini meccanoid version.i dont have commands in the cheat sheet. only in the speech recog are controls .forwart/backwart/left&right.
I think what you want is an action to run when the robot is moving forward?
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):
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.
dj
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.
Use this control...
https://synthiam.com/Support?id=47
and add the code that will run when the Forward() is called. i.e.
You can also have the code tell the AutoPosition to stop with the Stop motion
he will only move once,then nothing.i dont see I.E
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.
Set the ARMWALK ACTION in your Auto Position for REPEAT
Edit the FORWARD script in the MOVEMENT SCRIPT to the following...
that's it. Do not add code anywhere else. Remove the RIGHT() and LEFT() and all other code you've had.
ok that works.but only for one command.thank you for your patients
dj&justin
found it.i put the two motions together.armwalk&lookleft&right.
That is pretty cool! And before now, I didn't know MOVEMENT SCRIPT worked that way.
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.
paste the code in your movement script
dj thank you again. blush
i asked you a question lol - show me the code you put into the script movement control
ah didn see that. i try pwm(D0,90) but it dont work?
ah i see the pwm change to 89 percent whits is correct. the bar in the H-bridge dont move
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
dj
sorry i dont understand coding.do you have an excample?
Why don't you use blockly? It sets the speed for you.
any coding is diff for me.but i will see if i can notest something in blockly.