Thread: CAN for dummies
View Single Post
  #10   Spotlight this post!  
Unread 21-07-2011, 12:13
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: CAN for dummies


Quote:
Originally Posted by daniel_dsouza View Post
Um...Do you mean this? In Auto. mode, we want to give our robot instructions like move forward 5 feet, then turn 60 degrees, and so on. We want to implement this by telling the jags to keep turning until they have reached that the total.
In teleop, we will have our robot controled by one joystick, and the encoders will be used to make sure that the ratio of the input values (left, right) is the same as the output (left, right).
Sounds like you want position control for autonomous, and speed control for TeleOp.

In case you decide to do the PID in cRIO instead of Jag, be aware that there's a bug in the cRIO's FPGA code that counts encoder pulses.



Last edited by Ether : 21-07-2011 at 12:16.
Reply With Quote