Thread: Current Control
View Single Post
  #2   Spotlight this post!  
Unread 12-06-2010, 10:52
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Current Control

I got it working in C++ when we were testing CAN out. What I found is you need to setup PID for it to work and your target current must be MUCH higher than what you actually want (I had to say 40 to get out a reasonable speed when under voltage control). Experiment in BDC-COMM and then transfer over constants that work to your robot code
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote