-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
th_* variables undeclared, "argument" variable multi-assigned in generated cpp code #24
Comments
The generated cpp code does things like this: Assigning "argument" variable multiple times in a row without using it:
And the above assignments make use of th_1, th_2, th_3 and others, which are never declared or assigned. |
Thanks for these. C++ output is the least tested part of IKBT. We certainly released before the code gen could "just run". I suspect that the issue you identify with th_x will require the solution graph refactor that I'm pushing on now. |
It sounds like you're already working on it a ton. Do you want me to continue posting issues as I find them? OR just wait for the next release? |
Yes - pls post any issues you find. Probably all C++ output issues should stay in this one (#24). THX |
Generated cpp code appears to assign results of multiple solutions to the same "argument" variable, and uses undeclared th_1, th_2, th_3 (etc) variables in solution calculations. The code won't compile, and is unusable.
The generated python code doesn't appear to have these issues.
My robot definition:
The text was updated successfully, but these errors were encountered: