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

Felix Kaser's profile - activity

2020-10-05 06:56:35 -0500 received badge  Good Question (source)
2019-05-23 02:19:00 -0500 received badge  Favorite Question (source)
2019-05-22 04:24:42 -0500 received badge  Nice Question (source)
2013-11-18 18:48:07 -0500 received badge  Taxonomist
2012-11-26 09:39:41 -0500 received badge  Guru (source)
2012-11-26 09:39:41 -0500 received badge  Great Answer (source)
2012-10-27 22:18:35 -0500 received badge  Famous Question (source)
2012-10-26 08:17:51 -0500 received badge  Good Question (source)
2012-10-23 03:23:10 -0500 received badge  Notable Question (source)
2012-10-19 05:05:15 -0500 received badge  Popular Question (source)
2012-10-19 05:05:15 -0500 received badge  Notable Question (source)
2012-10-19 05:05:15 -0500 received badge  Famous Question (source)
2012-10-14 21:13:00 -0500 received badge  Guru (source)
2012-10-03 05:09:02 -0500 received badge  Nice Question (source)
2012-10-02 09:40:04 -0500 received badge  Popular Question (source)
2012-10-01 18:25:56 -0500 asked a question Can the log level of a (python) ROS node be changed dynamically?

I wonder if it is possible (and if not if it makes sense) to change the log level of a python node during runtime.

The node could connect to a special purpose topic where the log level for the node can be announced. This would allow to have a node running without the debug messages being published to /rosout, but if necessary the log level could be switched to debug if the node is not running as expected.

Of course you can always change the init_node line and re-run the node, but in some occasions a more transparent solution might be useful?

2012-09-21 08:10:42 -0500 received badge  Great Answer (source)
2012-09-20 22:03:03 -0500 received badge  Good Answer (source)
2012-09-20 19:59:50 -0500 received badge  Nice Answer (source)
2012-09-20 18:27:48 -0500 answered a question "Install" a .patch

Hi,

patches are nothing you can simply install. Those .patch files are normally diffs of the source code (means it contains the changes to the source code that have been made to fix a bug).

So in general (I think this also applies for ROS) you need to download the ROS source code first (svn checkout) and then apply a .patch to the source code. You can read up on how to create and apply patches here.

Cheers Felix

2012-07-30 20:33:56 -0500 received badge  Good Answer (source)
2012-07-30 20:33:56 -0500 received badge  Enlightened (source)
2012-07-25 19:34:11 -0500 commented question eclipse calling make, not rosmake

Ah ok that makes much more sense now. Thanks! I guess you could adapt the make eclipse-project to include the project specific build instructions, but that's just a wild guess.

2012-07-25 16:31:26 -0500 commented question eclipse calling make, not rosmake

What exactly is your question? I'm not sure I understood your problem, it seems to work fine?

2012-07-05 08:45:57 -0500 received badge  Nice Answer (source)
2012-07-04 12:35:53 -0500 answered a question Rosrun, node is not removed from rosnode list after exit

How did you close the turtlesim?

When I did the tutorial I noticed that if I close the turtlesim with Ctrl+C from the console the node still remains open and is listed in 'rosnode list'. If you close the turtlesim by closing the window with the simulation, it properly closes (no more node listed in rosnode).

It could be that the process dies to fast when you use Ctrl+C so it does not perform the cleanup routines. I've seen similar behavior with other nodes as well, when they are killed with Ctrl+C but don't handle that properly.

2012-07-03 12:18:57 -0500 received badge  Necromancer (source)
2012-07-03 12:18:57 -0500 received badge  Teacher (source)
2012-07-03 11:52:54 -0500 answered a question pause functionality in rosbag play?

You could have a look how rxbag implements that. I believe they analyze the bag file and do play/stop themselves, but I'm not sure about that, I never used it.

Maybe it helps... :)

2012-06-24 14:03:12 -0500 answered a question How do I use eclipse with python (pydev)

Hi Paul,

as far as I know there is no direct support yet to launch ros nodes out of eclipse (and debug them). I use eclipse with pydev to develop the node but I still run it from the console with rosrun.

There has been done some effort by the guys from TU Munich to integrate the ros tools into an IDE, but I don't know how far the project is and if it is still actively developed. You can find the source in this repository.

You could try to execute rosrun as an external run script in eclipse. I tried to set it up once but gave up because I could not find a way to properly set up all the paths ros has set in the console (through setup.bash). There is probably a way but I decided its not worth it.

Good luck

Felix

2012-06-24 13:54:36 -0500 received badge  Scholar (source)
2012-06-24 13:54:13 -0500 commented answer Is there a way to subscribe to a topic without setting the type?

Thank you!To get the data class you can use "rostopic.get_topic_class('topic')" directly.

2012-06-24 13:54:13 -0500 commented answer Is there a way to subscribe to a topic without setting the type?

Thank you! To get the data class you can use "rostopic.get_topic_class('topic')" directly.

2012-06-20 14:21:28 -0500 received badge  Supporter (source)
2012-06-20 13:45:54 -0500 received badge  Editor (source)
2012-06-20 13:41:19 -0500 answered a question Message Type: rosjava subscriber problem

Hi,

I did never use rosjava but by looking at the code I noticed two things:

1) If the topic is odom, you probably don't need that "/" prefix. (but this should not be the issue here)

2) Try using nav_msgs.Odometry._TYPE as the message type for newSubscriber (note: the type, not the string! so remove the ""). The documentation says it should accept a String, but the example you posted works with std_msgs.String._TYPE as well.

If that does not help, it looks like someone else has similar problems (or even the same?): http://code.google.com/p/rosjava/issues/detail?id=121

Cheers Felix

2012-06-19 22:36:30 -0500 received badge  Student (source)
2012-06-19 18:13:21 -0500 asked a question Is there a way to subscribe to a topic without setting the type?

I try to create some UI to allow users to select a topic and visualize the data published on that topic. To get started I wanted to have only one field for the topic name and connect to it with python. In theory it should be possible to receive callbacks without knowing the message type since the messages are introspectable in python using:

message.__slots__
message._slot_types
message.__getattribute__('x')

I tried to use the Subscriber class but that one enforces the use of a data class when you subscribe to a topic.