ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How can I call a native function from an android rosjava node?

asked 2014-06-28 09:01:28 -0500

Arjav gravatar image

Hi! I want to call a native function from my rosjava node which basically does some processing work and returns a variable of type double which is then finally published by the publisher. Can anyone please help me out?

Thanks.

edit retag flag offensive close merge delete

Comments

The android documentation for the native function you're trying to call should probably tell you how to call it from Java.

ahendrix gravatar image ahendrix  ( 2014-06-30 00:29:33 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-02-15 07:33:21 -0500

jubeira gravatar image

@Arjav this is a general Android question, so Android documentation is probably the best place to look for the answer,

Try starting here: https://developer.android.com/ndk/gui... . That should help you to bind a Java method to native code, and also to compile and link the native code into your app.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-06-28 09:01:28 -0500

Seen: 258 times

Last updated: Feb 15 '18