Skip to content

ROSJAVA DEPENDENCIES #34

@paulaperezpalacios

Description

@paulaperezpalacios

Hello everybody!

I have ROS Noetic in my VM, and the android studio, gradle 7 and all the stuff needed, but I am having this PROBLEM WITH DEPENDENCIES:

When I specify in my gradle the next lines:

repositories {
google()
mavenCentral()
maven { url "https://repository.ros.org/content/repositories/releases/" }
}

that are necessary for the dependencies I need, which are:
//ROS DEPENDENCIES
implementation "org.ros.rosjava_core:rosjava:0.3.6"
implementation "org.ros.rosjava_messages:std_msgs:0.5.11"
implementation "org.ros.android_core:android_core_components:0.4.0"

It fails because the website https://repository.ros.org/content/repositories/releases/ does not work, or at least for me, I dont know if anybody has the same problem.
The only solution I have thought is downloading the .jar from mvnrepository.com, but for each .jar I also have to check the .pom and download the .jar in the .pom, because of the transitive dependencies. So I am kind of stucked in a loop, going from the .jar to the .pom, and from each .jar in that .pom to its .jar, and It is being hard.

DOES ANYBODY KNOW WHY THE URL IS NOT WORKING OR WHICH OTHER COULD I USE WITH MAVEN FOR ROSJAVA?

For the moment I am downloading this, and if I do not finally find any other alternative, I will collect all the .jar on a zip and upload it to a git repository or in a local maven, I dont know if someday have already done this before.

I am relatively new using android studio and especially combining it with ROS, so I am sorry if some of the things I am writing about sounds stupid.
I am working on my final degree project, and I need to develop an app which acts as a ROS node publishing data in a topic, so I can check the data in my pc subscribing in this ROS topic. I am in a hurry.
I first tried with ROS2 but it was impossible, so I am working for the moment with ROS.

Thanks in advanced.
Wish you the best.

Kind Regards, Paula.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions