You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.
Hi, I'm new to ROSJava and I want to use ROSJava without ROS Installation to make a server and client just like in the rosjava tutorial, but it seems there's no message_runtime artificate in repository. Does it work still? Does anyone have experience of converting gradle project into maven? Since ROSJava uses gradle but I have to use Rosjava with maven.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Yes, you can import rosjava dependencies into your Maven POM and it should work just fine. Try something like this (add rosjava_mvn_repo to your repository list where it corresponds before):
This should include the dependencies you need to start with without any ROS installation, as everything comes from Maven. Note that you will only be able to use the messages that are already defined in rosjava_mvn_repo; you will need a workaround if you need custom messages (such as creating a fork, or generating the messages and including them locally).
Thanks a lot! I want to repeat the pub-sub-tutorial in rosjava.
I see in build.gradle there is
apply plugin: 'application'
mainClassName = 'org.ros.RosRun
which adds a mainClass to java software and has a pre-configured task of this type named "startScripts", which creates start scripts for launching JVM applications.
In the tutorial when we accomplish all the compile and install tasks, we can call the Listener and Talker node, but how can I create java executable to start Listener node and Talker node with Maven? They are two node who share the same mainClass, how should I configure it to load the mainClass seperately with two these two sources? Where is org.ros.RosRun Class?
I really appreciate your help
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I'm new to ROSJava and I want to use ROSJava without ROS Installation to make a server and client just like in the rosjava tutorial, but it seems there's no message_runtime artificate in repository. Does it work still? Does anyone have experience of converting gradle project into maven? Since ROSJava uses gradle but I have to use Rosjava with maven.
Thanks in advance!
The text was updated successfully, but these errors were encountered: