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

dPackard's profile - activity

2014-07-22 18:44:06 -0500 received badge  Famous Question (source)
2014-07-22 18:44:06 -0500 received badge  Notable Question (source)
2014-05-21 00:16:25 -0500 received badge  Taxonomist
2013-09-10 01:51:25 -0500 received badge  Popular Question (source)
2013-09-05 13:23:47 -0500 asked a question Why does `rosnode info <node>` display [unknown type]?

For example -

root@hekateros# rosnode info /hekateros_control
[...removed for brevity...]
Subscriptions:
  * /hekateros_control/follow_joint_traj_as/goal [unknown type]
[...removed for brevity...]

This message type _should_ be trajectory_msgs/JointTrajectory...

Note that this does not affect the execution of the code (i.e. I can still publish messages of the correct type to this topic, and it works correctly)

I would just like to know why rosnode info is unable to display the correct message type information. Do I need to specify a dependency somewhere? And if so, why does the missing dependency not affect message generation, compilation, or execution?

Thanks!

/daniel

2013-08-24 06:48:58 -0500 received badge  Critic (source)
2013-08-14 06:15:04 -0500 commented question arduino publisher and subscriber both

When you say "on the arduino side, the publisher works well", could you be a bit more specific? (e.g. "values from the arduino are visible in the serial-monitor in the Arduino IDE", or "values from the arduino are published by a ROS node that reads values from the arduino via a serial conn", or ...)

2013-08-14 04:19:41 -0500 received badge  Enlightened (source)
2013-08-14 04:19:41 -0500 received badge  Good Answer (source)
2013-08-12 16:35:00 -0500 received badge  Commentator
2013-08-12 16:35:00 -0500 commented answer How to check if my call back function works

Good luck! It sounds like you are on your way to figuring it out :D

2013-08-12 08:14:24 -0500 received badge  Nice Answer (source)
2013-08-12 07:40:54 -0500 commented answer A subscriber (python script) problem? Please correct..... the error

Don't forget to source the setup.bash file for your catkin workspace in *every terminal* you are using.

2013-08-12 05:35:51 -0500 received badge  Nice Answer (source)
2013-08-12 05:25:03 -0500 answered a question how can I make ROS STACK?

If you are developing under ROS Groovy or newer, the idea of a "stack" has been replaced by the idea of a "metapackage". See Metapackages and the Elimination of Stacks

Metapackages are essentially "empty" packages that group related packages together through runtime dependencies (<run_depends>)

You will want to learn more about catkin (the preferred build system in groovy and newer): http://ros.org/wiki/catkin

In particular, here is some info about metapackages: http://ros.org/wiki/catkin/package.xml#Metapackages

And here is an example of a metapackage: https://github.com/roadnarrows-robotics/hekateros/tree/master/hekateros

2013-08-12 04:18:05 -0500 commented answer How to check if my call back function works

If this didn't help, please update your question with more details describing your exact situation (e.g. how you registered the callback in your code, what is the output of `rostopic echo <topic name="">`, of `rosnode info <node name="">`, etc), and maybe someone can help you find an exact solution

2013-08-12 04:13:01 -0500 answered a question How to check if my call back function works

If you've included a ROS_INFO statement in your callback, and that message doesn't show up in rosconsole or the terminal where you started the node, then your cb is not being executed.

There are a few possible reasons that your callback would not be executed... but I'm going to guess at a couple likely reasons since you don't run into any build errors. I'm guessing that this is a callback for a subscribed topic. The callback for a subscribed topic is only executed when new data is published to the topic you've subscribed to.

This suggests that A) no data is being published to the topic you are subscribed to, or B) you are subscribed to a topic that doesn't exist

The rostopic and rqt_graph tools can help you investigate these possibilities.

2013-08-09 19:26:34 -0500 commented question PrimeSense Failed to set USB interface Error

