
mgodsell1973

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*
i am using the movement panel, with a script to control the speed. (both set to speed 3)
i did have a voice recognition script to play a sound bite to acknowledge the command, but in the interest of fault finding i have removed that and reverted to the two codes above when i ask KP to move forward and reverse
i may not be looking correctly, as i cannot see a check box with this option.
can you screen shot it for me? *blush*
Under Actions in the Auto Position Movement panel, there is a check box on the upper right side that says something like "This action repeats". See if it is checked for both the forward and reverse actions.
This is where you set your frames up to be an action.
mgodsell, can you upload your project? It will help us because it appears to be a coding issue.
@mgodsell1973 You are using the modified servo movement panel, right? Are you getting any error messages like variable not defined or?
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
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.
@d.cochran... That's a good idea....
Upload your project file and we will take a peek to see what's going on
Have just shut down the laptop, family time and all.
Will post the project tomorrow, thanks for the intrest and concern :-)
i finally got my laptop of the kids (homework to do, so can't be mad), i have now uploaded the "K9" file to the cloud, now i have noticed that before i connected my EZ B to Builder, all seemed to be OK (after removing the "auto position servo control" and going back to the "modified servo panel", yet after connecting the EZ B to my network and trying again the same issue occurred.
any ideas?
thanks in advance for your/any assistance
*stress*
***EDIT*** Just tried your project on 2 modified servos.... It works perfectly if you pause the Sharp Collision control...
Is there a reason you are using the sharp radar control and the sharp collision control in the same project? They both control the Movement Panel so it's probably a good idea to use one or the other, but not both...
I had the senor disconnected for the last trail. I used both of the ir control panels as a "sense" check, but will trial later with your suggestions and advise back.
had a play and swapped the IR sensor over to a ping sensor and the forward movement is now operational.
this has allowed me to understand why K9 is not moving in a straight line, it's due to the weight shift on the front swivel castor. when moving forward the caster has to go 180 degrees before it reaches its driving position, causing K9 to "veer" of track. this is evident as when he reverses, he does so in a straight line as the weight and power are coming from the rear. so a double thanks