Go to Post "Yes, I'd like to Super Size my speed controller combo and add a jumbo distribution block, please." "You want fries with that?" - Travis Hoffman [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 31-01-2008, 16:53
Gizmo2417 Gizmo2417 is offline
Gizmo
FRC #2417 (Robocougars)
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Virginia
Posts: 9
Gizmo2417 is an unknown quantity at this point
EasyC Pro Programming?

Hi I'm a member of FRC team 2417 and I am having a hard time figuring out how to program the robot with EasyC pro. We have a basic setup based on the electronics diagram, so which motors (1-16) would I use for the radio control, or am I totally on the wrong track?
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2008, 16:59
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: EasyC Pro Programming?

You have to find out what port the motors are plugged into. Like you said, it could be 1-16.

If you want the joystick values to be sent directly to the motors, expand the "RC Control" function block and drag in the appropriate function.

Nathan
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2008, 22:50
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: EasyC Pro Programming?

The cool part is that YOU determine that in software.

Open a new competition project.
Drag a While loop into Main, and set it "While (1)" - that'll make it run forever.
Inside the while loop, drag a "2 wheel tank" block in there, and define the PWM ports and joystick ports. (I think you define them there?)
Connect the motors (through vicotrs) to those ports, connect the joysticks, and see them work. 5 minutes of programming and downloading. Easy C.

Don
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2008, 15:05
Gizmo2417 Gizmo2417 is offline
Gizmo
FRC #2417 (Robocougars)
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Virginia
Posts: 9
Gizmo2417 is an unknown quantity at this point
Re: EasyC Pro Programming?

I put the tank2 in the While loop and it took off as soon as we turned it on. How do I get it to respond to the controller?
Reply With Quote
  #5   Spotlight this post!  
Unread 02-02-2008, 17:13
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: EasyC Pro Programming?

Some tips Gizmo to make your life easier:

1. Put your robot up on blocks (wheels off the ground) before turning it on for testing.

2. Get or make a competition port dongle. This lets you disable/enable the robot as well as switch between autonomous and operator control.

3. Use the tutorials in the EasyC help menu.

4. If you are using the kit joysticks, make sure you have the trims set properly. When you turn your robot on and your joysticks are in neutral, all of the Victors should be ORANGE. Adjust the joystick trims to make this so. If adjusting the trims does not work then you will have to calibrate your Victors.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2008, 00:54
Gizmo2417 Gizmo2417 is offline
Gizmo
FRC #2417 (Robocougars)
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Virginia
Posts: 9
Gizmo2417 is an unknown quantity at this point
Re: EasyC Pro Programming?

How do you calibrate the victor? I read something about the joystick being pressed forward and back?
Reply With Quote
  #7   Spotlight this post!  
Unread 04-02-2008, 01:08
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: EasyC Pro Programming?

Check out the Victor884 manual. Make sure your joysticks are trimmed properly before doing the calibration, though.

http://www.ifirobotics.com/docs/ifi-...al-9-25-06.pdf
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
MS Vista/EasyC & EasyC Pro rswsmay Programming 1 25-04-2007 10:47
easyC Pro help! shlomi Programming 1 08-02-2007 06:48
EasyC Pro trial? Stuart Programming 3 07-02-2007 22:33
easyC PRO contest Brandon Martus Announcements 0 01-02-2007 11:57


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

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