Skip to main content

Questions tagged [java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
25 views

mqtt.esm.js 1738:123 error

I am getting an error -> js: ./node_modules/mqtt/dist/mqtt.esm.js 1738:123 Module parse failed: Identifier directly after number (1738:123) You may need an appropriate loader to handle this file ...
Rohan Banerjee's user avatar
0 votes
2 answers
15 views

Would ROS developers prefer a Java or Python application on the command line?

I am writing code for a command-line application for testing ROS packages automatically. My current plan is to code it in Java (due to its potential, future deployment on the web). I doubt if ROS ...
user avatar
0 votes
1 answer
5 views

ROS Services working with ROSJava on Android

I have written an Android app. to control a squad of robots using ROSJava. I can create nodes, publish and subscribe to ROS topics, but I am having difficulty in connecting to ROS Services. I have ...
user avatar
0 votes
1 answer
2 views

Scripts don't see ROS if executed by ProcessBuilder()

I want to execute a script with a ProcessBuilder(). My code is: ...
user avatar
0 votes
1 answer
4 views

Implement custom message in Android Studio

Hello, at the moment I am developing an Android application that publishes data into a ROS environment. For this, I use rosandroid-core which is included with Maven from the following repository: ...
user avatar
0 votes
1 answer
1 view

rosjava for javafx no maven (Kinetic)

Hi, I am working on a research project and have been tasked with creating a gui app in java/javafx that will connect to the lab robot (ros master) over the network. We want to be able to have a ...
user avatar
0 votes
1 answer
2 views

What is the status of the rosjava client library?

What is the usability of rosjava? It seems to still be in development and has been updated to kinetic, but much of the documentation and discussion around it seems to be a couple of years old. Would ...
user avatar
0 votes
1 answer
4 views

Communicate between Android and ROS threads

Hello, I have a simple Java class that launch a thread containing a ROS node ...
user avatar
0 votes
1 answer
1 view

Does ROS Tango work?

It's been a couple years and I have come back to see if ROS Tango works. Unfortunately, the tutorials fail miserably, requiring old versions of everything from Android Studio 0.6 to unsupported ...
user avatar
0 votes
1 answer
2 views

roscore using Java swing

Hello, I wanna run roscore from my java swing class and i keep getting this error: ...
user avatar
0 votes
1 answer
4 views

Java swing with ROS

Hello, I wan't to ask if there is anyway to connect Java swing with ROS? For example, When I click on a button, a launch command should be fired. I used the following code and it works: ...
user avatar
0 votes
1 answer
2 views

Sleeping thread after publishing a message into a topic

Hi, I've been using rosbridge and jroslib as an API to it. Testing the jroslib with the turtlesim, to publish messages I'm finding some errors. I have to use Thread.sleep(500) to the thread sleep so ...
user avatar
0 votes
1 answer
8 views

Java-based desktop application to control ROS

Hello, I need to program GUI for controlling ROS as java-based desktop application I know that I may need to use rosjava, but I didn't find any tutorial that demonstrate how to use it. Can someone ...
user avatar
0 votes
1 answer
1 view

Android pubsub Listener custom message

Hello, can anybody tell me how to import a custom message into a java Listener for my Android Project? I modified the Listeners and Talkers in rosjava_core tutorial_pubsub and did ./gradlew install to ...
user avatar
0 votes
2 answers
1 view

Would Java be a good option to use as a programming language for ROS?

I am not well versed with C++ so would using RosJava would be a better option? Originally posted by ish45 on ROS Answers with karma: 151 on 2014-08-15 Post score: 0
user avatar
0 votes
1 answer
3 views

Android + ROS + QR

Hi, I just started with ROS and I want to make an android app that reads a QR code to decide which information it should send. After deciding which information it should send, a node should receive it ...
user avatar
0 votes
2 answers
2 views

Third-party ros messages

Hello, Is it possible to write a standalone C++ or Java program that can prompt you for a text for example and then send it as a ROS message which will be received by a listening ros node? By ...
user avatar
0 votes
1 answer
4 views

Service call from Android to cpp service

I followed this tutorial /ROS/Tutorials/CreatingMsgAndSrv and want to call the server from Android now, but can't find any hints how to accomplish this step by step. My main problem is (i think) that ...
user avatar
0 votes
1 answer
3 views

RosJava +android?

i'm developing an App to control a robot running with Ros , to etablish the connection with my robot i'm using and WifiP2Pmanager packages. the problem is i can't figure out how to interact with th ...
user avatar
0 votes
1 answer
1 view

trying to publish from rospy and subscribe with rosjava

Hi, I am trying to publish a message from rospy to a subscriber in rosjava. I am using ros hydro. I copy pasted the subscriber code from the tutorials into my rosjava folder and built it with ...
user avatar
0 votes
1 answer
4 views

android tutorial pubsub does't subscribe from a pc node

Hi i'm writing an Android app which must publish in a topic and subscriber from an another topic. The app which publish works fine (the listener node receive the correct string), while the app which ...
user avatar
0 votes
1 answer
1 view

rosjava operating system

Hi all, is rosjava for android only ? Or can I use rosjava platform independant with any JavaVM ? e.g. RaspberryPi / OSX / Linux / QNX Background: I'd like to run nodes for IO-Sensors at small embeded ...
user avatar
0 votes
1 answer
1 view

Does rosjava have explicit support for hot class reloading?

I want to have dynamic dependencies in rosjava, but it is not working. rosjava can have jar-files as dependencies, but what if a jar-file gets recompiled while my rosjava node is still running? Does ...
user avatar
0 votes
1 answer
1 view

rosjava_core in Fuerte

I try to install rosjava_core in Fuerte. I did: rosws set --git rosjava_core 'https://github.com/rosjava/rosjava_core.git' rosws update But there seems no ...
user avatar
0 votes
1 answer
2 views

UDPROS Protocol and Lost Packet/Sequencing Algorithms

Dear ROS Community, My recent adventure into development of a Java based UDPROS protocol left me with some unanswered questions that will be beneficial for the ROS Community to discuss, and create a ...
user avatar
0 votes
1 answer
110 views

TCPROS message of over gigabyte error, byte array attached for analysis

Hi ROSAnswers Friends, I have been developing my own Java based ROS Client, and I am receiving the following error: [ERROR] [1365734492.147908029, 3.512000000]: a header of over a gigabyte was ...
user avatar
0 votes
1 answer
6 views

rosjava Gradle build: Could not copy MANIFEST.MF

When I try to build rosjava, I am running into this very strange error: :rosjava_messages:jar FAILURE: Build failed with an exception. What went wrong: Could not copy MANIFEST.MF to '/Users/Yeison/...
user avatar
0 votes
1 answer
1 view

Build Issue: Execution failed for task ':rosjava_messages:generateSources'

While trying to perform the java installation listed here: http://docs.rosjava.googlecode.com/hg/rosjava_core/html/building.html I ran into the following issue: :rosjava_messages:generateSources ...
user avatar
0 votes
1 answer
1 view

Error registering rosandroid client

Hello everyone, i'm trying to create a rosjava client to connect to a c++ service, but when the client is being registered the following warning is showed. ...
user avatar
0 votes
1 answer
10 views

Moving Nao Robot - enable and disable stiffness

Solution found - although do not know how to enable and disable enslave properly Issue: Using Rviz, without connecting to the actual real Robot, I can run a simulation of the Nao and I can move the ...
user avatar
0 votes
1 answer
1 view

Tutorial pubsub is compiling but not running

Hi I am trying to run the pubsub tutorial using gradle. The program compiles fine but when I try to run the listener program using the command; $ ./build/install/rosjava_wiki_tutorial_pubsub/bin/...
user avatar
0 votes
2 answers
2 views

java error in "rosmake roboearth"

Hi guys! I'm on a problem trying to compile roboearth package. I've follow the instruction posted on http://www.ros.org/wiki/roboearth, using rosinstall to download the package. When i try to compile ...
user avatar
0 votes
1 answer
10 views

Sending simple text commands to a ROS node from an external program written in Java

I've never used ROS before and therefore probably don't know the correct terminology for what I'm asking; I therefore apologise in advance if this has already been answered and I didn't know how to ...
user avatar
0 votes
1 answer
2 views

java - what happened to the serialize method on RawMessage

serialize() method is in java doc but missing in the implementation Originally posted by antoine on ROS Answers with karma: 26 on 2012-11-26 Post score: 0
user avatar
0 votes
2 answers
1 view

Build error with android_core

I am trying to install rosjava and android_core for an Android project that must get data from ROS and send service calls. The rosjava_core installation worked (eventually, there were other problems ...
user avatar
0 votes
1 answer
1 view

pi_face_tracker in rosjava

I'm now trying to do item selection in rosjava. But I have problem on it. For the node pi_face_tracker, we need to get image form it, the msg type is image, but what we have form the camera is ...
user avatar
0 votes
1 answer
3 views

Connect to master URI and launch ROSJava nodes

I asked a similar question before, but I don't think I was clear enough as no one had a response. I've dug around a ton in the javadocs to figure out how to launch the master URI and register ROS ...
user avatar
0 votes
1 answer
5 views

Protobuf dependency in ROS Fuerte/MacOSX

I am trying to compile my ROS node. This node compiles perfectly fine in Unix (running ROS Electric). Now, I am trying to compile it in Mac (running ROS Fuerte). The node depends on Google Protobuf,...
user avatar
0 votes
1 answer
1 view

write a programm to get asctec data

Hello, i have successfully installed the ros asctec drivers. And they are working correctly. Now I want to write a litle java program and for this program I need the flight data, for example angel yaw....
user avatar
0 votes
1 answer
1 view

rosjava compilation error when use rosmake

Hi developers, I have a problem when I try to execute the compilation of the sourcode from rosjava package. It has not correct reference for libraries from org.ros.message.std_msg & org.ros....
user avatar
0 votes
1 answer
2 views

Access ROS command-line tools via Java

Hi, I am trying to write a tool for ROS which allows the user to combine Eclipse with PyDev. Therefore, I want to create an eclipse plugin. I am trying for quite some time to access the commandline ...
user avatar