
Jayutmb
So I am puzzled... I have my Movement Panel working and it works fine using arrow keys ... But when I use the joystick I can see the GU lighting up in corespondece with joystick movent and the Movement Panel GU even lights up same as if I was using the arrow keys... Only difference is nothing happens with robot.. but again if I put joystick down and hit arrow keys the bot will move. ?
Note: that sometimes within same instance periodically I will get movement from bot with joystick but that is only temp.. What puzzles me the most is I could see trouble shooting it if when the joystick is used nothing happens on the GU... But everything is lighting up
Rich I merged you ramp script to my R2 project .. and like I said it works as long as I hit the arrow keys..
But the code that is running in relation to that stuff is Rich's sabertooth ramp code and the joystick panel in ARC. ( I know that really does not help but it is all I can say right now *tired* ) I will upload my project when I get home however
In my project I added two graphs (so I could test it without the sabertooth), do these show the speed values changing when using the joystick? (Sorry, I can't view the video right now).
I think we will need to check the project out so if you can, when you get home post the project and we will have a look and figure it out.
@Jayutmb ... sorry about that man... Didn't mean to shift the focus off of your issues... I thought I had the same issue as you...
ok guys here is my current project that i am talking about (dont laugh it is far from done lol)
I was going to upload it after work yesterday... but I got pulled (not hard to convince me however) to happy hour... that turned into a few hours.. lol!
Anyhow here is project
And thanks again for helping this noob out
Just to make it easier, what ports are you using for what? The port details hasn't been filled out on the project so rather than guess it all it would be easier if you could let us know.
d3 sabertooth to the two feet motors
d2 is syren for dome motor
d1 and d0 are servos for the robot utility arms
Is there any reason why it's on D3? The ramping script is proven to work on D7 as that's what Gwen was using it on. If you can use D7 it's simply a case of importing the joystick control, movement scripts control and the custom Movement Panel (no need to merge the test script or the graphs).
Or possibly change it around and start with the Sabertooth Ramping project and import your other controls in to that one by one. Try the Sabertooth Ramping project in it's vanilla state, make sure that works as desired and then bring each of your own controls in one at a time, testing afterwards to check it still works. This will pinpoint the problem control.
but you can see how it is strange right ?
I am curious why in the left and right script of the Movement Panel you have only one motor set to move... The other motor you have issued a stop command for... Were you wanting a "swing turn" instead of a "pivot turn"?
@Rich, by the way your ramping script works perfectly dude...