If that file already exists (or if creating it doesn't help), you might find a solution here: ( http://answers.ros.org/question/55201/using-ros-with-kinect-failed-to-set-usb-interface/ )

2013-08-09 19:16:38 -0500 commented question PrimeSense Failed to set USB interface Error

If you installed the package via apt-get, tit is probably installed already (just check if the file exists). Otherwise you can create the file manually using your favorite text editor and `sudo`. (e.g. `sudo gvim /etc/udev/rules.d/55-primesense-usb.rules`).

2013-08-09 19:07:53 -0500 commented question PrimeSense Failed to set USB interface Error

Did you install `/55-primesense-usb.rules` to /etc/udev/rules.d? This file may be found here: https://github.com/PrimeSense/Sensor/blob/unstable/Platform/Linux/Install/55-primesense-usb.rules )

2013-08-09 13:10:41 -0500 commented question How to check if my call back function works

To check if your function callback "*works*" is slightly different than checking if the function callback is "*being executed*" ;) - but yes, add ROS_INFO("Executing poseCallback"); as the very first line of your function. If that function is being executed, you will see it in the log messages.

2013-08-07 09:55:20 -0500 received badge  Famous Question (source)
2013-08-06 03:45:20 -0500 received badge  Teacher (source)
2013-08-02 06:45:28 -0500 commented question What are prerequisites for ROS?

You should learn some of the basics of linux/BASH before diving into the ROS tutorials (e.g. http://www.ee.surrey.ac.uk/Teaching/Unix/). There's quite a learning curve for Linux+ROS if you're completely new to it, but with your background you should be up and running soon!

2013-08-02 06:20:08 -0500 answered a question workspace global python module - where to put?

I think this tutorial covers what you would like to do:

summary:

1. Create setup.py in your package root directory with these contents (where <python_mod> is replaced by the name of your python module, typically the same name as your catkin package)

## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD

from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup

# fetch values from package.xml
setup_args = generate_distutils_setup(
    packages=['<python_mod>'],
    package_dir={'': 'src'},
    requires=['std_msgs', 'rospy'])
)

setup(**setup_args)

2. Add the following line to your CMakeLists.txt

catkin_python_setup()

3. Create a directory for your python scripts (if you have any python executables)

mkdir <pkg_root>/scripts

4. Create a directory for your python modules

mkdir <pkg_root>/src/<python_mod>/

5. Add an empty __init__.py to your python module directory

touch <pkg_root>/src/<python_mod>/__init__.py

6. create your python mod

touch <pkg_root>/src/<python_mod>/mod1.py

You should now be able to import this module as

import python_mod.mod1


Hope that helps!

Reference the tutorial for details.

2013-08-02 03:49:23 -0500 commented answer ROS Beginner Tutorials: Examining the Simple Service and Client (python) - need some help

Since catkin_make succeeded, the environment is probably configured properly. But, as @lifelonglearner says, you must start `roscore` in a separate terminal before you can issue `rosrun beginner_tutorials add_two_ints_server.py`.

2013-08-01 12:46:45 -0500 received badge  Autobiographer
2013-08-01 08:33:26 -0500 received badge  Notable Question (source)
2013-08-01 08:02:30 -0500 received badge  Supporter (source)
2013-08-01 08:02:30 -0500 marked best answer Does rosdep support installing dependencies from PPAs?

This is a fresh post regarding the question raised here.

Basically, I'd like to know if installing ROS package dependencies from a third-party apt repository is supported/recommended. I understand that non-debian users would still need to install these packages from source.

I see at least one third-party apt repository added in the rosdistro/rosdep/base.yaml, see lines 540-552

However, based on the discussion here , and REPS 111, 112 and 125 - I get the feeling that embedding bash commands and adding apt-repos in a rosdep.yaml is frowned upon.

What is the best way to add system dependencies from a third-party apt repository to a ROS package?

/daniel

2013-08-01 08:02:26 -0500 received badge  Scholar (source)
2013-07-31 22:50:57 -0500 received badge  Popular Question (source)
2013-07-31 15:47:21 -0500 received badge  Nice Question (source)