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

Revision history [back]

click to hide/show revision 1
initial version

Hi @PASulz,

You may try calling genjava directly, but I'd recommend you to do the following: - Create a separate package with your message / service definitions as in the tutorial. - Source rosjava_build_tools (from binaries or from source), and build the package with catkin. - Source the resulting develspace with the built artifacts for your custom message / service - From the same terminal, launch Android Studio.

By doing the steps above you should be able to develop your applications with your custom Java artifacts (messages / services).

My question is: Is there a way to include custom services using rosjava in Android Studio without rebuilding rosjava?

Note that you don't need to rebuild the whole rosjava from source, just the package with the custom message / service definitions.

Hope it helps!

Hi @PASulz,

You may try calling genjava directly, but I'd recommend you to do the following: - following:

  • Create a separate package with your message / service definitions as in the tutorial. - tutorial.
  • Source rosjava_build_tools (from binaries or from source), and build the package with catkin. - catkin.
  • Source the resulting develspace with the built artifacts for your custom message / service - service
  • From the same terminal, launch Android Studio.

By doing the steps above you should be able to develop your applications with your custom Java artifacts (messages / services).

My question is: Is there a way to include custom services using rosjava in Android Studio without rebuilding rosjava?

Note that you don't need to rebuild the whole rosjava from source, just the package with the custom message / service definitions.

Hope it helps!