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

Error when running cppbuild.bash file #770

Closed
EAOZONE opened this issue Jul 11, 2024 · 2 comments
Closed

Error when running cppbuild.bash file #770

EAOZONE opened this issue Jul 11, 2024 · 2 comments

Comments

@EAOZONE
Copy link

EAOZONE commented Jul 11, 2024

When running a cppbuild.bash for our java wrapped repo we get this error error: no matching function for call to ‘franka::Robot::control(JavaCPP_us_ihmc_libfranka_libfrankaConfig_00024ControlCallback&, bool, jdouble&)’ We believe it has something to do with our definition of our class
'public static class ControlCallback extends FunctionPointer {
static { Loader.load(); }
public ControlCallback(Pointer p) { super(p); }
protected ControlCallback() { allocate(); }
private native void allocate();
public native Torques call(@ByRef @const RobotState robotState, Duration duration);}' is there anything particuarly wrong that is obvious? We are wrapping libfranka(https://github.com/frankaemika/libfranka/tree/0.9.2) and are having trouble with the callbacks

@saudet
Copy link
Member

saudet commented Jul 12, 2024

Please try to use the Parser to see how it maps it

@saudet
Copy link
Member

saudet commented Jul 13, 2024

Duplicate of #771

@saudet saudet marked this as a duplicate of #771 Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants