Go to Post FIRST is not all about the robot, it's about the experience. Don't sour yours by whining about it later. - StephLee [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 13-07-2013, 00:34
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Alternative holonomic drive

Hello! I've been toying with this idea of using a trackball and joystick as a driver interface for a robot with mecanum wheels. The problem with this is that a trackball is not like a joystick. It's like a mouse (it IS a mouse, unless we can find a trackball made for some other purpose). I've been working on this in Processing, and it seems to work pretty well. I divide the screen into 360 vertical pieces, and assign each piece from 0 to 359 (with wraparound). By doing this, I can easily send a value for my simulated robot to turn to. The Processing model is great, and performs exactly as a real robot would, physics included, but in Processing, all I had to do was tell a box it's x,y, and rotation, and no real robot-applicable code was used. The problem I'm having with a real robot is that sending a specific value to rotate to is characteristic of field-centric steering (the value is the joystick angle, I think), and freedom to move without a third-person is characteristic of robot-centric steering. Is it possible to combine robot-centric strafing and field-centric rotation?
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi