red0orange / gazebo_custom_plugin

15 stars 3 forks source link

ubuntu16和gazebo7可行吗? #1

Open zhujinwen0924 opened 3 years ago

zhujinwen0924 commented 3 years ago

你好,请问你的插件在Ubuntu16.04和gazebo7的环境下能使用吗?我编译的时候出了一点问题.

zhujinwen0924 commented 3 years ago

[ 50%] Building CXX object gazebo_custom_plugin/gazebo_extra_plugins/CMakeFiles/custom_actor_plugin.dir/src/custom_actor_plugin.cpp.o In file included from /home/leoh/Desktop/temp_gazebo/actor/src/gazebo_custom_plugin/gazebo_extra_plugins/src/custom_actor_plugin.cpp:22:0: /home/leoh/Desktop/temp_gazebo/actor/src/gazebo_custom_plugin/gazebo_extra_plugins/include/gazebo_plugins/custom_actor_plugin.h:96:23: error: ‘TrajectoryInfoPtr’ in namespace ‘gazebo::physics’ does not name a type private: physics::TrajectoryInfoPtr trajectoryInfo; ^ /home/leoh/Desktop/temp_gazebo/actor/src/gazebo_custom_plugin/gazebo_extra_plugins/src/custom_actor_plugin.cpp: In member function ‘virtual void gazebo::CustomActorPlugin::Reset()’: /home/leoh/Desktop/temp_gazebo/actor/src/gazebo_custom_plugin/gazebo_extra_plugins/src/custom_actor_plugin.cpp:195:35: error: ‘class gazebo::physics::Actor’ has no member named ‘SkeletonAnimations’ auto skelAnims = this->actor->SkeletonAnimations();