paperstiger

paperstiger ·

krishauser/Klampt

Calculation of impact between object and robot?

This type of thing happens usually when the PID controller is going unstable, or when the object is already penetrating through the robot upon simulator initialization.

Can you attach the code, robot file, and object file that generates this error?

You m...

krishauser/Klampt

idle and control_loop function in Simulation

Quote from Kris' reply

idle() is called whenever your program is idle, and will handle simulation + GUI redrawing. control_loop() is just a convenient place to put control code, specifically (for example, if you want to switch your code to do comma...

krishauser/Klampt

idle and control_loop function in Simulation

In GLRealtimeProgram class, there is a function named idle and control_loop. However, idle is called at 50 Hz but control_loop is never called. Controller has higher rate than 50 Hz, how to set controller at higher rate?