|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
||||
|
||||
|
Re: Problem using encoders on Jaguar
Sure would be nice to know how you got rid of the -52007 errors. I believe that error is causing the robot to trip the watchdog.
We aren't doing anything with PID at this point. Just using the simple drive system. We can see the Jaguars responding, but they periodically flash off when the watchdog is hit. Glad you got things working. |
|
#17
|
||||
|
||||
|
Re: Problem using encoders on Jaguar
Our PID values we are using are the same we are using on BDC-COM,
It is highlighted in the image we posted earlier. We do a get on our PID values from the device to check that it is the same, and it is... It is very frustrating :< Last edited by Mr-Shutter : 15-02-2010 at 09:15. |
|
#18
|
||||
|
||||
|
Re: Problem using encoders on Jaguar
Hi Guys,
Could you post your code to set up the jags to run in speed mode? Are you using a shaft encoder? If so, could you also post the set up sequence you're using to set and read the encoder position? I'd like to add it to my Jaguar how-to document. TIA, Mike |
|
#19
|
|||||
|
|||||
|
Re: Problem using encoders on Jaguar
Here is a pic of our 4 motor drive setup. What we did was modify the FirstForge 4 motor setup vi to set it up for speed control instead. To do this we had to set the encoder rate, set the pid values, and enable it to allow the jaguars to have control. Then all we did was calculate the direction and magnitude and used the holonomic vi FirstForge provided. W actually never read the encoder rates while they are running and never set encoders up to use, the jaguars do all of this for us. What we did realize is that once you put the jaguars in speed mode you now send the jaguars the rate you want the motors spinning in rotations per second, unlike what the bd-comm application does.
|
|
#20
|
|||||
|
|||||
|
Re: Problem using encoders on Jaguar
It would help if I attached the pic >.<
|
|
#21
|
||||
|
||||
|
Re: Problem using encoders on Jaguar
Hmm, It appears that there is an Over flow on the accumulator for the PID loop
I think the Labview code encodes the Double wrong when it sends it as a u32 Int. I am going to try sending it bytes i captured from bdc-com and see what happens :3 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Encoders | svenw | C/C++ | 2 | 14-01-2010 16:43 |
| Benchmark Test Jaguar Problem | xxsumz | Motors | 3 | 13-02-2009 21:48 |
| Jaguar Problem | Sauce | Electrical | 7 | 10-01-2009 14:28 |
| Jaguar Motor Controller Problem | prashil27 | Electrical | 5 | 07-01-2009 21:21 |
| Autonomous using encoders | Mr.G | Programming | 11 | 17-01-2006 03:34 |