Go to Post As part of this test phase, I would expect to see Aidan sleeping on the job for most of the upcoming season. :) - dlavery [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #20   Spotlight this post!  
Unread 29-01-2016, 23:51
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Andymark rhino drivetrain discussion

Quote:
Originally Posted by jls667 View Post
It turns out my team wants to use Talon SRX with CAN signaling. Here is what I think needs to be done to run Rhino Drive:
1. Each Talon SRX would need a different id.
2. Each Talon SRX would need to be daisy chained.
3. Since my team want 3 motors on each side of the Rhino Drive, we will need 6 Talon SRX controllers.

How do I program 3 motors for left and 3 motors for right? Do I setup RobotDrive1, RobotDrive2 and RobotDrive3 each for 2 motors?

Thanks.
Quick example here.
https://github.com/CrossTheRoadElec/...bot/Robot.java
Basically uses robot drive which takes four CANTalons. Then create two more CANTalons and slave them.

Use tankDrive instead of arcadeDrive.

Alternatively you could just create six CANTalon and directly call Set() to manipulate the motor outputs directly, or to use the advanced control modes (speed/position/vcomp/currentDraw/motionProfile).
Reply With Quote
 


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:38.

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