Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Unable to generate rosjava_message for mavros_msgs #318

Open
shakthi-prashanth-m opened this issue Mar 28, 2020 · 2 comments
Open

Unable to generate rosjava_message for mavros_msgs #318

shakthi-prashanth-m opened this issue Mar 28, 2020 · 2 comments

Comments

@shakthi-prashanth-m
Copy link

Hi,

I wanted to use mavros_msgs from https://github.com/mavlink/mavros/tree/master/mavros in android_core project, so that I can make use of those messages in service client in android.

I followed http://wiki.ros.org/rosjava/Tutorials/indigo/RosJava%20Message%20Artifacts#Meta_Msg_Pkgs. But I am not able to use mavros_msgs in my android_core project.

dependencies {
  compile "org.ros.rosjava_core:rosjava:[0.3.2,0.4)"
  compile "org.ros.rosjava_messages:diagnostic_msgs:[1.12,1.13)"
  compile "org.ros.rosjava_messages:sensor_msgs:[1.12,1.13)"
  compile 'org.ros.rosjava_messages:mavros_msgs:1.0.0' >>>>>>>>>>> I get error here.
  compile 'org.ros.rosjava_core:rosjava_geometry:[0.3,0.4)'
  compile 'org.ros.rosjava_messages:visualization_msgs:[1.12,1.13)'
  compile "com.android.support:appcompat-v7:28.0.0"
  compile 'com.android.support:support-v4:28.0.0'
}

Can you please help to resolve this issue ?

Thanks.

@shakthi-prashanth-m
Copy link
Author

It would be greatly helpful if you can suggest how to generate ROS Java message for a ROS message: mavros_msgs. For eg: My purpose is to write a ROS Android Java service client and communicate with a MAVROS service which is probably written in C++/Python. Please suggest how to do it.

@kjitender469
Copy link

@shakthi-prashanth-m will you please add a screenshot of error you are facing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants