pantor / ruckig

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

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

Closed MingshanHe closed 1 year ago

MingshanHe commented 1 year 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 1 year 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 1 year ago

The warning is now fixed on master.