Go to Post Simply. Minimize. Reduce. It's a good engineering rule, and an even better management one. - Tom Line [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-02-2017, 16:11
cybersader13 cybersader13 is offline
Registered User
FRC #5976
 
Join Date: Jan 2017
Location: Waukesha, WI
Posts: 4
cybersader13 is an unknown quantity at this point
Re: CANTalon w/Encoder DriveStraight Command example

Want to add a quick note to this. While in our test scenario (with just one talon and one encoder) we were able to have an execute() method that was empty, we saw this leading to problems when we moved to our real drivetrain with 4 talons, 2 encoders. Specifically it behaved like the watchdog was shutting our system down b/c (we think) it was not sensing that we were in control of the talons given we were not commanding them in any way within execute(). We added calls to talon.set(revsToMove) within execute() and that solved the issue.

Many thanks to veteran team 2062 CORE robotics from Waukesha South, WI for helping us work through this and other issues. They have helped us a ton over the last two years and are a shining example of how to demonstrate the values of gracious professionalism and coopertition.
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2017, 16:30
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 558
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: CANTalon w/Encoder DriveStraight Command example

Quote:
Originally Posted by cybersader13 View Post
Want to add a quick note to this. While in our test scenario (with just one talon and one encoder) we were able to have an execute() method that was empty, we saw this leading to problems when we moved to our real drivetrain with 4 talons, 2 encoders. Specifically it behaved like the watchdog was shutting our system down b/c (we think) it was not sensing that we were in control of the talons given we were not commanding them in any way within execute(). We added calls to talon.set(revsToMove) within execute() and that solved the issue.
That is explained in section 16.14 and section 19 of the Talon SRX Software reference manual.
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 22:48.

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