Go to Post Don't forget Morgan Freeman will be at champs. Maybe he and Will are gonna freestyle it! - Nuttyman54 [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 19-01-2017, 17:23
granjef3's Avatar
granjef3 granjef3 is offline
Code Ninja
AKA: Matt
FRC #2383 (Ninjineers)
Team Role: Programmer
 
Join Date: Sep 2015
Rookie Year: 2016
Location: Florida
Posts: 10
granjef3 is an unknown quantity at this point
Question New CANTalon MotionMagic control mode documentation?

At worlds in 2016, the CTRE booth had a demo utilizing a new control mode called "Motion Magic" on the Talon SRX to control a robotic arm.

Some functions relating to this control mode are present within the docs for the 2017 CTRE FRC library docs, however details as to the exact function of this new control mode are absent from the Talon SRX Software Reference Manual.

Is the new Motion Magic mode present in the 2017 v2.20 Talon SRX firmware, and is there any documentation on how it works, the algorithm it uses, etc?
__________________

2016 Galileo Division Semifinalists with 341 Miss Daisy, 3683 Team Dave, and 4525 Renaissance Robotics

Thanks to all of our past alliance members!

Last edited by granjef3 : 19-01-2017 at 21:20.
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2017, 13:34
abcurrie abcurrie is offline
Registered User
FRC #2619
 
Join Date: Mar 2009
Location: Midlandm MI
Posts: 1
abcurrie is an unknown quantity at this point
Re: CANTalon MotionMagic control mode

I just asked CTRE the same question and I am posting the response here for others:

"
There's a new manual version going out soon, but I can give you the basic information in the meantime.

Motion Magic is a new control mode for Talon SRX that provides the benefits of Motion Profiling without needing to generate the profile data. You use the MotionMagic control paramter when setting the Talon Control Mode.

The first step for Motion Magic is setting up your position PIDF values as normal (see the Soft. Ref. Manual). You then use two additional calls (setMotionMagicAcceleration(double) and setMotionMagicCruiseVelocity(double)) to set the desired acceleration and cruise velocity parameters.

Once this has been done, you can use set() calls as normal to set the position that Talon will move to, and the motion will follow a trapezoidal motion profile (as described in the motion profiling documentation).

That's it! It gives you flexibility to have all movements follow a trapezoidal motion profile without actually generating the profile points.

Let me know if you have any additional questions.

Regards,

Jacob Caporuscio
Software/Hardware Engineer
CTR Electronics
"
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 11:43.

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