A Message Board, Guestbook, or Poll hosted for your website.
Roboteq Message Board

Register  | Login  |   | Chat
 
Roboteq > Message Board > analog joystick speed control issues
 
Username:  
Password:  
 
   
 


Thread Tools  | Search This Thread 
Reply
 
Author Comment
 
kjy423
Registered: 11/29/08
Posts: 7

    11/29/08 at 08:41 PM
  Reply with quote#1

Hello,

I've tested various settings for analog joystick channels (logarithmic, exponential, linear) and I cannot get a speed control as a function of joystick position. I'm using mixed speed mode, and all that seems to happen is that the acceleration of the motors depends on the joystick position, but they spin up to the same final speed regardless of joystick position. I seem to be limited to full speed forward, reverse, turn left or right, but no variations..

Also, (perhaps related?) sometimes the motors stop, sometimes forward becomes reverse. There's no loose connections, as when I reboot the controller, it works fine.

I'm using an AX1500 controller, with encoders, and an analog joystick (Penny & Giles). The joystick is hooked up correctly and I can see an analog variation during testing in the Roborun console (1.9d), although I am only using ~50% of full range. The encoders are also working good, as the test run in the console looks great (quadrature, 8 PPR).

Any ideas on whats up?

Thanks
kjy423
Registered: 11/29/08
Posts: 7

    11/30/08 at 09:20 AM
  Reply with quote#2

I think the problem may be low-level signaling on the encoder channels. I'm using analog hall effect sensors to detect a magnetic encoder. The two sensors output sine waves instead of square waves, which are out of phase by 90 degrees, to get the quadrature signal. Is there any way to disable the other signals (0.5V level) on the encoder channels?

Thanks
kjy423
Registered: 11/29/08
Posts: 7

    11/30/08 at 09:04 PM
  Reply with quote#3

added a comparator, encoders are fine.  other issues which i'll add to a new post.

Previous Thread | Next Thread
Reply

  Bookmarks  
Digg Diggdel.icio.us del.icio.usStumbleUpon StumbleUponGoogle Google