Ask Your Question

fhurlbrink's profile - activity

2016-06-28 22:12:01 -0600 received badge  Famous Question (source)
2015-04-01 10:48:13 -0600 received badge  Notable Question (source)
2015-04-01 10:48:13 -0600 received badge  Popular Question (source)
2015-02-20 13:16:52 -0600 received badge  Famous Question (source)
2015-02-20 13:16:52 -0600 received badge  Popular Question (source)
2015-02-20 13:16:52 -0600 received badge  Notable Question (source)
2014-07-30 09:14:21 -0600 received badge  Famous Question (source)
2014-07-03 15:39:28 -0600 asked a question "rostopic pub" does not work from out of eclipse.

Hello, I write a little Java program. that communicates with the listener node from the beginner_tutorials package. It uses the rostopic pub command.

package rolex;

import java.io.IOException;
import java.util.Random;

public class Rolex {
    public static void main(String[] args) throws IOException {
        Random random = new Random();

    String cmdarr[] = { "/opt/ros/hydro/bin/rostopic", "pub", "-1",
            "/chatter", "std_msgs/String", "Hello! " + random.nextInt(100) };
    Runtime runtime = Runtime.getRuntime();
    runtime.exec(cmdarr);
    System.out.println("Ready!");
    }
}

When, after compiling, I call it manually via

$ java rolex.Rolex

it works fine. A message "Hello!" with a random number appended is sent to the /chatter topic via rostopic pub.

But when I run it directly out if Eclipse, it seems to run (no compile errors, Ready message at the end appears), but no message is sent to the chatter topic. What is wrong?

It just want to run it directly from Eclipse without manually calling $ java rolex.Rolex

2014-06-24 08:33:10 -0600 received badge  Notable Question (source)
2014-06-24 08:33:10 -0600 received badge  Popular Question (source)
2014-06-23 04:48:13 -0600 asked a question Failed to load joint?_*_controller

Hello, I have ROS Hydro on Ubuntu 12.04.4.

I have made

$ sudo apt-get install ros-hydro-desktop-full
$ sudo apt-get install ros-hydro-gazebo-ros-pkgs ros-hydro-gazebo-ros-control

and I have downloaded the gazebo_ros_demos into my

catkin_ws/src

I want to try http://gazebosim.org/tutorials/?tut=r... .

Until I type

   $ roslaunch rrbot_gazebo rrbot_world.launch

everything is fine.

But then, when I type

   $ roslaunch rrbot_control rrbot_control.launch

then it says

[ERROR] [WallTime: 1403516339.376075] [33.377000] Failed to load joint_state_controller
[ERROR] [WallTime: 1403516340.379782] [34.378000] Failed to load joint1_position_controller
[ERROR] [WallTime: 1403516341.383720] [35.379000] Failed to load joint2_position_controller

What have I made wrong? What can I do, so that it works?

2014-06-13 07:22:10 -0600 commented question Gazebo crashes when spawning a robot with urdf.

I have the same problem!

2014-06-13 04:05:24 -0600 received badge  Editor (source)
2014-06-13 04:04:33 -0600 asked a question "roslaunch gazebo_ros willowgarage_world.launch" with dying gazebo-gui

Hello, when I type

roslaunch gazebo_ros willowgarage_world.launch

from http://gazebosim.org/tutorials/?tut=r...

the first time, everything works fine. But when I Ctrl+C the terminal or close the terminal and later type the command again, it says

[gazebo_gui-3] process has died [pid 3589, exit code 134, cmd /opt/ros/indigo/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/hurlbrink/.ros/log/db470810-f2d8-11e3-a7eb-bc305be4e785/gazebo_gui-3.log].log file: /home/hurlbrink/.ros/log/db470810-f2d8-11e3-a7eb-bc305be4e785/gazebo_gui-3*.log

(The log file from the text does not exist).

After that I have to restart my computer until it works again.

How to solve the problem? I want to use the command without restarting everytime.

Seems that the roslaunch processes from the first time are not finished cleanly. Maybe I need a method to finish all roslaunch started processes cleanly, when Ctrl+C does not work.

2014-06-09 06:23:59 -0600 received badge  Famous Question (source)
2014-06-05 06:25:12 -0600 commented answer ROS Indigo: Where is rqt_plot

OK, sorry. I'm new to ROS answers. I saw the PyQtGraph problem as a part of the rqt-plot issue. But now, I have googled it and so I found out, this is a separate issues independent from existing of rqt_plot in Indigo and solved it.

2014-06-05 06:22:26 -0600 received badge  Scholar (source)
2014-06-04 02:31:06 -0600 commented answer ROS Indigo: Where is rqt_plot

Well, now I have installed it manually. But now, when I execute $ rosrun rqt_plot rqt_plot it says: [DEBUG] rqt_plot.plot: import of PyQtGraphDataPlot failed (trying other backends) qt_gui_main() found no plugin matching "rqt_plot"

2014-06-03 15:39:17 -0600 received badge  Notable Question (source)
2014-06-03 12:48:08 -0600 received badge  Popular Question (source)
2014-06-03 09:02:32 -0600 received badge  Student (source)
2014-06-03 07:42:12 -0600 asked a question ROS Indigo: Where is rqt_plot

Hello, I try wiki.ros.org/ROS/Tutorials/UnderstandingTopics and want to run

$ rosrun rqt_plot rqt_plot

but it says

[rospack] Error: package 'rqt_plot' not found

In the rqt_gui it is not listed in the plugins. I have installed ros-indigo-desktop-full

Is it possible to get rqt_plot running?

2014-06-02 04:26:15 -0600 received badge  Famous Question (source)
2014-05-28 04:16:08 -0600 received badge  Notable Question (source)
2014-05-27 23:10:11 -0600 received badge  Popular Question (source)
2014-05-27 22:18:12 -0600 answered a question In a few days May will end. On which of the four remaining days will be ROS Indigo released?

OK. When in June the release will be estimated? First week, second week?

Can I install the development release of Indigo and use it tentatively? Does that make sense? And does "sudo apt-get update" automatically change Indigo to the final release, when it is online?

2014-05-27 21:35:17 -0600 asked a question In a few days May will end. On which of the four remaining days will be ROS Indigo released?

In a few days May will end. So, on which of the four remaining days will be the final release ROS Indigo released?