Skip to content
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

Compiler errors with CodeGenerator #81

Open
petercorke opened this issue Jun 13, 2020 · 0 comments
Open

Compiler errors with CodeGenerator #81

petercorke opened this issue Jun 13, 2020 · 0 comments
Labels

Comments

@petercorke
Copy link
Owner

Compiling CodeGenerator code leads to lots of incompatible pointer issues. These are turned off for the moment by setting -Wno-incompatible-pointer-types

mexFunction like accel.c, accepts a double* but passes it to a double [][3] or double [][6] in the generated functions ROBOT_accel.c, ROBOT_coriolis.c, ROBOT_friction.c, ROBOT_gravload.c, ROBOT_inertia.c.

The utility functions in gaussjordan.c and matvecprod.c in turn accept double * arguments.

Need to either use more explicit casts or rejig all the code to be consistent in pointer notation.

@petercorke petercorke added the bug label Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant