
mgodsell1973
United Kingdom
Asked
— Edited

Hi Guys and and Girls,
i have got K9 responding to voice commands, including some responses from him verbally. so things are going great apart from...
when i ask him to move forward his servos respond, but only for a second (or less) and then stops, yet if i ask him to reverse his servo's keep going until i ask him to stop.
originally i thought it was due to the IR sensor interfering, so i disconnected this and repeated to test, with the same results.
any ideas?
confused
He is not using the Auto Position control by the looks of it D.cochan. He said he's using the servo movement panel.
mgodsell, can you upload your project? It will help us because it appears to be a coding issue.
my bad. working and half paying attention to the boards.
@d.cochran.... He is using the modified servo Movement Panel which would not have the options (auto repeat) you stated....
@mgodsell1973 You are using the modified servo movement panel, right? Are you getting any error messages like variable not defined or?
@mgodsell1973 If you upload your project it would be much quicker in solving your problem....
Oh thanks found it, i was originally using a modified servo movement panel, i have now moved to the Auto Position Movement Panel - not used this one before.
so i have now added to modified servo panels, and set them up, so that if i click on the arrows, the servo's move.
i have tried to "ask" K9 to move forward ad ARC recognizes the command and then promptly stops it
:(
we would have to see your project at this point.
you could create a new project and just add the pieces that make the K9 move forward to identify if something else in the project is trying to control the servos or is stopping the movement due to something like a ping sensor stopping movement. It could be something as simple as some other control being setup to the same digital port as the motors.
lets see you code dude... You need to use the Modified servo Movement Panel for your particular project.... What's in your move forward command script...?
@d.cochran... That's a good idea....
If the "move forward" command runs just Forward() then something else must be stopping the movement such as an IR script or Ping control.
Upload your project file and we will take a peek to see what's going on