pantor / ruckig

Motion Generation for Robots and Machines. Real-time. Jerk-constrained. Time-optimal.
https://ruckig.com
MIT License
728 stars 164 forks source link

[Compile Error]: ‘af_scale’ may be used uninitialized in this function [-Werror=maybe-uninitialized] #135

Closed MingshanHe closed 2 years ago

MingshanHe commented 2 years ago

Dear,

I have a compile error during make process.

The terminal information has been followed as: image

I have tried to delete the af_scale variable and the project has been compiled successfully. But this variable is the same as the others, like v0_scale, a0_scale, vf_scale. So I open this issue to get your help.

Best regards, Mingshan

pantor commented 2 years ago

This is a compiler warning that is treated as an error due to the used -Werror compiler flag. The recent commit on the master branch removes that flag, so you should be able to compile Ruckig without error now. I'll keep this issue open until I fix the underlying warning. Thanks!

pantor commented 2 years ago

The warning is now fixed on master.