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

denis's profile - activity

2016-10-17 06:04:56 -0500 received badge  Notable Question (source)
2016-10-17 06:04:56 -0500 received badge  Popular Question (source)
2016-07-31 21:00:26 -0500 received badge  Famous Question (source)
2016-04-25 10:47:31 -0500 received badge  Popular Question (source)
2016-04-25 10:47:31 -0500 received badge  Famous Question (source)
2016-04-25 10:47:31 -0500 received badge  Notable Question (source)
2016-01-11 09:26:39 -0500 commented answer How can I create a service on rosjava?

Hi, I've succesfully created a service (using your suggestion). I'm trying to use this package on the rosjava_tutorial_services package, but the compiler says that the custom_msg package doesn't exist. Do you have some suggestion on how to build the project in a correct way?

2016-01-11 04:26:12 -0500 commented answer Using custom messages in ROSAndroid

Hi, I've succesfully created my custom_msg with the msg and srv subfolder. I'm trying to use this package on the rosjava_tutorial_services, but the compiler says that the custom_msg package doesn't exist. Do you have some suggestion on how to build the project in a correct way?

2016-01-07 05:14:48 -0500 asked a question Error creating a custom message in rosjava

Hello

I'm doing some experiments using the rosjava package downloaded by the repository. I want to create a custom service, so I created a new folder called my_service_msgs, the msg and srv subfolders and the CMakeLists.txt and package.xml files. I included also my new package inside the rosjava_messages folder (I added a line inside the CMakeLists.txt and package.xml). When I run catkin_make everything works fine and the jar file is created. But when I try to add a new service in a generic java project (the java project is inside the rosjava package, for my experiment I'm using the rosjava_tutorial_services package) I receive this error: package error: package my_service_msgs does not exist.

Can you suggest me a correct way to create service inside a rosjava environment?

I'm using rosjava indigo version.

Thank you

2016-01-07 04:12:36 -0500 received badge  Notable Question (source)
2015-12-04 09:27:42 -0500 commented question rosjava_tutorial_services on android

The problem was the ROS_IP variable of the Client, it was set to localhost. But the client device has 10.0.2.2 as localhost (android emulator). So when I tried to contact the server, the connection failed because the system saw two different networks, although I used the same PC.

2015-12-03 11:25:11 -0500 commented question rosjava_tutorial_services on android

The ROS_MASTER_URI on the client device was correct? The problem was ROS_MASTER_URI on the server, it was set to localhost. I corrected this error and now the application works correctly. Thanks a lot for your help!!

2015-12-03 02:42:22 -0500 received badge  Enthusiast
2015-12-02 11:17:09 -0500 received badge  Popular Question (source)
2015-12-02 09:52:52 -0500 commented question rosjava_tutorial_services on android

I tried to run the client application on a real android embedded device, but i received the same error (Connection refused). I connected the Client with the Master using a wifi connection, and it works. But after that the client tries to connect with the localhost and not the real server address.

2015-12-01 08:54:53 -0500 commented question rosjava_tutorial_services on android

If I run rosnode list from my desktop, I see all three nodes (client, server, master), everything works fine between the client try to connect the server. If I use the node rosnode info .. i see all the nodes. But i cannot connect to client (because i cannot connect with the android device).

2015-12-01 07:26:41 -0500 commented question rosjava_tutorial_services on android

I cannot call these commands from the android device, but the connection between client and master is ok, I'm sure. If the connection between client and master fails the app stops the execution.

2015-12-01 04:26:10 -0500 commented question rosjava_tutorial_services on android

Master and server running on PC. Also the client, but using an emulator. Initially i start to run the master and the server. After this I start to run the client, then the client connects to the master using localhost(it works fine). The connection with server failed instead (also using localhost).

2015-12-01 03:14:43 -0500 commented question rosjava_tutorial_services on android

Thanks a lot for the answer, but I'm not sure that is a network problem. If it was a network configuration problem, the app should not even connect with rosmaster. Instead the app connects to rosmaster normally.

2015-11-30 12:26:27 -0500 asked a question rosjava_tutorial_services on android

Hello.

I am trying to create a ROS client server application in android. I'm using the rosjava_tutorial_services. If i create both server and client on the android emulator everything works fine. But if i create the client on the android emulator and the server on the pc, the client can not connect to the server (connection refused on address 127.0.0.1:(generic port)). I also tried to change the file hosts of the emulator (localhost from 127.0.0.1 to 10.0.2.2) but i received the same error.

Anyone know how to connect the client to the server? What IP address should i use?

2015-11-02 05:24:03 -0500 asked a question Building RosJava Libraries error

I'm trying to follow this tutorial Building RosJava Libraries but i found this error when i run the "catkin_make" command:

"Task 'installApp' not found in root project"

I run "gradlew task" and i found the task "install" so I should not have errors.

Every previous tutorial (install rosjava and creating a rosjava packages) were completed without errors

Could someone give me some suggestion to find and solve this problem?

Thanks