Go to Post It's good to hear I'm not nuts. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 01-08-2018, 04:02 PM
cpapplefamily's Avatar
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 643
cpapplefamily is a name known to allcpapplefamily is a name known to allcpapplefamily is a name known to allcpapplefamily is a name known to allcpapplefamily is a name known to allcpapplefamily is a name known to all
Find new methods for phoenix CTRE Libraries

Instead of complaining about the major changes to the CANTalons how about this. I have THREE (3) methods that I have not figured out how to convert. I have look over the Threads and Porting Guides.

Code:
talon1.configEncoderCodesPerRev(int PPR); // if using FeedbackDevice.QuadEncoder
Code:
talon1.enableBrakeMode(Boolean Enable)
Code:
talon1.setVoltageRampRate(double voltPerSec)
__________________
It makes sense in my mind.


Reply With Quote
  #2   Spotlight this post!  
Unread 01-08-2018, 04:18 PM
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Connecticut
Posts: 977
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: Find new methods for phoenix CTRE Libraries

The brake/coast mode is set by setNeutralMode (or something like that).
__________________
Don't forget your towel!

Reply With Quote
  #3   Spotlight this post!  
Unread 01-08-2018, 04:21 PM
forbes's Avatar
forbes forbes is offline
NYC Googler
AKA: Evan Forbes
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2012
Location: New York City
Posts: 315
forbes has a brilliant futureforbes has a brilliant futureforbes has a brilliant futureforbes has a brilliant futureforbes has a brilliant futureforbes has a brilliant futureforbes has a brilliant futureforbes has a brilliant futureforbes has a brilliant futureforbes has a brilliant futureforbes has a brilliant future
Re: Find new methods for phoenix CTRE Libraries

This page will solve some of your problems (maybe all)

https://github.com/CrossTheRoadElec/...ion%20Guide.md
Reply With Quote
  #4   Spotlight this post!  
Unread 01-08-2018, 04:31 PM
cpapplefamily's Avatar
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 643
cpapplefamily is a name known to allcpapplefamily is a name known to allcpapplefamily is a name known to allcpapplefamily is a name known to allcpapplefamily is a name known to allcpapplefamily is a name known to all
Re: Find new methods for phoenix CTRE Libraries

Quote:
Originally Posted by forbes View Post
This page will solve some of your problems (maybe all)

https://github.com/CrossTheRoadElec/...ion%20Guide.md
How many of these pages exists? It keeps changing each time I visit that page. It didn't have the

Ramping setVoltageRampRate(double voltPerSec) configOpenloopRamp(secondsFromNeutralToFull, timeoutMs), configClosedloopRamp(secondsFromNeutralToFull, timeoutMs) Separate Ramp Rates for Open/Closed Loop. Ramp expressed as seconds to go from neutral throttle to full throttle.

Minutes ago.
__________________
It makes sense in my mind.


Reply With Quote
  #5   Spotlight this post!  
Unread 01-08-2018, 05:26 PM
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 4,214
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Find new methods for phoenix CTRE Libraries

Quote:
Originally Posted by cpapplefamily View Post
How many of these pages exists? It keeps changing each time I visit that page.
...
Minutes ago.
You aren't crazy. They're updating things. The table of contents has a lot of things. The migration guide looks like it has a lot of what we were looking for yesterday. This means good things for Thursday.
__________________
Drive Coach, 1885 (2007-present)

1885: YouTube | CAD Library
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 05:47 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi