|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Problem with negitive numbers
check your PID loop... maybe you inadvertedly got rid of a typecast.
also, are you sure you dont have any longs defined in there? |
|
#2
|
|||
|
|||
|
Re: Problem with negitive numbers
If you suspect overflow in currentOutput, then bump it from int to short long type to see if the symptoms change.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with Lofting | cooker52 | Inventor | 14 | 04-11-2007 15:00 |
| Problem With Footsteps | Popper99 | 3D Animation and Competition | 1 | 04-11-2007 09:34 |
| Problem with RoboEmu2? | Calvin | Programming | 1 | 12-02-2005 11:27 |
| Problem with communicating with STAMP through serial port | Skabana159 | Technical Discussion | 2 | 06-02-2003 21:10 |
| Problem with OI / RC | Jay Lundy | Technical Discussion | 2 | 29-03-2002 23:07 |