Go to Post Without compromise, engineering would be boring. - Mike Betts [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 12-28-2009, 04:53 PM
yara92's Avatar
yara92 yara92 is offline
M.Fawdah Mechanical engineering
AKA: Mohamed
FRC #1946 (Mechka Monster)
Team Role: RoboCoach
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Israel
Posts: 236
yara92 will become famous soon enoughyara92 will become famous soon enough
quation Holonomic Drive use Windriver C++

I use Windriver C++
Where I can fined from the Simple Template (windr River VxWorks) how to hooked up the PWM pin of the Jaguars using 4 Motors to the Digital Outputs (Digital Sidecar PWM outputs for controlling speed controllers)
I am using this : Holonomic Drive 4 Motors
Jaguar plugged into PWM port 1
Jaguar plugged into PWM port 2
Jaguar plugged into PWM port 3
Jaguar plugged into PWM port 4

Code: MyRobot . Holonomic Drive (stick. GetMagnitude() ; stick.GetDirectionDegrees(); degree_90_fix); //drive with arcade style (use right stick)
Team 1946
__________________
TEAM 1946-Tamra
Reply With Quote
  #2   Spotlight this post!  
Unread 12-28-2009, 09:44 PM
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: quation Holonomic Drive use Windriver C++

Quote:
Originally Posted by yara92 View Post
MyRobot . Holonomic Drive (stick. GetMagnitude() ; stick.GetDirectionDegrees(); degree_90_fix);
use , not ; to seperate arguments. Also, I would have a variable turn (assuming joystick with twist):
MyRobot.HolonomicDrive(stick.GetMagnitude(),stick. GetDirectionDegrees(),stick.GetTwist());
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #3   Spotlight this post!  
Unread 12-29-2009, 02:07 AM
yara92's Avatar
yara92 yara92 is offline
M.Fawdah Mechanical engineering
AKA: Mohamed
FRC #1946 (Mechka Monster)
Team Role: RoboCoach
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Israel
Posts: 236
yara92 will become famous soon enoughyara92 will become famous soon enough
Re: quation Holonomic Drive use Windriver C++

Quote:
Originally Posted by byteit101 View Post
use , not ; to seperate arguments. Also, I would have a variable turn (assuming joystick with twist):
MyRobot.HolonomicDrive(stick.GetMagnitude(),stick. GetDirectionDegrees(),stick.GetTwist());
I will change the code
still I need from where I can fined from the Simple Template (windr River VxWorks) how to hooked up the PWM pin of the Jaguars using 4 Motors to the Digital Sidecar PWM outputs for controlling speed controllers)
__________________
TEAM 1946-Tamra
Reply With Quote
  #4   Spotlight this post!  
Unread 01-01-2010, 06:18 AM
yara92's Avatar
yara92 yara92 is offline
M.Fawdah Mechanical engineering
AKA: Mohamed
FRC #1946 (Mechka Monster)
Team Role: RoboCoach
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Israel
Posts: 236
yara92 will become famous soon enoughyara92 will become famous soon enough
Re: quation Holonomic Drive use Windriver C++

change the code by right clicking open Declartion youcane see the source code
__________________
TEAM 1946-Tamra
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: it's a Vex Holonomic Drive! artdutra04 Robot Showcase 29 11-01-2006 11:08 PM
Holonomic drive and ramp robotaddict Technical Discussion 11 01-13-2006 04:57 PM
Holonomic Drive Question Jeff Waegelin Technical Discussion 12 11-20-2005 09:23 PM
Holonomic Drive Mathmatics Discussion robotaddict Programming 35 10-15-2005 01:29 PM
Killough platforms (A.K.A Holonomic/kiwi drive) AK1 Programming 8 02-04-2005 09:36 PM


All times are GMT -5. The time now is 09:11 AM.

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