|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: cRIO - motor controller code (esp. victor)
I was testing with servos controlled by a Victor class and noticed that I wasn't getting full range on the output. That got me digging through the source of the library (an excellent reason for open source code) and noticed the output limits based on empirical data as well.
Quote:
Alan, you mentioned setting the factory defaults for the Victor. What's the procedure for that for teams that don't want to mess with SetBounds()? |
|
#2
|
|||
|
|||
|
Re: cRIO - motor controller code (esp. victor)
Seams the victor manual is not on the IFI website any more. Maybe someone could post excerpts from the manual. As far as servo's, The Jag VI's allow pulses less than 1 ms and grater than 2ms. This would allow a team to use the full mechanical range of hobby servo's. Care must be taken not to stress the servos against the mechanical stops. Good way to make a servo eat it's self. This can be useful when using hobby servo's to control a pan-tilt assemble for the camera or Sharp IR range sensors.
|
|
#3
|
||||
|
||||
|
Re: cRIO - motor controller code (esp. victor)
I was just looking at the specs and manual (found via google search at
http://www.ifirobotics.com/victor-88...r-robots.shtml and http://www.ifirobotics.com/docs/ifi-...al-9-25-06.pdf) The spec sheet states that the dead band is centered around 127. The manual describes the calibration process. I would expect the defaults in the code to match the specs, not some empirical test (with out a lot of explanation as to why the specs are wrong and must be overridden by default). |
|
#4
|
|||||
|
|||||
|
Re: cRIO - motor controller code (esp. victor)
Quote:
In this post on the IFI forum, you can see them list neutral as 1260139 which puts the deadband center between 131 and 132. |
|
#5
|
|||||
|
|||||
|
Re: cRIO - motor controller code (esp. victor)
Quote:
Quote:
Quote:
Remove power from the Victor. Press and hold the Victor's CAL button. Apply power. Wait for the Victor's LED to blink green. Release the Victor's CAL button. All done. |
|
#6
|
||||
|
||||
|
Re: cRIO - motor controller code (esp. victor)
Quote:
I have quickly learned that the new system is not the old system. Things that used to work, no longer do. For example, we used to set all motor output to neutral at the start of every loop for safety, then only set the motors that needed setting. With the new system, as soon as a Set is called, the output is set (which makes sense). When we initially tested, we were getting choppy response. It took a little bit to figure out what was going on, but it's a learning process. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Motor to Victor | jumpe1990 | Motors | 11 | 20-02-2008 09:34 |
| Window Motor on a Victor? | DavidGitz | Kit & Additional Hardware | 1 | 13-01-2007 09:42 |
| Non-Victor Speed Controller | FourPenguins | Electrical | 6 | 31-10-2006 15:46 |
| What Victor for VEX Controller? | Chris_Elston | Electrical | 5 | 25-04-2006 21:00 |
| Victor controller problem | llambele | Technical Discussion | 3 | 14-11-2001 23:00 |