[ODE] Hinge2 lo-hi limits

Jon Watte (ODE) hplus-ode at mindcontrol.org
Tue May 1 09:37:00 MST 2007


Didn't we decide to fix this, and remove the "consistency" checks. When 
someone sets an inconsistent limit, just change the other limit, too.

Cheers,

          / h+


Szabo Gabor wrote:
> Hi,
>
> Set the both limits twice and you got the result. It is because the 
> limits have to be consistent all the time, so a higher limit mustn't 
> be lower than the lower limit and vice versa. You can solve this 
> problem also by checking the direction of change of the limits and 
> choose the corresponding order of limit function calls.
>
> Descending limits: 1. set lower, 2. then set upper
> Ascending limits: 1. set upper, 2. then set lower stop param.
>
> Bye,
>
>   Gabor
>
> LR wrote:
>> Hi,
>>  
>> I've a problem with the hinge 2 vertical axis limits. It seems that 
>> when lo=-177° , hi=177° it works fine but when lo=-178°, hi=178, 
>> limits are disabled.
>> First i saw that because lo=-180, hi=180 disabled limits. (of courses 
>> angles are in radians!!)
>>  
>> Does someone know that or i miss something ?
>>  
>> Thank you for your help
>>  
>> LR
> ------------------------------------------------------------------------
>
> _______________________________________________
> ODE mailing list
> ODE at ode.org
> http://ode.org/mailman/listinfo/ode


More information about the ODE mailing list