setting motor/servo speed

Hi Team, I wonder if can modify the speed of the servo motors. Right now I think the speed is little too fast, sothat Marty now and then falls aside. Lowering the speed I think it will avoid the falling. Best regards, Fred

Discussion

Leave a comment and join the discussion here


Please Log In or Sign Up to write a comment response

2 Responses

fredeisen OP

Hi Agnus, Thanks for your prompt response. I have a Marty with ROS and I am not using Scratch. Somehere there must a parameter that controls the motor speed. Looking from ROs side, what do I have to do to get access to this parameter/program? Best regards, Fred

14:40:16, 02nd August 2019   |   Permalink   |   View Source
angus STAFF

Hi there Fred,

Many of the blocks in Scratch have a built-in time, but a little further down you'll see there are some more complicated ones that take an argument move time that lets you change how fast Marty moves. In Python, all the movement functions optionally take a time too (see martypy docs an Scratch blocks )

That being said, if your Marty isn't walking well and falls over a lot, you might want to tweak its calibration - it can be quite sensitive to small changes, but should be able to walk on a flat hard surface continuously without falling

Angus

11:50:23, 02nd August 2019  *   |   Permalink   |   View Source