
Louis T
I want to make Wall-E head move up and down but in a continuous motion using script, is this possible? that is the servo is not jumping from specified servo position to another and skipping all the in between positions, sort of like how you would slide the servo control slider up and down. Is this even possible using script?
I want to create some lively expression for Wall-E but im stuck at this part, i don't have much option for programming since im no programmer. I can make him move up and down but it doesn't look very natural jumping to different servo positions. Any help would be greatly appreciated.
See if my simple 2 line personality gives you an idea.
servo(d10, 50)
servo(d10, 10)
servo(d10, 50)
servo(d10, 10)
name is up and down
then in the personality generator use the
commandcontrol(scriptstart, "upanddown")
and boom theat small scrip tyou made will be executed.
always remember that the servoup / servodown commands can be used here too
ifservo / waitservo cammand are great too...
goup:
servo(d10, 50)
goto(godown)
goto(goup)
:godown
servo(d10, 10)
goto(goup)
goto(down)
this will make it go up and down for ever and ever and ever and ever
add in some ifservo(d10, ..... commands and it will wait for adc ports or other servos to move first before this script is executed.
Code:
Almost got it to work by combining relative servos with external control but how can i enable relative servos "external control" only for the SayName function and turn off at the end of the script? i don't want every other movement to be relative to the neck servo. Is this even possible? You can response to my Wall-E thread if you want, i don't want to double post