Closed CesMak closed 1 year ago
Hi CesMak,
can you give me some more information on the OS, compiler, and CPU?
First, the calculation seems to be very slow. Are you running on embedded hardware? Are you compiling with optimization on?
Second, when measuring the variance in the range of microseconds, please make sure that the OS is not interrupting the benchmark. Are you running on a real-time OS and prioritized the benchmark correctly?
From looking at the code, you're doing everything the right way, and Ruckig already has a fast-pass for specific cases such as zero start and target velocity.
In case it's still relevant, feel free to reopen the issue.
Hey there, I just checked variances regarding calculation time using the cpp implemenation. Here is what I get for calculating a simple 1DoF trajectory: Calculation mean 31.7 [us]. max: 517 [us] min: 7.1 [us]
1) Is there anything I am doing wrong? 2) Is there a speed-up algorithm available if you have very simple requirements (1Dof, 0 start, 0 end acc and vel?)
Code: