[ECOS] 1ms timer ecos

Jon Ringle jringle@vertical.com
Fri Nov 3 14:05:00 GMT 2006


Sinan KAYA wrote:
> hello,
> i'm trying to change time resolution of ecos from 10ms to 1ms. I have
> seen many posts on the topics and followed the instructions.
>  
> I changed the demoniter value from 100 to 1000 and when i run the system
> i get an assertion failure on line 624
>  
>  
>
>   624     CYG_ASSERT( rounding || save_lower/save_upper == (d1 * d2)/(m1
> * m2),    "Unequal in reverse direction" );
>  
>  
> (gdb) p d1
> $2 = 2000000
>  
> (gdb) p d2
> $3 = 1
>  
> (gdb) p m1
> $4 = 1
>  
> (gdb) p m2
> $5 = 1
>  
> (gdb) p save_lower 
> $6 = 1000000000
>  
> (gdb) p save_upper 
> $7 = 500
>  
> the values seems to be alright for me 
>  
> any ideas ?
>   
What's the value of rounding?

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list