2020-12-25 21:30 阅读 1

Mavros Extras

Issue details

I noticed that by running

apt-get install ros-indigo-mavros-extras
, I do not get files such as: mocap_pose_estimate.cpp

I do not want to build mavros from source, as that aptitude install works; is there a way I can just install mavros_extras from source? Or is there a way I can get all the source files and use them with my current mavros installation.

MAVROS version and platform

Mavros: 0.18.4 ROS: Indigo Ubuntu: 14.04


  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

4条回答 默认 最新

  • weixin_39553653 weixin_39553653 2020-12-25 21:30

    Binary packages do not contain sources. You may download tar and copy extras to your ws src, that should work, but may be more buggy than "official source install" method.

    点赞 评论 复制链接分享
  • weixin_39632212 weixin_39632212 2020-12-25 21:30

    Thank you for answering .

    I have copied mocap_pose_estimate.cpp and built a node out of just that file (that is the only file from extras that I need), but I am having trouble understanding how to initialize the uas pointer for the data to be correctly sent to the FCU.

    点赞 评论 复制链接分享
  • weixin_39606137 weixin_39606137 2020-12-25 21:30

    Why are you even going to all that trouble? Just follow our source install guides and compile the package.

    I don't see the point of supporting a half-baked setup. If you want support, use the full source build.

    点赞 评论 复制链接分享
  • weixin_39632212 weixin_39632212 2020-12-25 21:30

    Thanks, full source build worked for me now, closing this issue.

    点赞 评论 复制链接分享