ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

PerceptualRobots's profile - activity

2019-08-02 08:26:40 -0600 received badge  Notable Question (source)
2019-08-02 08:26:40 -0600 received badge  Popular Question (source)
2019-01-18 05:12:17 -0600 commented question Rosjava log4j error

No, not that I recall.

2019-01-18 05:02:53 -0600 received badge  Notable Question (source)
2019-01-18 05:00:53 -0600 received badge  Popular Question (source)
2018-12-12 04:48:21 -0600 received badge  Famous Question (source)
2017-11-16 12:41:46 -0600 received badge  Notable Question (source)
2017-09-01 07:02:39 -0600 received badge  Popular Question (source)
2017-07-09 06:57:32 -0600 asked a question Rosjava log4j error

Rosjava log4j error After not having used my rosjava nodes for a year or so I am now getting this error when I run a nod

2017-02-20 10:09:59 -0600 received badge  Notable Question (source)
2016-08-08 12:18:58 -0600 received badge  Popular Question (source)
2016-07-16 14:53:54 -0600 received badge  Popular Question (source)
2016-06-04 07:36:46 -0600 asked a question How to set publisher queue size in rosjava

In the rosjava API there is no option to set the size of the message queue on a publisher.

How can this be done?

Regards, Rupert

2016-06-03 07:47:38 -0600 received badge  Student (source)
2016-06-03 06:52:09 -0600 asked a question cv_bridge with rosjava

I am somewhat confused how I can use cv_bridge with a rosjava node.

I see that there is code around to convert a ros image (sensor_msgs.Image) to an OpenCV image,

CvImage cvImage = CvImage.toCvCopy(message);

but I get errors for this and the import,

import cv_bridge.CvImage;

I have tried to add this dependency in package.xml


But it doesn't help.

Is there something I need in the build.gradle file?

This is on Ubuntu 14.04, Netbeans *.1 with gradle.

2016-04-01 14:05:27 -0600 asked a question How to handle node shutdown in java code?

I am trying to work out how to gracefully shutdown my node, without ctrl C. I assume that "rosnode kill" should close down the node, but it doesn't. I have the code below in my node but it is never called. Though when I run "rosnode kill" I do see in the log this "Shutdown requested by /rosnode with message "user request"".

So how should shutdown be handled in the code?

public class PCTControl extends AbstractNodeMain {
public void onShutdown(Node node) {
    final Log log = node.getLog();"onShutdown called.");
2016-03-31 09:15:30 -0600 asked a question could not resolve baxter java messages

I am getting a compile error when trying to use a dependency on baxter mesages. Any idea on what I am missing?

I have run this

genjava_message_artifacts --verbose -p baxter_core_msgs

so have this


and in build.gradle have included the dependency,

dependencies { compile 'org.ros.rosjava_core:rosjava:[0.2,0.3)' compile 'org.ros.rosjava_messages:baxter_core_msgs:1.2+' }

In packages.xml I have included


Here's the error

Could not resolve all dependencies for configuration ':rosjava_baxter_project:compile'. Could not find any version that matches org.ros.rosjava_messages:baxter_core_msgs:1.2+. Searched in the following locations: file:/home/rupert/.m2/repository/org/ros/rosjava_messages/baxter_core_msgs/maven-metadata.xml file:/home/rupert/.m2/repository/org/ros/rosjava_messages/baxter_core_msgs/ Required by: com.github.rosjava.rosjava_baxter_package:rosjava_baxter_project:0.1.0