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

write a programm to get asctec data

asked 2011-09-22 00:41:04 -0600

Alex3 gravatar image

updated 2014-01-28 17:10:25 -0600

ngrennan gravatar image

Hello,

i have successfully installed the ros asctec drivers. And they are working correctly. Now I want to write a litle java program and for this program I need the flight data, for example angel yaw. But how can I get the data into my java program. Can you give me some hints?

kind regards

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-09-22 02:02:06 -0600

DimitriProsser gravatar image

In order to access the data from the quadrotor, the asctec_proc node provides a number of topics that you can subscribe to to get the desired information. A description of all of the topics can be found here. To see them in the terminal, you can use 'rostopic echo /mav/imu' or the equivalent.

In order to get this information into a Java program, however, you must be running rosjava. Rosjava will provide you with access to these topics from Java. You can find some tips on installing here. You can then use the rosjava API to access the information you desire.

I hope that you find this useful. I can provide more specific examples of using rosjava if required.

edit flag offensive delete link more
0

answered 2011-09-22 03:40:37 -0600

Alex3 gravatar image

Hello Dimitri,

I will try to figure it out how to use the rosjava API. Thank you for your hint and links.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-09-22 00:41:04 -0600

Seen: 195 times

Last updated: Sep 22 '11