Community Question

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
Commented February 2015
It should be working. I just checked it out and, although I have no sabertooth to test it with, it should work fine. All commands are being sent as they should be, all variables are being adjusted as required by the scripts and the joystick is setting the direction and therefore triggering the ramping scripts with the desired speeds.

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.
Jayutmb
Commented February 2015
ok i will give that a try :)
but you can see how it is strange right ?
Richard R
Commented February 2015
I just tested your project with a bot I have a sabertooth in... It works with my wired Joystick... I had to change some values for forward, reverse, left and right as my sabertooth is no doubt wired differently than yours, but my joystick works great with all four movement panel directions...

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... :)
Richard R
Commented February 2015
@Rich, your ramping script should work on any port... I am running my sabertooth with @Jayutmb's project on port D23
Jayutmb
Commented February 2015
@Richard R I see that my sloppy layout has not gone unnoticed LOL! that is for the Dome of the R2 unit, that is a syren 10 motor card running the one motor that controls the domes "spin" I have not gotten around to cleaning the dome stuff up until i fix this control issue ( and no sadly I have not had a chance to try any of yall's great ideas yet to fix it sadly)
Question
Avatarby Jayutmb
Published Thursday, February 19, 2015