Society of Robots - Robot Forum

Software => Software => Topic started by: barrttt on December 26, 2014, 10:57:25 AM

Title: Lynxmotion tri-track robot software issue when using PS2 controller
Post by: barrttt on December 26, 2014, 10:57:25 AM
Hi,
I am having some issues with the programming of Lynx Motion Tri-track robot in PBasic which is controlled using a PS2 controller.
The issue I am having is that the robot continuously rolls backwards at a very slow pace when it is turned on, even if there is no input received from the PS2 controller.
I know that the issue is caused by the software and not hardware as I have put a stop command at the start of the code which had solved the issue temporarily, however if I control the robot using the PS2 controller in any way it starts rolling again and doesn't stop until it is turned off and on again.
Does anyone have an idea what could be causing this? Any suggestions would be appreciated.
Thanks.
Title: Re: Lynxmotion tri-track robot software issue when using PS2 controller
Post by: mklrobo on January 22, 2015, 06:21:06 PM
That is an interesting problem.....
I do not have a Tri-track robot like you, but I can try to imagine a solution.
Is there an editor with teh program to track what part of the program is running?
If so, that could be used to help solve the problem. Is the PS2 controller giving a
false signal?(controller dirty, sticky). (unplug the controller)
If the robot still moves when the PS2 is unplugged, the problem is inherent
in the driver or a signal from the software. Please keep me posted on your
progress.... ;)