Go to Post Use sensors to collect data about the surrounding environment, then discard it and drive into walls. - Jared Russell [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2011, 13:03
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,090
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
WPI Library RobotDrive::HolonomicDrive

Perhaps I am looking in the wrong places, but the attached screenshots are the only documentation I could find for RobotDrive::HolonomicDrive in the C++ WPI library. Is there more detailed documentation available elsewhere?

My specific questions are:

1) magnitude. what are the units, and the range? or is this a unitless -1 to +1 input ?

2) direction. Is this expected to be in degrees or radians? Where is zero, and is it CW or CCW?

3) rotation. Is this positive CW or positive CCW? What are the units? rpm, degrees per second, radians per second? Or is it unitless -1 to +1 ?


And a 4th question:

4) Is there someplace to download (I do not have the DVD) the library source code for inspection purposes only? i.e., without an installer.

Thank you.


Attached Thumbnails
Click image for larger version

Name:	Cpp Holonomic Drive ref chm.png
Views:	22
Size:	6.6 KB
ID:	9722  Click image for larger version

Name:	Cpp Holonomic Drive ref PDF.png
Views:	12
Size:	60.3 KB
ID:	9723  Click image for larger version

Name:	Cpp Holonomic Drive pgm guide PDF.png
Views:	9
Size:	20.8 KB
ID:	9724  
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2011, 13:13
Bot190's Avatar
Bot190 Bot190 is offline
Registered User
FRC #0166 (ChopShop)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Merrimack NH
Posts: 105
Bot190 will become famous soon enough
Re: WPI Library RobotDrive::HolonomicDrive

Looking at the Source, Magnitude and Rotation are -1.00 ... 1.00 values. It doesn't give a unit for direction, although looking at the code it seems to be in degrees.

The source is included in a zip in the update, I have uploaded it here if you don't want to run the updater.

[edit]Updated url to point to latest version
__________________


Last edited by Bot190 : 18-01-2011 at 14:09.
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2011, 13:20
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: WPI Library RobotDrive::HolonomicDrive

Quote:
Originally Posted by Bot190 View Post
The source is included in a zip in the update, I have uploaded it here if you don't want to run the updater.
Latest versions also available on FIRST Forge (requires registration - free), http://firstforge.wpi.edu/sf/projects/wpilib
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2011, 13:34
Bot190's Avatar
Bot190 Bot190 is offline
Registered User
FRC #0166 (ChopShop)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Merrimack NH
Posts: 105
Bot190 will become famous soon enough
Re: WPI Library RobotDrive::HolonomicDrive

Just like to point out that the code on source forge right now is not up-to-date, and won't always be up-to-date.
__________________

Reply With Quote
  #5   Spotlight this post!  
Unread 18-01-2011, 13:40
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: WPI Library RobotDrive::HolonomicDrive

Umm...Ben?
You uploaded revision 2222's code.
The update for this year's 2242.
__________________


GSR Dean's List Finalist 2011
Reply With Quote
  #6   Spotlight this post!  
Unread 18-01-2011, 14:19
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,090
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: WPI Library RobotDrive::HolonomicDrive

answers so far underlined. still seeking answers to items in red:

1) magnitude. -1 to +1 unitless ?

2a) direction units. degrees ?

2b) direction range (ie 0..360 or +/-180 etc) ?

2c) direction: where is zero ?

2d) direction: CW or CCW?

3a) rotation rate range. -1 to +1 unitless ?

3b) rotation rate: positive CW or CCW?



Last edited by Ether : 19-01-2011 at 12:25.
Reply With Quote
Reply


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 15:23.

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