michaelhuang14 / menge_gazebo

Simulator for Crowd-Quadcopter Interactions using ROS, Gazebo, Menge
MIT License
8 stars 1 forks source link

Compile Error in Gazebo7 #1

Open RDaneelOlivav opened 7 years ago

RDaneelOlivav commented 7 years ago

I'm trying to use Menge in Gazebo7 but I get a compile error that states:

In file included from /home/user/catkin_ws/src/menge_gazebo/menge_common/src/MengePlugin.cpp:8:0:                                                     
/home/user/catkin_ws/src/menge_gazebo/menge_actors_plugin/../menge_common/include/MengePlugin.h:58:13: error: ‘TrajectoryInfoPtr’ in namespace ‘gazebo
::physics’ does not name a type                                                                                                                       
  protected: physics::TrajectoryInfoPtr trajectoryInfo;

The thing is that it seems that this class is nowhere to be seen in gazebo7 physics source code.

gazebo7 / gazebo / physics / PhysicsTypes.hh

Doesnt have any "TrajectoryInfoPtr", while gazebo8 does.

My question is: Is there a substitute for this in Gazebo7 and if not what functionality would i get if this is not used? Could I still run the croud basic simulation in GAzebo?

I would appreciate a lot the help because I am very interested in using Menge.

esraaelelimy commented 5 years ago

This repository is based on a modified version of Gazebo, you have to install Gazebo from source using this branch: https://bitbucket.org/michaelhuang16/gazebo/src/default/