mavlink / mavros

MAVLink to ROS gateway with proxy for Ground Control Station
Other
879 stars 989 forks source link

Replace TF with TF2 #71

Closed vooon closed 9 years ago

vooon commented 10 years ago

Most of plugins use 'deprecated' tf package, while Hydro recommend tf2.

TSC21 commented 10 years ago

What's the status on this @vooon? I already tried to implement but there seems to be a confusion in the tutorials regarding the header folder to include. In some say to use tf2 and in others tf2_ros.

vooon commented 10 years ago

It is todo for next release (0.8).

TSC21 commented 10 years ago

I will get my hands on this now ;)

TSC21 commented 10 years ago

This is not easy at all. The tutorials are all messed up, not sync and there are header which don't even exist!

TSC21 commented 10 years ago

Well I have found this: https://github.com/ros/geometry_tutorials/blob/hydro-devel/turtle_tf2/src/turtle_tf2_listener.cpp which can help write the listening. But, as you can see, now we have to create geometry_msgs::TransformStamped or geometry_msgs::Transform, which will significantly change the implementation on the rest of the plugins. setpoint_mixin.h is fairly easy to change. The rest of the plugins not so easy I think.

tonybaltovski commented 10 years ago

Despite TF being depreciated, not many things use TF2.

TSC21 commented 10 years ago

Yeah I'm aware of it. Right now I leave as is cause the implementation of tf2 is kinda weird and not self explanatory. Also, lacks well made tutorials.

TSC21 commented 9 years ago

@vooon want to try to get this up and running?

vooon commented 9 years ago

Maybe, but it also require using eigen. 18.05.2015 23:26 пользователь "TSC21" notifications@github.com написал:

@vooon https://github.com/vooon want to try to get this up and running?

— Reply to this email directly or view it on GitHub https://github.com/mavlink/mavros/issues/71#issuecomment-103199399.

dreamkeep commented 9 years ago

can some one give a sample to takeoff use ./mavcmd ?

vooon commented 9 years ago

@dreamkeep wrong issue. Also https://github.com/mavlink/mavros#support-forums-and-chats

rosrun mavros mavsafety arm
rosrun mavros mavcmd takeoffcur 0 0 20
vooon commented 9 years ago

Hmm, i'm readed the tf2_ros source code and thinking to move tf to UAS, so use single buffer instead of multiple ones.