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

an's profile - activity

2015-12-11 03:19:00 -0500 received badge  Famous Question (source)
2015-06-03 10:10:41 -0500 commented question Openni2 & freenect don't detect kinect but openni does

Did you end up figuring this out? I'm having the same issue. Thanks.

2014-12-29 13:48:19 -0500 received badge  Notable Question (source)
2014-09-23 09:26:37 -0500 received badge  Enthusiast
2014-09-22 09:16:22 -0500 received badge  Notable Question (source)
2014-09-18 02:49:00 -0500 received badge  Popular Question (source)
2014-09-17 15:32:21 -0500 received badge  Editor (source)
2014-09-17 15:32:06 -0500 asked a question Check on a rostopic programatically?

I've tried searching for this but have been unsuccessful so far.

Is it possible to see a topic's value, programatically? Basically, I need the functionality of rostopic echo, but I need to add it to my code.

It's a topic that I created myself, so I can't just create a client and call a service... And I also do not want to subscribe to the topic and create a callback function. I just want to know the topic's value at a given point in my code.

Is this possible?

2014-09-16 03:09:50 -0500 received badge  Popular Question (source)
2014-09-15 17:04:11 -0500 edited question How can you fly the plane provided in plane_demo.world?

I have created a ros node that takes inputs from the keyboard, to distinguish between going forward/backward, turning left/right, and going up/down.

I can control the forward/backward easily (I just publish a twist message with the linear x component set to either a positive or negative number).

I cannot figure out how to control the other things, though. To turn the plane, I allow wing 5 (vertical stabilizer, which controls yaw) to revolve around the z axis, and I publish twist messages to that link. This "works," in that I can clearly see wing5 rotating around the z axis. Now, logically, this should affect the direction that the plane travel but I dont understand how to implement that. For example, I tried setting wing5 to rotate, and then setting the plane's linear x velocity... however, this just moves the entire model in the +x direction, instead of moving in a direction that makes sense with the way wing5 is positioned.

How do I control the plane's pitch and yaw?

I see videos on youtube by John Hsu, flying this model around, so I know it has been done. Any help would be appreciated.