ruffsl

fetch_ros build error 2

Nov 9th, 2016
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 161.84 KB | None | 0 0
  1. ~/fetch_ws$ catkin build
  2. ----------------------------------------------------------
  3. Profile: default
  4. Extending: [cached] /opt/ros/kinetic
  5. Workspace: /home/ruffsl/fetch_ws
  6. ----------------------------------------------------------
  7. Source Space: [exists] /home/ruffsl/fetch_ws/src
  8. Log Space: [exists] /home/ruffsl/fetch_ws/logs
  9. Build Space: [exists] /home/ruffsl/fetch_ws/build
  10. Devel Space: [exists] /home/ruffsl/fetch_ws/devel
  11. Install Space: [unused] /home/ruffsl/fetch_ws/install
  12. DESTDIR: [unused] None
  13. ----------------------------------------------------------
  14. Devel Space Layout: linked
  15. Install Space Layout: None
  16. ----------------------------------------------------------
  17. Additional CMake Args: None
  18. Additional Make Args: None
  19. Additional catkin Make Args: None
  20. Internal Make Job Server: True
  21. Cache Job Environments: False
  22. ----------------------------------------------------------
  23. Whitelisted Packages: None
  24. Blacklisted Packages: None
  25. ----------------------------------------------------------
  26. Workspace configuration appears valid.
  27. ----------------------------------------------------------
  28. [build] Found '11' packages in 0.0 seconds.
  29. [build] Package table is up to date.
  30. Starting >>> fetch_calibration
  31. Starting >>> fetch_depth_layer
  32. Starting >>> fetch_description
  33. Starting >>> fetch_ikfast_plugin
  34. Starting >>> fetch_maps
  35. Starting >>> fetch_teleop
  36. Starting >>> freight_calibration
  37. Finished <<< fetch_calibration [ 3.7 seconds ]
  38. Finished <<< freight_calibration [ 2.7 seconds ]
  39. Finished <<< fetch_maps [ 1.7 seconds ]
  40. Finished <<< fetch_description [ 1.2 seconds ]
  41. Starting >>> fetch_gazebo
  42. Finished <<< fetch_ikfast_plugin [ 2.9 seconds ]
  43. Starting >>> fetch_moveit_config
  44. Finished <<< fetch_teleop [ 1.9 seconds ]
  45. Finished <<< fetch_moveit_config [ 0.4 seconds ]
  46. _________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
  47. Errors << fetch_gazebo:make /home/ruffsl/fetch_ws/logs/fetch_gazebo/build.make.003.log
  48. In file included from /usr/include/c++/5/random:35:0,
  49. from /usr/include/ignition/math2/ignition/math/Rand.hh:20,
  50. from /usr/include/ignition/math2/ignition/math.hh:18,
  51. from /usr/include/sdformat-4.0/sdf/Param.hh:34,
  52. from /usr/include/sdformat-4.0/sdf/Element.hh:24,
  53. from /usr/include/sdformat-4.0/sdf/sdf.hh:5,
  54. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  55. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  56. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  57. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  58. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  59. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  60. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  61. /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
  62. #error This file requires compiler and library support \
  63. ^
  64. In file included from /usr/include/gazebo-7/gazebo/physics/Model.hh:31:0,
  65. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  66. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  67. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  68. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  69. /usr/include/gazebo-7/gazebo/common/CommonTypes.hh:144:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  70. typedef std::shared_ptr<Battery> BatteryPtr;
  71. ^
  72. In file included from /usr/include/gazebo-7/gazebo/physics/Model.hh:32:0,
  73. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  74. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  75. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  76. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  77. /usr/include/gazebo-7/gazebo/physics/PhysicsTypes.hh:124:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  78. typedef std::shared_ptr<UserCmd> UserCmdPtr;
  79. ^
  80. /usr/include/gazebo-7/gazebo/physics/PhysicsTypes.hh:128:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  81. typedef std::shared_ptr<UserCmdManager> UserCmdManagerPtr;
  82. ^
  83. In file included from /usr/include/ignition/math2/ignition/math/Vector3.hh:25:0,
  84. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:25,
  85. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  86. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  87. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  88. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  89. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  90. /usr/include/ignition/math2/ignition/math/Helpers.hh: In function ‘T ignition::math::precision(const T&, const unsigned int&)’:
  91. /usr/include/ignition/math2/ignition/math/Helpers.hh:242:14: error: ‘round’ is not a member of ‘std’
  92. return std::round(_a * pow(10, _precision)) / pow(10, _precision);
  93. ^
  94. /usr/include/ignition/math2/ignition/math/Helpers.hh:242:14: note: suggested alternatives:
  95. In file included from /usr/include/features.h:367:0,
  96. from /usr/include/stdlib.h:24,
  97. from /opt/ros/kinetic/include/ros/platform.h:53,
  98. from /opt/ros/kinetic/include/ros/time.h:53,
  99. from /opt/ros/kinetic/include/ros/ros.h:38,
  100. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  101. /usr/include/x86_64-linux-gnu/bits/mathcalls.h:319:1: note: ‘round’
  102. __MATHCALLX (round,, (_Mdouble_ __x), (__const__));
  103. ^
  104. In file included from /opt/ros/kinetic/include/ros/time.h:58:0,
  105. from /opt/ros/kinetic/include/ros/ros.h:38,
  106. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  107. /usr/include/boost/math/special_functions/round.hpp:68:46: note: ‘boost::math::round’
  108. inline typename tools::promote_args<T>::type round(const T& v)
  109. ^
  110. /usr/include/boost/math/special_functions/round.hpp:55:46: note: ‘boost::math::detail::round’
  111. inline typename tools::promote_args<T>::type round(const T& v, const Policy&, const mpl::true_)
  112. ^
  113. In file included from /usr/include/gazebo-7/gazebo/math/Matrix4.hh:22:0,
  114. from /usr/include/gazebo-7/gazebo/math/Quaternion.hh:30,
  115. from /usr/include/gazebo-7/gazebo/math/Pose.hh:25,
  116. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:26,
  117. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  118. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  119. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  120. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  121. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  122. /usr/include/ignition/math2/ignition/math/Matrix4.hh: In constructor ‘ignition::math::Matrix4<T>::Matrix4(const ignition::math::Pose3<T>&)’:
  123. /usr/include/ignition/math2/ignition/math/Matrix4.hh:108:67: warning: delegating constructors only available with -std=c++11 or -std=gnu++11
  124. public: Matrix4(const Pose3<T> &_pose) : Matrix4(_pose.Rot())
  125. ^
  126. In file included from /usr/include/sdformat-4.0/sdf/sdf.hh:3:0,
  127. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  128. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  129. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  130. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  131. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  132. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  133. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  134. /usr/include/sdformat-4.0/sdf/Console.hh: At global scope:
  135. /usr/include/sdformat-4.0/sdf/Console.hh:55:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  136. typedef std::shared_ptr<Console> ConsolePtr;
  137. ^
  138. /usr/include/sdformat-4.0/sdf/Console.hh:96:20: error: ‘ConsolePtr’ does not name a type
  139. public: static ConsolePtr Instance();
  140. ^
  141. /usr/include/sdformat-4.0/sdf/Console.hh:118:19: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
  142. private: std::unique_ptr<ConsolePrivate> dataPtr;
  143. ^
  144. /usr/include/sdformat-4.0/sdf/Console.hh: In member function ‘sdf::Console::ConsoleStream& sdf::Console::ConsoleStream::operator<<(const T&)’:
  145. /usr/include/sdformat-4.0/sdf/Console.hh:145:9: error: ‘Instance’ is not a member of ‘sdf::Console’
  146. if (Console::Instance()->dataPtr->logFileStream.is_open())
  147. ^
  148. /usr/include/sdformat-4.0/sdf/Console.hh:147:7: error: ‘Instance’ is not a member of ‘sdf::Console’
  149. Console::Instance()->dataPtr->logFileStream << _rhs;
  150. ^
  151. /usr/include/sdformat-4.0/sdf/Console.hh:148:7: error: ‘Instance’ is not a member of ‘sdf::Console’
  152. Console::Instance()->dataPtr->logFileStream.flush();
  153. ^
  154. In file included from /usr/include/ignition/math2/ignition/math.hh:6:0,
  155. from /usr/include/sdformat-4.0/sdf/Param.hh:34,
  156. from /usr/include/sdformat-4.0/sdf/Element.hh:24,
  157. from /usr/include/sdformat-4.0/sdf/sdf.hh:5,
  158. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  159. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  160. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  161. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  162. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  163. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  164. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  165. /usr/include/ignition/math2/ignition/math/Filter.hh: At global scope:
  166. /usr/include/ignition/math2/ignition/math/Filter.hh:57:23: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  167. protected: T y0{};
  168. ^
  169. /usr/include/ignition/math2/ignition/math/Filter.hh:57:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  170. protected: T y0{};
  171. ^
  172. /usr/include/ignition/math2/ignition/math/Filter.hh:57:23: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  173. protected: T y0{};
  174. ^
  175. /usr/include/ignition/math2/ignition/math/Filter.hh:67:27: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  176. public: OnePole() = default;
  177. ^
  178. /usr/include/ignition/math2/ignition/math/Filter.hh:94:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  179. protected: double a0 = 0;
  180. ^
  181. /usr/include/ignition/math2/ignition/math/Filter.hh:97:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  182. protected: double b1 = 0;
  183. ^
  184. /usr/include/ignition/math2/ignition/math/Filter.hh:157:26: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  185. public: BiQuad() = default;
  186. ^
  187. /usr/include/ignition/math2/ignition/math/Filter.hh:215:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  188. protected: double a0 = 0,
  189. ^
  190. /usr/include/ignition/math2/ignition/math/Filter.hh:216:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  191. a1 = 0,
  192. ^
  193. /usr/include/ignition/math2/ignition/math/Filter.hh:217:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  194. a2 = 0,
  195. ^
  196. /usr/include/ignition/math2/ignition/math/Filter.hh:218:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  197. b0 = 0,
  198. ^
  199. /usr/include/ignition/math2/ignition/math/Filter.hh:219:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  200. b1 = 0,
  201. ^
  202. /usr/include/ignition/math2/ignition/math/Filter.hh:220:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  203. b2 = 0;
  204. ^
  205. /usr/include/ignition/math2/ignition/math/Filter.hh:223:23: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  206. protected: T x1{}, x2{}, y1{}, y2{};
  207. ^
  208. /usr/include/ignition/math2/ignition/math/Filter.hh:223:29: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  209. protected: T x1{}, x2{}, y1{}, y2{};
  210. ^
  211. /usr/include/ignition/math2/ignition/math/Filter.hh:223:35: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  212. protected: T x1{}, x2{}, y1{}, y2{};
  213. ^
  214. /usr/include/ignition/math2/ignition/math/Filter.hh:223:41: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  215. protected: T x1{}, x2{}, y1{}, y2{};
  216. ^
  217. /usr/include/ignition/math2/ignition/math/Filter.hh:223:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  218. protected: T x1{}, x2{}, y1{}, y2{};
  219. ^
  220. /usr/include/ignition/math2/ignition/math/Filter.hh:223:23: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  221. protected: T x1{}, x2{}, y1{}, y2{};
  222. ^
  223. /usr/include/ignition/math2/ignition/math/Filter.hh:223:28: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  224. protected: T x1{}, x2{}, y1{}, y2{};
  225. ^
  226. /usr/include/ignition/math2/ignition/math/Filter.hh:223:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  227. protected: T x1{}, x2{}, y1{}, y2{};
  228. ^
  229. /usr/include/ignition/math2/ignition/math/Filter.hh:223:34: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  230. protected: T x1{}, x2{}, y1{}, y2{};
  231. ^
  232. /usr/include/ignition/math2/ignition/math/Filter.hh:223:35: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  233. protected: T x1{}, x2{}, y1{}, y2{};
  234. ^
  235. /usr/include/ignition/math2/ignition/math/Filter.hh:223:40: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  236. protected: T x1{}, x2{}, y1{}, y2{};
  237. ^
  238. /usr/include/ignition/math2/ignition/math/Filter.hh:223:41: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  239. protected: T x1{}, x2{}, y1{}, y2{};
  240. ^
  241. In file included from /usr/include/ignition/math2/ignition/math.hh:12:0,
  242. from /usr/include/sdformat-4.0/sdf/Param.hh:34,
  243. from /usr/include/sdformat-4.0/sdf/Element.hh:24,
  244. from /usr/include/sdformat-4.0/sdf/sdf.hh:5,
  245. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  246. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  247. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  248. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  249. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  250. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  251. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  252. /usr/include/ignition/math2/ignition/math/Line3.hh:35:25: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  253. public: Line3() = default;
  254. ^
  255. In file included from /usr/include/ignition/math2/ignition/math.hh:18:0,
  256. from /usr/include/sdformat-4.0/sdf/Param.hh:34,
  257. from /usr/include/sdformat-4.0/sdf/Element.hh:24,
  258. from /usr/include/sdformat-4.0/sdf/sdf.hh:5,
  259. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  260. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  261. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  262. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  263. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  264. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  265. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  266. /usr/include/ignition/math2/ignition/math/Rand.hh:31:18: error: ‘mt19937’ in namespace ‘std’ does not name a type
  267. typedef std::mt19937 GeneratorType;
  268. ^
  269. /usr/include/ignition/math2/ignition/math/Rand.hh:34:18: error: ‘uniform_real_distribution’ in namespace ‘std’ does not name a template type
  270. typedef std::uniform_real_distribution<double> UniformRealDist;
  271. ^
  272. /usr/include/ignition/math2/ignition/math/Rand.hh:37:18: error: ‘normal_distribution’ in namespace ‘std’ does not name a template type
  273. typedef std::normal_distribution<double> NormalRealDist;
  274. ^
  275. /usr/include/ignition/math2/ignition/math/Rand.hh:40:18: error: ‘uniform_int_distribution’ in namespace ‘std’ does not name a template type
  276. typedef std::uniform_int_distribution<int32_t> UniformIntDist;
  277. ^
  278. /usr/include/ignition/math2/ignition/math/Rand.hh:77:23: error: ‘GeneratorType’ does not name a type
  279. private: static GeneratorType *randGenerator;
  280. ^
  281. In file included from /usr/include/ignition/math2/ignition/math.hh:22:0,
  282. from /usr/include/sdformat-4.0/sdf/Param.hh:34,
  283. from /usr/include/sdformat-4.0/sdf/Element.hh:24,
  284. from /usr/include/sdformat-4.0/sdf/sdf.hh:5,
  285. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  286. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  287. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  288. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  289. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  290. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  291. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  292. /usr/include/ignition/math2/ignition/math/Triangle.hh:36:28: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  293. public: Triangle() = default;
  294. ^
  295. /usr/include/ignition/math2/ignition/math/Triangle.hh: In member function ‘bool ignition::math::Triangle<T>::Intersects(const ignition::math::Line2<T>&, ignition::math::Vector2<T>&, ignition::math::Vector2<T>&) const’:
  296. /usr/include/ignition/math2/ignition/math/Triangle.hh:181:16: error: ‘iter’ does not name a type
  297. auto iter = points.begin();
  298. ^
  299. /usr/include/ignition/math2/ignition/math/Triangle.hh:183:20: error: ‘iter’ was not declared in this scope
  300. _ipt1 = *iter;
  301. ^
  302. /usr/include/ignition/math2/ignition/math/Triangle.hh:193:16: error: ‘iter’ does not name a type
  303. auto iter = points.begin();
  304. ^
  305. /usr/include/ignition/math2/ignition/math/Triangle.hh:194:21: error: ‘iter’ was not declared in this scope
  306. _ipt1 = *(iter++);
  307. ^
  308. In file included from /usr/include/sdformat-4.0/sdf/Element.hh:24:0,
  309. from /usr/include/sdformat-4.0/sdf/sdf.hh:5,
  310. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  311. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  312. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  313. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  314. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  315. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  316. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  317. /usr/include/sdformat-4.0/sdf/Param.hh: At global scope:
  318. /usr/include/sdformat-4.0/sdf/Param.hh:55:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  319. typedef std::shared_ptr<Param> ParamPtr;
  320. ^
  321. /usr/include/sdformat-4.0/sdf/Param.hh:59:23: error: ‘ParamPtr’ was not declared in this scope
  322. typedef std::vector<ParamPtr> Param_V;
  323. ^
  324. /usr/include/sdformat-4.0/sdf/Param.hh:59:31: error: template argument 1 is invalid
  325. typedef std::vector<ParamPtr> Param_V;
  326. ^
  327. /usr/include/sdformat-4.0/sdf/Param.hh:59:31: error: template argument 2 is invalid
  328. /usr/include/sdformat-4.0/sdf/Param.hh:127:13: error: ‘ParamPtr’ does not name a type
  329. public: ParamPtr Clone() const;
  330. ^
  331. /usr/include/sdformat-4.0/sdf/Param.hh:221:18: error: ‘function’ in namespace ‘std’ does not name a template type
  332. public: std::function<boost::any ()> updateFunc;
  333. ^
  334. /usr/include/sdformat-4.0/sdf/Param.hh: In member function ‘void sdf::Param::SetUpdateFunc(T)’:
  335. /usr/include/sdformat-4.0/sdf/Param.hh:252:20: error: ‘class sdf::ParamPrivate’ has no member named ‘updateFunc’
  336. this->dataPtr->updateFunc = _updateFunc;
  337. ^
  338. In file included from /usr/include/sdformat-4.0/sdf/sdf.hh:3:0,
  339. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  340. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  341. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  342. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  343. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  344. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  345. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  346. /usr/include/sdformat-4.0/sdf/Param.hh: In member function ‘bool sdf::Param::Set(const T&)’:
  347. /usr/include/sdformat-4.0/sdf/Console.hh:47:19: error: ‘Instance’ is not a member of ‘sdf::Console’
  348. #define sdferr (sdf::Console::Instance()->ColorMsg("Error", \
  349. ^
  350. /usr/include/sdformat-4.0/sdf/Param.hh:265:7: note: in expansion of macro ‘sdferr’
  351. sdferr << "Unable to set parameter["
  352. ^
  353. /usr/include/sdformat-4.0/sdf/Param.hh: In member function ‘bool sdf::Param::Get(T&) const’:
  354. /usr/include/sdformat-4.0/sdf/Console.hh:47:19: error: ‘Instance’ is not a member of ‘sdf::Console’
  355. #define sdferr (sdf::Console::Instance()->ColorMsg("Error", \
  356. ^
  357. /usr/include/sdformat-4.0/sdf/Param.hh:298:7: note: in expansion of macro ‘sdferr’
  358. sdferr << "Unable to convert parameter["
  359. ^
  360. /usr/include/sdformat-4.0/sdf/Param.hh: In member function ‘bool sdf::Param::GetDefault(T&) const’:
  361. /usr/include/sdformat-4.0/sdf/Console.hh:47:19: error: ‘Instance’ is not a member of ‘sdf::Console’
  362. #define sdferr (sdf::Console::Instance()->ColorMsg("Error", \
  363. ^
  364. /usr/include/sdformat-4.0/sdf/Param.hh:318:7: note: in expansion of macro ‘sdferr’
  365. sdferr << "Unable to convert parameter["
  366. ^
  367. /usr/include/sdformat-4.0/sdf/Param.hh: In member function ‘void sdf::Param::Init(const string&)’:
  368. /usr/include/sdformat-4.0/sdf/Console.hh:47:19: error: ‘Instance’ is not a member of ‘sdf::Console’
  369. #define sdferr (sdf::Console::Instance()->ColorMsg("Error", \
  370. ^
  371. /usr/include/sdformat-4.0/sdf/Param.hh:350:9: note: in expansion of macro ‘sdferr’
  372. sdferr << "Unable to init parameter value from string["
  373. ^
  374. In file included from /usr/include/sdformat-4.0/sdf/sdf.hh:5:0,
  375. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  376. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  377. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  378. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  379. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  380. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  381. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  382. /usr/include/sdformat-4.0/sdf/Element.hh: At global scope:
  383. /usr/include/sdformat-4.0/sdf/Element.hh:53:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  384. typedef std::shared_ptr<Element> ElementPtr;
  385. ^
  386. /usr/include/sdformat-4.0/sdf/Element.hh:57:16: error: ‘weak_ptr’ in namespace ‘std’ does not name a template type
  387. typedef std::weak_ptr<Element> ElementWeakPtr;
  388. ^
  389. /usr/include/sdformat-4.0/sdf/Element.hh:61:23: error: ‘ElementPtr’ was not declared in this scope
  390. typedef std::vector<ElementPtr> ElementPtr_V;
  391. ^
  392. /usr/include/sdformat-4.0/sdf/Element.hh:61:33: error: template argument 1 is invalid
  393. typedef std::vector<ElementPtr> ElementPtr_V;
  394. ^
  395. /usr/include/sdformat-4.0/sdf/Element.hh:61:33: error: template argument 2 is invalid
  396. /usr/include/sdformat-4.0/sdf/Element.hh:69:40: error: expected template-name before ‘<’ token
  397. public std::enable_shared_from_this<Element>
  398. ^
  399. /usr/include/sdformat-4.0/sdf/Element.hh:69:40: error: expected ‘{’ before ‘<’ token
  400. /usr/include/sdformat-4.0/sdf/Element.hh:69:40: error: expected unqualified-id before ‘<’ token
  401. /usr/include/sdformat-4.0/sdf/Element.hh:297:13: error: ‘ElementWeakPtr’ does not name a type
  402. public: ElementWeakPtr parent;
  403. ^
  404. /usr/include/sdformat-4.0/sdf/Element.hh:303:13: error: ‘ParamPtr’ does not name a type
  405. public: ParamPtr value;
  406. ^
  407. /usr/include/sdformat-4.0/sdf/Element.hh:320:41: error: invalid use of incomplete type ‘class sdf::Element’
  408. T Element::Get(const std::string &_key)
  409. ^
  410. /usr/include/sdformat-4.0/sdf/Element.hh:68:26: note: forward declaration of ‘class sdf::Element’
  411. class SDFORMAT_VISIBLE Element :
  412. ^
  413. /usr/include/sdformat-4.0/sdf/Element.hh:343:36: error: invalid use of incomplete type ‘class sdf::Element’
  414. bool Element::Set(const T &_value)
  415. ^
  416. /usr/include/sdformat-4.0/sdf/Element.hh:68:26: note: forward declaration of ‘class sdf::Element’
  417. class SDFORMAT_VISIBLE Element :
  418. ^
  419. In file included from /usr/include/sdformat-4.0/sdf/parser.hh:23:0,
  420. from /usr/include/sdformat-4.0/sdf/sdf.hh:8,
  421. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  422. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  423. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  424. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  425. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  426. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  427. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  428. /usr/include/sdformat-4.0/sdf/SDFImpl.hh:46:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  429. typedef std::shared_ptr<SDF> SDFPtr;
  430. ^
  431. /usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:29: error: variable or field ‘setFindCallback’ declared void
  432. void setFindCallback(std::function<std::string (const std::string &)> _cb);
  433. ^
  434. /usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:24: error: ‘function’ is not a member of ‘std’
  435. void setFindCallback(std::function<std::string (const std::string &)> _cb);
  436. ^
  437. /usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:24: note: suggested alternatives:
  438. In file included from /usr/include/boost/function/function_base.hpp:39:0,
  439. from /usr/include/boost/function/detail/prologue.hpp:17,
  440. from /usr/include/boost/function.hpp:24,
  441. from /opt/ros/kinetic/include/ros/forwards.h:40,
  442. from /opt/ros/kinetic/include/ros/common.h:37,
  443. from /opt/ros/kinetic/include/ros/ros.h:43,
  444. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  445. /usr/include/boost/function/function_fwd.hpp:32:38: note: ‘boost::function’
  446. template<typename Signature> class function;
  447. ^
  448. In file included from /usr/include/boost/function/detail/prologue.hpp:17:0,
  449. from /usr/include/boost/function.hpp:24,
  450. from /opt/ros/kinetic/include/ros/forwards.h:40,
  451. from /opt/ros/kinetic/include/ros/common.h:37,
  452. from /opt/ros/kinetic/include/ros/ros.h:43,
  453. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  454. /usr/include/boost/function/function_base.hpp:91:24: note: ‘boost::detail::function’
  455. namespace function {
  456. ^
  457. In file included from /usr/include/sdformat-4.0/sdf/parser.hh:23:0,
  458. from /usr/include/sdformat-4.0/sdf/sdf.hh:8,
  459. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  460. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  461. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  462. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  463. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  464. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  465. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  466. /usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:50: error: expected primary-expression before ‘(’ token
  467. void setFindCallback(std::function<std::string (const std::string &)> _cb);
  468. ^
  469. /usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:51: error: expected primary-expression before ‘const’
  470. void setFindCallback(std::function<std::string (const std::string &)> _cb);
  471. ^
  472. /usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:73: error: ‘_cb’ was not declared in this scope
  473. void setFindCallback(std::function<std::string (const std::string &)> _cb);
  474. ^
  475. /usr/include/sdformat-4.0/sdf/SDFImpl.hh:94:13: error: ‘ElementPtr’ does not name a type
  476. public: ElementPtr Root() const;
  477. ^
  478. /usr/include/sdformat-4.0/sdf/SDFImpl.hh:98:29: error: ‘ElementPtr’ does not name a type
  479. public: void Root(const ElementPtr _root);
  480. ^
  481. /usr/include/sdformat-4.0/sdf/SDFImpl.hh:117:13: error: ‘ElementPtr’ does not name a type
  482. public: ElementPtr root SDF_DEPRECATED(4.0);
  483. ^
  484. In file included from /usr/include/sdformat-4.0/sdf/sdf.hh:8:0,
  485. from /usr/include/gazebo-7/gazebo/physics/State.hh:32,
  486. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28,
  487. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  488. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  489. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  490. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  491. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  492. /usr/include/sdformat-4.0/sdf/parser.hh:32:13: error: ‘SDFPtr’ was not declared in this scope
  493. bool init(SDFPtr _sdf);
  494. ^
  495. /usr/include/sdformat-4.0/sdf/parser.hh:36:47: error: ‘SDFPtr’ has not been declared
  496. bool initFile(const std::string &_filename, SDFPtr _sdf);
  497. ^
  498. /usr/include/sdformat-4.0/sdf/parser.hh:40:47: error: ‘ElementPtr’ has not been declared
  499. bool initFile(const std::string &_filename, ElementPtr _sdf);
  500. ^
  501. /usr/include/sdformat-4.0/sdf/parser.hh:44:50: error: ‘SDFPtr’ has not been declared
  502. bool initString(const std::string &_xmlString, SDFPtr _sdf);
  503. ^
  504. /usr/include/sdformat-4.0/sdf/parser.hh:48:40: error: ‘SDFPtr’ has not been declared
  505. bool initDoc(TiXmlDocument *_xmlDoc, SDFPtr _sdf);
  506. ^
  507. /usr/include/sdformat-4.0/sdf/parser.hh:52:40: error: ‘ElementPtr’ has not been declared
  508. bool initDoc(TiXmlDocument *_xmlDoc, ElementPtr _sdf);
  509. ^
  510. /usr/include/sdformat-4.0/sdf/parser.hh:56:36: error: ‘ElementPtr’ has not been declared
  511. bool initXml(TiXmlElement *_xml, ElementPtr _sdf);
  512. ^
  513. /usr/include/sdformat-4.0/sdf/parser.hh:60:47: error: ‘SDFPtr’ has not been declared
  514. bool readFile(const std::string &_filename, SDFPtr _sdf);
  515. ^
  516. /usr/include/sdformat-4.0/sdf/parser.hh:64:50: error: ‘SDFPtr’ has not been declared
  517. bool readString(const std::string &_xmlString, SDFPtr _sdf);
  518. ^
  519. /usr/include/sdformat-4.0/sdf/parser.hh:67:50: error: ‘ElementPtr’ has not been declared
  520. bool readString(const std::string &_xmlString, ElementPtr _sdf);
  521. ^
  522. /usr/include/sdformat-4.0/sdf/parser.hh:71:40: error: ‘SDFPtr’ has not been declared
  523. bool readDoc(TiXmlDocument *_xmlDoc, SDFPtr _sdf, const std::string &_source);
  524. ^
  525. /usr/include/sdformat-4.0/sdf/parser.hh:74:40: error: ‘ElementPtr’ has not been declared
  526. bool readDoc(TiXmlDocument *_xmlDoc, ElementPtr _sdf,
  527. ^
  528. /usr/include/sdformat-4.0/sdf/parser.hh:79:36: error: ‘ElementPtr’ has not been declared
  529. bool readXml(TiXmlElement *_xml, ElementPtr _sdf);
  530. ^
  531. /usr/include/sdformat-4.0/sdf/parser.hh:82:21: error: variable or field ‘copyChildren’ declared void
  532. void copyChildren(ElementPtr _sdf, TiXmlElement *_xml);
  533. ^
  534. /usr/include/sdformat-4.0/sdf/parser.hh:82:21: error: ‘ElementPtr’ was not declared in this scope
  535. /usr/include/sdformat-4.0/sdf/parser.hh:82:51: error: expected primary-expression before ‘*’ token
  536. void copyChildren(ElementPtr _sdf, TiXmlElement *_xml);
  537. ^
  538. /usr/include/sdformat-4.0/sdf/parser.hh:82:52: error: ‘_xml’ was not declared in this scope
  539. void copyChildren(ElementPtr _sdf, TiXmlElement *_xml);
  540. ^
  541. /usr/include/sdformat-4.0/sdf/parser.hh:85:23: error: variable or field ‘addNestedModel’ declared void
  542. void addNestedModel(ElementPtr _sdf, ElementPtr _includeSDF);
  543. ^
  544. /usr/include/sdformat-4.0/sdf/parser.hh:85:23: error: ‘ElementPtr’ was not declared in this scope
  545. /usr/include/sdformat-4.0/sdf/parser.hh:85:40: error: ‘ElementPtr’ was not declared in this scope
  546. void addNestedModel(ElementPtr _sdf, ElementPtr _includeSDF);
  547. ^
  548. In file included from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28:0,
  549. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  550. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  551. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  552. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  553. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  554. /usr/include/gazebo-7/gazebo/physics/State.hh:74:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  555. public: virtual void Load(const sdf::ElementPtr _elem);
  556. ^
  557. In file included from /usr/include/gazebo-7/gazebo/physics/LinkState.hh:30:0,
  558. from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:29,
  559. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  560. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  561. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  562. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  563. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  564. /usr/include/gazebo-7/gazebo/physics/CollisionState.hh:58:50: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  565. public: explicit CollisionState(const sdf::ElementPtr _sdf);
  566. ^
  567. /usr/include/gazebo-7/gazebo/physics/CollisionState.hh:67:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  568. public: virtual void Load(const sdf::ElementPtr _elem);
  569. ^
  570. /usr/include/gazebo-7/gazebo/physics/CollisionState.hh:79:33: error: ‘sdf::ElementPtr’ has not been declared
  571. public: void FillSDF(sdf::ElementPtr _sdf);
  572. ^
  573. In file included from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:29:0,
  574. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  575. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  576. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  577. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  578. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  579. /usr/include/gazebo-7/gazebo/physics/LinkState.hh:76:45: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  580. public: explicit LinkState(const sdf::ElementPtr _sdf);
  581. ^
  582. /usr/include/gazebo-7/gazebo/physics/LinkState.hh:96:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  583. public: virtual void Load(const sdf::ElementPtr _elem);
  584. ^
  585. /usr/include/gazebo-7/gazebo/physics/LinkState.hh:149:33: error: ‘sdf::ElementPtr’ has not been declared
  586. public: void FillSDF(sdf::ElementPtr _sdf);
  587. ^
  588. In file included from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:30:0,
  589. from /usr/include/gazebo-7/gazebo/physics/Model.hh:33,
  590. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  591. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  592. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  593. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  594. /usr/include/gazebo-7/gazebo/physics/JointState.hh:67:46: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  595. public: explicit JointState(const sdf::ElementPtr _sdf);
  596. ^
  597. /usr/include/gazebo-7/gazebo/physics/JointState.hh:81:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  598. public: virtual void Load(const sdf::ElementPtr _elem);
  599. ^
  600. /usr/include/gazebo-7/gazebo/physics/JointState.hh:103:33: error: ‘sdf::ElementPtr’ has not been declared
  601. public: void FillSDF(sdf::ElementPtr _sdf);
  602. ^
  603. In file included from /usr/include/gazebo-7/gazebo/physics/Model.hh:33:0,
  604. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  605. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  606. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  607. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  608. /usr/include/gazebo-7/gazebo/physics/ModelState.hh:75:46: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  609. public: explicit ModelState(const sdf::ElementPtr _sdf);
  610. ^
  611. /usr/include/gazebo-7/gazebo/physics/ModelState.hh:95:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  612. public: virtual void Load(const sdf::ElementPtr _elem);
  613. ^
  614. /usr/include/gazebo-7/gazebo/physics/ModelState.hh:204:33: error: ‘sdf::ElementPtr’ has not been declared
  615. public: void FillSDF(sdf::ElementPtr _sdf);
  616. ^
  617. /usr/include/gazebo-7/gazebo/physics/ModelState.hh: In function ‘std::ostream& gazebo::physics::operator<<(std::ostream&, const gazebo::physics::ModelState&)’:
  618. /usr/include/gazebo-7/gazebo/physics/ModelState.hh:268:26: error: ISO C++ forbids declaration of ‘ms’ with no type [-fpermissive]
  619. for (const auto &ms : _state.modelStates)
  620. ^
  621. /usr/include/gazebo-7/gazebo/physics/ModelState.hh:268:31: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
  622. for (const auto &ms : _state.modelStates)
  623. ^
  624. /usr/include/gazebo-7/gazebo/physics/ModelState.hh:270:22: error: request for member ‘second’ in ‘ms’, which is of non-class type ‘const int’
  625. _out << ms.second;
  626. ^
  627. In file included from /usr/include/gazebo-7/gazebo/physics/Entity.hh:30:0,
  628. from /usr/include/gazebo-7/gazebo/physics/Model.hh:34,
  629. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  630. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  631. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  632. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  633. /usr/include/gazebo-7/gazebo/msgs/msgs.hh: At global scope:
  634. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:258:42: error: ‘ElementPtr’ is not a member of ‘sdf’
  635. msgs::TrackVisual TrackVisualFromSDF(sdf::ElementPtr _sdf);
  636. ^
  637. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:264:26: error: ‘ElementPtr’ is not a member of ‘sdf’
  638. msgs::GUI GUIFromSDF(sdf::ElementPtr _sdf);
  639. ^
  640. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:270:30: error: ‘ElementPtr’ is not a member of ‘sdf’
  641. msgs::Light LightFromSDF(sdf::ElementPtr _sdf);
  642. ^
  643. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:276:32: error: ‘ElementPtr’ is not a member of ‘sdf’
  644. msgs::MeshGeom MeshFromSDF(sdf::ElementPtr _sdf);
  645. ^
  646. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:282:36: error: ‘ElementPtr’ is not a member of ‘sdf’
  647. msgs::Geometry GeometryFromSDF(sdf::ElementPtr _sdf);
  648. ^
  649. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:288:32: error: ‘ElementPtr’ is not a member of ‘sdf’
  650. msgs::Visual VisualFromSDF(sdf::ElementPtr _sdf);
  651. ^
  652. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:294:38: error: ‘ElementPtr’ is not a member of ‘sdf’
  653. msgs::Collision CollisionFromSDF(sdf::ElementPtr _sdf);
  654. ^
  655. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:300:34: error: ‘ElementPtr’ is not a member of ‘sdf’
  656. msgs::Surface SurfaceFromSDF(sdf::ElementPtr _sdf);
  657. ^
  658. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:306:36: error: ‘ElementPtr’ is not a member of ‘sdf’
  659. msgs::Friction FrictionFromSDF(sdf::ElementPtr _sdf);
  660. ^
  661. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:312:28: error: ‘ElementPtr’ is not a member of ‘sdf’
  662. msgs::Axis AxisFromSDF(sdf::ElementPtr _sdf);
  663. ^
  664. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:318:30: error: ‘ElementPtr’ is not a member of ‘sdf’
  665. msgs::Joint JointFromSDF(sdf::ElementPtr _sdf);
  666. ^
  667. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:324:43: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  668. msgs::Plugin PluginFromSDF(const sdf::ElementPtr _sdf);
  669. ^
  670. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:332:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  671. sdf::ElementPtr VisualToSDF(const msgs::Visual &_msg,
  672. ^
  673. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:343:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  674. sdf::ElementPtr MaterialToSDF(const msgs::Material &_msg,
  675. ^
  676. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:364:26: error: ‘ElementPtr’ is not a member of ‘sdf’
  677. msgs::Fog FogFromSDF(sdf::ElementPtr _sdf);
  678. ^
  679. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:370:30: error: ‘ElementPtr’ is not a member of ‘sdf’
  680. msgs::Scene SceneFromSDF(sdf::ElementPtr _sdf);
  681. ^
  682. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:379:32: error: ‘ElementPtr’ is not a member of ‘sdf’
  683. msgs::Sensor SensorFromSDF(sdf::ElementPtr _sdf);
  684. ^
  685. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:386:44: error: ‘ElementPtr’ is not a member of ‘sdf’
  686. msgs::CameraSensor CameraSensorFromSDF(sdf::ElementPtr _sdf);
  687. ^
  688. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:393:38: error: ‘ElementPtr’ is not a member of ‘sdf’
  689. msgs::RaySensor RaySensorFromSDF(sdf::ElementPtr _sdf);
  690. ^
  691. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:400:46: error: ‘ElementPtr’ is not a member of ‘sdf’
  692. msgs::ContactSensor ContactSensorFromSDF(sdf::ElementPtr _sdf);
  693. ^
  694. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:408:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  695. sdf::ElementPtr LightToSDF(const msgs::Light &_msg,
  696. ^
  697. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:417:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  698. sdf::ElementPtr CameraSensorToSDF(const msgs::CameraSensor &_msg,
  699. ^
  700. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:426:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  701. sdf::ElementPtr PluginToSDF(const msgs::Plugin &_plugin,
  702. ^
  703. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:435:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  704. sdf::ElementPtr CollisionToSDF(const msgs::Collision &_msg,
  705. ^
  706. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:446:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  707. sdf::ElementPtr LinkToSDF(const msgs::Link &_msg,
  708. ^
  709. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:455:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  710. sdf::ElementPtr InertialToSDF(const msgs::Inertial &_msg,
  711. ^
  712. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:464:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  713. sdf::ElementPtr SurfaceToSDF(const msgs::Surface &_msg,
  714. ^
  715. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:476:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  716. sdf::ElementPtr GeometryToSDF(const msgs::Geometry &_msg,
  717. ^
  718. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:485:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  719. sdf::ElementPtr MeshToSDF(const msgs::MeshGeom &_msg,
  720. ^
  721. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:539:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  722. sdf::ElementPtr ModelToSDF(const msgs::Model &_msg,
  723. ^
  724. /usr/include/gazebo-7/gazebo/msgs/msgs.hh:548:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  725. sdf::ElementPtr JointToSDF(const msgs::Joint &_msg,
  726. ^
  727. In file included from /usr/include/gazebo-7/gazebo/physics/Entity.hh:41:0,
  728. from /usr/include/gazebo-7/gazebo/physics/Model.hh:34,
  729. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  730. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  731. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  732. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  733. /usr/include/gazebo-7/gazebo/physics/Base.hh:157:38: error: ‘sdf::ElementPtr’ has not been declared
  734. public: virtual void Load(sdf::ElementPtr _sdf);
  735. ^
  736. /usr/include/gazebo-7/gazebo/physics/Base.hh:178:50: error: ‘sdf::ElementPtr’ has not been declared
  737. public: virtual void UpdateParameters(sdf::ElementPtr _sdf);
  738. ^
  739. /usr/include/gazebo-7/gazebo/physics/Base.hh:309:34: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  740. public: virtual const sdf::ElementPtr GetSDF();
  741. ^
  742. /usr/include/gazebo-7/gazebo/physics/Base.hh:317:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  743. protected: sdf::ElementPtr sdf;
  744. ^
  745. In file included from /usr/include/gazebo-7/gazebo/physics/Model.hh:34:0,
  746. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  747. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  748. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  749. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  750. /usr/include/gazebo-7/gazebo/physics/Entity.hh:69:38: error: ‘sdf::ElementPtr’ has not been declared
  751. public: virtual void Load(sdf::ElementPtr _sdf);
  752. ^
  753. /usr/include/gazebo-7/gazebo/physics/Entity.hh:79:50: error: ‘sdf::ElementPtr’ has not been declared
  754. public: virtual void UpdateParameters(sdf::ElementPtr _sdf);
  755. ^
  756. In file included from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24:0,
  757. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  758. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  759. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  760. /usr/include/gazebo-7/gazebo/physics/Model.hh:64:30: error: ‘sdf::ElementPtr’ has not been declared
  761. public: void Load(sdf::ElementPtr _sdf);
  762. ^
  763. /usr/include/gazebo-7/gazebo/physics/Model.hh:80:50: error: ‘sdf::ElementPtr’ has not been declared
  764. public: virtual void UpdateParameters(sdf::ElementPtr _sdf);
  765. ^
  766. /usr/include/gazebo-7/gazebo/physics/Model.hh:84:34: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  767. public: virtual const sdf::ElementPtr GetSDF();
  768. ^
  769. /usr/include/gazebo-7/gazebo/physics/Model.hh:91:34: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  770. public: virtual const sdf::ElementPtr UnscaledSDF();
  771. ^
  772. /usr/include/gazebo-7/gazebo/physics/Model.hh:411:36: error: ‘sdf::ElementPtr’ has not been declared
  773. private: void LoadJoint(sdf::ElementPtr _sdf);
  774. ^
  775. /usr/include/gazebo-7/gazebo/physics/Model.hh:415:37: error: ‘sdf::ElementPtr’ has not been declared
  776. private: void LoadPlugin(sdf::ElementPtr _sdf);
  777. ^
  778. /usr/include/gazebo-7/gazebo/physics/Model.hh:419:38: error: ‘sdf::ElementPtr’ has not been declared
  779. private: void LoadGripper(sdf::ElementPtr _sdf);
  780. ^
  781. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:2:0,
  782. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  783. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  784. /usr/include/gazebo-7/gazebo/physics/Actor.hh:82:30: error: ‘sdf::ElementPtr’ has not been declared
  785. public: void Load(sdf::ElementPtr _sdf);
  786. ^
  787. /usr/include/gazebo-7/gazebo/physics/Actor.hh:104:50: error: ‘sdf::ElementPtr’ has not been declared
  788. public: virtual void UpdateParameters(sdf::ElementPtr _sdf);
  789. ^
  790. /usr/include/gazebo-7/gazebo/physics/Actor.hh:108:34: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  791. public: virtual const sdf::ElementPtr GetSDF();
  792. ^
  793. /usr/include/gazebo-7/gazebo/physics/Actor.hh:115:49: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  794. private: void AddSphereInertia(const sdf::ElementPtr &_linkSdf,
  795. ^
  796. /usr/include/gazebo-7/gazebo/physics/Actor.hh:124:51: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  797. private: void AddSphereCollision(const sdf::ElementPtr &_linkSdf,
  798. ^
  799. /usr/include/gazebo-7/gazebo/physics/Actor.hh:136:48: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  800. private: void AddSphereVisual(const sdf::ElementPtr &_linkSdf,
  801. ^
  802. /usr/include/gazebo-7/gazebo/physics/Actor.hh:148:45: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  803. private: void AddBoxVisual(const sdf::ElementPtr &_linkSdf,
  804. ^
  805. /usr/include/gazebo-7/gazebo/physics/Actor.hh:159:47: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  806. private: void AddActorVisual(const sdf::ElementPtr &_linkSdf,
  807. ^
  808. /usr/include/gazebo-7/gazebo/physics/Actor.hh:165:40: error: ‘sdf::ElementPtr’ has not been declared
  809. private: void LoadAnimation(sdf::ElementPtr _sdf);
  810. ^
  811. /usr/include/gazebo-7/gazebo/physics/Actor.hh:169:37: error: ‘sdf::ElementPtr’ has not been declared
  812. private: void LoadScript(sdf::ElementPtr _sdf);
  813. ^
  814. In file included from /usr/include/gazebo-7/gazebo/physics/Joint.hh:25:0,
  815. from /usr/include/gazebo-7/gazebo/physics/BallJoint.hh:25,
  816. from /usr/include/gazebo-7/gazebo/physics/physics.hh:3,
  817. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  818. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  819. /usr/include/gazebo-7/gazebo/common/Event.hh:151:20: error: ‘atomic_bool’ in namespace ‘std’ does not name a type
  820. public: std::atomic_bool on;
  821. ^
  822. /usr/include/gazebo-7/gazebo/common/Event.hh:154:20: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  823. public: std::shared_ptr<boost::function<T> > callback;
  824. ^
  825. /usr/include/gazebo-7/gazebo/common/Event.hh: In constructor ‘gazebo::event::EventConnection<T>::EventConnection(bool, boost::function<Signature>*)’:
  826. /usr/include/gazebo-7/gazebo/common/Event.hh:143:17: error: class ‘gazebo::event::EventConnection<T>’ does not have any field named ‘callback’
  827. : callback(_cb)
  828. ^
  829. /usr/include/gazebo-7/gazebo/common/Event.hh: At global scope:
  830. /usr/include/gazebo-7/gazebo/common/Event.hh:164:29: error: ‘shared_ptr’ is not a member of ‘std’
  831. typedef std::map<int, std::shared_ptr<EventConnection<T> > >
  832. ^
  833. /usr/include/gazebo-7/gazebo/common/Event.hh:164:29: note: suggested alternatives:
  834. In file included from /usr/include/boost/throw_exception.hpp:42:0,
  835. from /usr/include/boost/optional/optional.hpp:29,
  836. from /usr/include/boost/optional.hpp:15,
  837. from /usr/include/boost/format/internals.hpp:20,
  838. from /usr/include/boost/format.hpp:38,
  839. from /usr/include/boost/math/policies/error_handling.hpp:31,
  840. from /usr/include/boost/math/special_functions/round.hpp:14,
  841. from /opt/ros/kinetic/include/ros/time.h:58,
  842. from /opt/ros/kinetic/include/ros/ros.h:38,
  843. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  844. /usr/include/boost/exception/exception.hpp:148:11: note: ‘boost::shared_ptr’
  845. class shared_ptr;
  846. ^
  847. /usr/include/boost/exception/exception.hpp:148:11: note: ‘boost::shared_ptr’
  848. In file included from /usr/include/gazebo-7/gazebo/physics/Joint.hh:25:0,
  849. from /usr/include/gazebo-7/gazebo/physics/BallJoint.hh:25,
  850. from /usr/include/gazebo-7/gazebo/physics/physics.hh:3,
  851. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  852. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  853. /usr/include/gazebo-7/gazebo/common/Event.hh:164:29: error: ‘shared_ptr’ is not a member of ‘std’
  854. typedef std::map<int, std::shared_ptr<EventConnection<T> > >
  855. ^
  856. /usr/include/gazebo-7/gazebo/common/Event.hh:164:29: note: suggested alternatives:
  857. In file included from /usr/include/boost/throw_exception.hpp:42:0,
  858. from /usr/include/boost/optional/optional.hpp:29,
  859. from /usr/include/boost/optional.hpp:15,
  860. from /usr/include/boost/format/internals.hpp:20,
  861. from /usr/include/boost/format.hpp:38,
  862. from /usr/include/boost/math/policies/error_handling.hpp:31,
  863. from /usr/include/boost/math/special_functions/round.hpp:14,
  864. from /opt/ros/kinetic/include/ros/time.h:58,
  865. from /opt/ros/kinetic/include/ros/ros.h:38,
  866. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  867. /usr/include/boost/exception/exception.hpp:148:11: note: ‘boost::shared_ptr’
  868. class shared_ptr;
  869. ^
  870. /usr/include/boost/exception/exception.hpp:148:11: note: ‘boost::shared_ptr’
  871. In file included from /usr/include/gazebo-7/gazebo/physics/Joint.hh:25:0,
  872. from /usr/include/gazebo-7/gazebo/physics/BallJoint.hh:25,
  873. from /usr/include/gazebo-7/gazebo/physics/physics.hh:3,
  874. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  875. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  876. /usr/include/gazebo-7/gazebo/common/Event.hh:164:64: error: template argument 2 is invalid
  877. typedef std::map<int, std::shared_ptr<EventConnection<T> > >
  878. ^
  879. /usr/include/gazebo-7/gazebo/common/Event.hh:164:64: error: template argument 4 is invalid
  880. /usr/include/gazebo-7/gazebo/common/Event.hh:164:66: error: expected unqualified-id before ‘>’ token
  881. typedef std::map<int, std::shared_ptr<EventConnection<T> > >
  882. ^
  883. /usr/include/gazebo-7/gazebo/common/Event.hh:168:15: error: ‘EvtConnectionMap’ does not name a type
  884. public: EvtConnectionMap connections;
  885. ^
  886. /usr/include/gazebo-7/gazebo/common/Event.hh:171:20: error: ‘mutex’ in namespace ‘std’ does not name a type
  887. public: std::mutex mutex;
  888. ^
  889. /usr/include/gazebo-7/gazebo/common/Event.hh:174:66: error: template argument 1 is invalid
  890. public: std::list<typename EvtConnectionMap::const_iterator>
  891. ^
  892. /usr/include/gazebo-7/gazebo/common/Event.hh:174:66: error: template argument 2 is invalid
  893. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal()’:
  894. /usr/include/gazebo-7/gazebo/common/Event.hh:362:19: error: ‘iter’ does not name a type
  895. for (auto iter: this->myDataPtr->connections)
  896. ^
  897. /usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected ‘;’ before ‘}’ token
  898. }
  899. ^
  900. /usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected primary-expression before ‘}’ token
  901. /usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected ‘;’ before ‘}’ token
  902. /usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected primary-expression before ‘}’ token
  903. /usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected ‘)’ before ‘}’ token
  904. /usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected primary-expression before ‘}’ token
  905. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P&)’:
  906. /usr/include/gazebo-7/gazebo/common/Event.hh:377:19: error: ‘iter’ does not name a type
  907. for (auto iter: this->myDataPtr->connections)
  908. ^
  909. /usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected ‘;’ before ‘}’ token
  910. }
  911. ^
  912. /usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected primary-expression before ‘}’ token
  913. /usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected ‘;’ before ‘}’ token
  914. /usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected primary-expression before ‘}’ token
  915. /usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected ‘)’ before ‘}’ token
  916. /usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected primary-expression before ‘}’ token
  917. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&)’:
  918. /usr/include/gazebo-7/gazebo/common/Event.hh:393:19: error: ‘iter’ does not name a type
  919. for (auto iter: this->myDataPtr->connections)
  920. ^
  921. /usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected ‘;’ before ‘}’ token
  922. }
  923. ^
  924. /usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected primary-expression before ‘}’ token
  925. /usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected ‘;’ before ‘}’ token
  926. /usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected primary-expression before ‘}’ token
  927. /usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected ‘)’ before ‘}’ token
  928. /usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected primary-expression before ‘}’ token
  929. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&)’:
  930. /usr/include/gazebo-7/gazebo/common/Event.hh:410:19: error: ‘iter’ does not name a type
  931. for (auto iter: this->myDataPtr->connections)
  932. ^
  933. /usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected ‘;’ before ‘}’ token
  934. }
  935. ^
  936. /usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected primary-expression before ‘}’ token
  937. /usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected ‘;’ before ‘}’ token
  938. /usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected primary-expression before ‘}’ token
  939. /usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected ‘)’ before ‘}’ token
  940. /usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected primary-expression before ‘}’ token
  941. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&)’:
  942. /usr/include/gazebo-7/gazebo/common/Event.hh:429:19: error: ‘iter’ does not name a type
  943. for (auto iter: this->myDataPtr->connections)
  944. ^
  945. /usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected ‘;’ before ‘}’ token
  946. }
  947. ^
  948. /usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected primary-expression before ‘}’ token
  949. /usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected ‘;’ before ‘}’ token
  950. /usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected primary-expression before ‘}’ token
  951. /usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected ‘)’ before ‘}’ token
  952. /usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected primary-expression before ‘}’ token
  953. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&)’:
  954. /usr/include/gazebo-7/gazebo/common/Event.hh:450:19: error: ‘iter’ does not name a type
  955. for (auto iter: this->myDataPtr->connections)
  956. ^
  957. /usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected ‘;’ before ‘}’ token
  958. }
  959. ^
  960. /usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected primary-expression before ‘}’ token
  961. /usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected ‘;’ before ‘}’ token
  962. /usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected primary-expression before ‘}’ token
  963. /usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected ‘)’ before ‘}’ token
  964. /usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected primary-expression before ‘}’ token
  965. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&, const P6&)’:
  966. /usr/include/gazebo-7/gazebo/common/Event.hh:472:19: error: ‘iter’ does not name a type
  967. for (auto iter: this->myDataPtr->connections)
  968. ^
  969. /usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected ‘;’ before ‘}’ token
  970. }
  971. ^
  972. /usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected primary-expression before ‘}’ token
  973. /usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected ‘;’ before ‘}’ token
  974. /usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected primary-expression before ‘}’ token
  975. /usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected ‘)’ before ‘}’ token
  976. /usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected primary-expression before ‘}’ token
  977. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&, const P6&, const P7&)’:
  978. /usr/include/gazebo-7/gazebo/common/Event.hh:495:19: error: ‘iter’ does not name a type
  979. for (auto iter: this->myDataPtr->connections.begin())
  980. ^
  981. /usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected ‘;’ before ‘}’ token
  982. }
  983. ^
  984. /usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected primary-expression before ‘}’ token
  985. /usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected ‘;’ before ‘}’ token
  986. /usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected primary-expression before ‘}’ token
  987. /usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected ‘)’ before ‘}’ token
  988. /usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected primary-expression before ‘}’ token
  989. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&, const P6&, const P7&, const P8&)’:
  990. /usr/include/gazebo-7/gazebo/common/Event.hh:520:19: error: ‘iter’ does not name a type
  991. for (auto iter: this->myDataPtr->connections)
  992. ^
  993. /usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected ‘;’ before ‘}’ token
  994. }
  995. ^
  996. /usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected primary-expression before ‘}’ token
  997. /usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected ‘;’ before ‘}’ token
  998. /usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected primary-expression before ‘}’ token
  999. /usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected ‘)’ before ‘}’ token
  1000. /usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected primary-expression before ‘}’ token
  1001. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&, const P6&, const P7&, const P8&, const P9&)’:
  1002. /usr/include/gazebo-7/gazebo/common/Event.hh:549:19: error: ‘iter’ does not name a type
  1003. for (auto iter: this->myDataPtr->connections)
  1004. ^
  1005. /usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected ‘;’ before ‘}’ token
  1006. }
  1007. ^
  1008. /usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected primary-expression before ‘}’ token
  1009. /usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected ‘;’ before ‘}’ token
  1010. /usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected primary-expression before ‘}’ token
  1011. /usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected ‘)’ before ‘}’ token
  1012. /usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected primary-expression before ‘}’ token
  1013. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&, const P6&, const P7&, const P8&, const P9&, const P10&)’:
  1014. /usr/include/gazebo-7/gazebo/common/Event.hh:580:19: error: ‘iter’ does not name a type
  1015. for (auto iter: this->myDataPtr->connections)
  1016. ^
  1017. /usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected ‘;’ before ‘}’ token
  1018. }
  1019. ^
  1020. /usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected primary-expression before ‘}’ token
  1021. /usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected ‘;’ before ‘}’ token
  1022. /usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected primary-expression before ‘}’ token
  1023. /usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected ‘)’ before ‘}’ token
  1024. /usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected primary-expression before ‘}’ token
  1025. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘gazebo::event::ConnectionPtr gazebo::event::EventT<T>::Connect(const boost::function<Signature>&)’:
  1026. /usr/include/gazebo-7/gazebo/common/Event.hh:622:21: error: ISO C++ forbids declaration of ‘iter’ with no type [-fpermissive]
  1027. auto const &iter = this->myDataPtr->connections.rbegin();
  1028. ^
  1029. /usr/include/gazebo-7/gazebo/common/Event.hh:623:21: error: base operand of ‘->’ is not a pointer
  1030. index = iter->first + 1;
  1031. ^
  1032. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘virtual void gazebo::event::EventT<T>::Disconnect(int)’:
  1033. /usr/include/gazebo-7/gazebo/common/Event.hh:657:19: error: ISO C++ forbids declaration of ‘it’ with no type [-fpermissive]
  1034. auto const &it = this->myDataPtr->connections.find(_id);
  1035. ^
  1036. /usr/include/gazebo-7/gazebo/common/Event.hh:661:11: error: base operand of ‘->’ is not a pointer
  1037. it->second->on = false;
  1038. ^
  1039. /usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Cleanup()’:
  1040. /usr/include/gazebo-7/gazebo/common/Event.hh:670:7: error: ‘lock_guard’ is not a member of ‘std’
  1041. std::lock_guard<std::mutex> lock(this->myDataPtr->mutex);
  1042. ^
  1043. /usr/include/gazebo-7/gazebo/common/Event.hh:670:7: note: suggested alternative:
  1044. In file included from /usr/include/boost/thread/pthread/thread_data.hpp:11:0,
  1045. from /usr/include/boost/thread/pthread/condition_variable.hpp:12,
  1046. from /usr/include/boost/thread/condition_variable.hpp:16,
  1047. from /usr/include/boost/thread/condition.hpp:13,
  1048. from /opt/ros/kinetic/include/actionlib/server/simple_action_server.h:40,
  1049. from /opt/ros/kinetic/include/robot_controllers_interface/controller_manager.h:36,
  1050. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:39:
  1051. /usr/include/boost/thread/lock_guard.hpp:26:9: note: ‘boost::lock_guard’
  1052. class lock_guard
  1053. ^
  1054. In file included from /usr/include/gazebo-7/gazebo/physics/Joint.hh:25:0,
  1055. from /usr/include/gazebo-7/gazebo/physics/BallJoint.hh:25,
  1056. from /usr/include/gazebo-7/gazebo/physics/physics.hh:3,
  1057. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1058. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1059. /usr/include/gazebo-7/gazebo/common/Event.hh:670:23: error: ‘mutex’ is not a member of ‘std’
  1060. std::lock_guard<std::mutex> lock(this->myDataPtr->mutex);
  1061. ^
  1062. /usr/include/gazebo-7/gazebo/common/Event.hh:670:23: note: suggested alternative:
  1063. In file included from /usr/include/boost/thread/mutex.hpp:16:0,
  1064. from /usr/include/boost/thread/pthread/thread_data.hpp:13,
  1065. from /usr/include/boost/thread/pthread/condition_variable.hpp:12,
  1066. from /usr/include/boost/thread/condition_variable.hpp:16,
  1067. from /usr/include/boost/thread/condition.hpp:13,
  1068. from /opt/ros/kinetic/include/actionlib/server/simple_action_server.h:40,
  1069. from /opt/ros/kinetic/include/robot_controllers_interface/controller_manager.h:36,
  1070. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:39:
  1071. /usr/include/boost/thread/pthread/mutex.hpp:92:11: note: ‘boost::mutex’
  1072. class mutex
  1073. ^
  1074. In file included from /usr/include/gazebo-7/gazebo/physics/Joint.hh:25:0,
  1075. from /usr/include/gazebo-7/gazebo/physics/BallJoint.hh:25,
  1076. from /usr/include/gazebo-7/gazebo/physics/physics.hh:3,
  1077. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1078. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1079. /usr/include/gazebo-7/gazebo/common/Event.hh:672:18: error: ISO C++ forbids declaration of ‘conn’ with no type [-fpermissive]
  1080. for (auto &conn : this->myDataPtr->connectionsToRemove)
  1081. ^
  1082. /usr/include/gazebo-7/gazebo/common/Event.hh:672:25: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
  1083. for (auto &conn : this->myDataPtr->connectionsToRemove)
  1084. ^
  1085. In file included from /usr/include/gazebo-7/gazebo/physics/Joint.hh:26:0,
  1086. from /usr/include/gazebo-7/gazebo/physics/BallJoint.hh:25,
  1087. from /usr/include/gazebo-7/gazebo/physics/physics.hh:3,
  1088. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1089. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1090. /usr/include/gazebo-7/gazebo/common/Events.hh: At global scope:
  1091. /usr/include/gazebo-7/gazebo/common/Events.hh:346:35: error: ‘ElementPtr’ is not a member of ‘sdf’
  1092. public: static EventT<void (sdf::ElementPtr,
  1093. ^
  1094. /usr/include/gazebo-7/gazebo/common/Events.hh:349:33: error: expression list treated as compound expression in functional cast [-fpermissive]
  1095. const uint32_t)> createSensor;
  1096. ^
  1097. /usr/include/gazebo-7/gazebo/common/Events.hh:349:34: error: template argument 1 is invalid
  1098. const uint32_t)> createSensor;
  1099. ^
  1100. /usr/include/gazebo-7/gazebo/common/Events.hh: In static member function ‘static gazebo::event::ConnectionPtr gazebo::event::Events::ConnectCreateSensor(T)’:
  1101. /usr/include/gazebo-7/gazebo/common/Events.hh:203:37: error: request for member ‘Connect’ in ‘gazebo::event::Events::createSensor’, which is of non-class type ‘int’
  1102. { return createSensor.Connect(_subscriber); }
  1103. ^
  1104. /usr/include/gazebo-7/gazebo/common/Events.hh: In static member function ‘static void gazebo::event::Events::DisconnectCreateSensor(gazebo::event::ConnectionPtr)’:
  1105. /usr/include/gazebo-7/gazebo/common/Events.hh:208:30: error: request for member ‘Disconnect’ in ‘gazebo::event::Events::createSensor’, which is of non-class type ‘int’
  1106. { createSensor.Disconnect(_subscriber); }
  1107. ^
  1108. In file included from /usr/include/gazebo-7/gazebo/physics/BallJoint.hh:25:0,
  1109. from /usr/include/gazebo-7/gazebo/physics/physics.hh:3,
  1110. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1111. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1112. /usr/include/gazebo-7/gazebo/physics/Joint.hh: At global scope:
  1113. /usr/include/gazebo-7/gazebo/physics/Joint.hh:106:38: error: ‘sdf::ElementPtr’ has not been declared
  1114. public: virtual void Load(sdf::ElementPtr _sdf);
  1115. ^
  1116. /usr/include/gazebo-7/gazebo/physics/Joint.hh:119:50: error: ‘sdf::ElementPtr’ has not been declared
  1117. public: virtual void UpdateParameters(sdf::ElementPtr _sdf);
  1118. ^
  1119. /usr/include/gazebo-7/gazebo/physics/Joint.hh:660:28: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1120. private: static sdf::ElementPtr sdfJoint;
  1121. ^
  1122. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:3:0,
  1123. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1124. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1125. /usr/include/gazebo-7/gazebo/physics/BallJoint.hh:62:30: error: ‘sdf::ElementPtr’ has not been declared
  1126. public: void Load(sdf::ElementPtr _sdf)
  1127. ^
  1128. In file included from /usr/include/gazebo-7/gazebo/physics/Shape.hh:33:0,
  1129. from /usr/include/gazebo-7/gazebo/physics/BoxShape.hh:25,
  1130. from /usr/include/gazebo-7/gazebo/physics/physics.hh:5,
  1131. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1132. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1133. /usr/include/gazebo-7/gazebo/physics/Inertial.hh:63:30: error: ‘sdf::ElementPtr’ has not been declared
  1134. public: void Load(sdf::ElementPtr _sdf);
  1135. ^
  1136. /usr/include/gazebo-7/gazebo/physics/Inertial.hh:67:42: error: ‘sdf::ElementPtr’ has not been declared
  1137. public: void UpdateParameters(sdf::ElementPtr _sdf);
  1138. ^
  1139. /usr/include/gazebo-7/gazebo/physics/Inertial.hh:271:21: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1140. private: sdf::ElementPtr sdf;
  1141. ^
  1142. /usr/include/gazebo-7/gazebo/physics/Inertial.hh:275:28: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1143. private: static sdf::ElementPtr sdfInertial;
  1144. ^
  1145. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:6:0,
  1146. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1147. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1148. /usr/include/gazebo-7/gazebo/physics/Collision.hh:58:38: error: ‘sdf::ElementPtr’ has not been declared
  1149. public: virtual void Load(sdf::ElementPtr _sdf);
  1150. ^
  1151. /usr/include/gazebo-7/gazebo/physics/Collision.hh:65:50: error: ‘sdf::ElementPtr’ has not been declared
  1152. public: virtual void UpdateParameters(sdf::ElementPtr _sdf);
  1153. ^
  1154. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:12:0,
  1155. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1156. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1157. /usr/include/gazebo-7/gazebo/physics/FixedJoint.hh:49:38: error: ‘sdf::ElementPtr’ has not been declared
  1158. public: virtual void Load(sdf::ElementPtr _sdf)
  1159. ^
  1160. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:13:0,
  1161. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1162. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1163. /usr/include/gazebo-7/gazebo/physics/HeightmapShape.hh:59:38: error: ‘sdf::ElementPtr’ has not been declared
  1164. public: virtual void Load(sdf::ElementPtr _sdf);
  1165. ^
  1166. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:14:0,
  1167. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1168. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1169. /usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh:59:38: error: ‘sdf::ElementPtr’ has not been declared
  1170. public: virtual void Load(sdf::ElementPtr _sdf)
  1171. ^
  1172. /usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh: In member function ‘virtual void gazebo::physics::Hinge2Joint<T>::Load(int)’:
  1173. /usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh:64:25: error: base operand of ‘->’ is not a pointer
  1174. _sdf->GetElement("axis")->Get<math::Vector3>("xyz"));
  1175. ^
  1176. /usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh:64:64: error: expected primary-expression before ‘>’ token
  1177. _sdf->GetElement("axis")->Get<math::Vector3>("xyz"));
  1178. ^
  1179. /usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh:67:25: error: base operand of ‘->’ is not a pointer
  1180. _sdf->GetElement("axis2")->Get<math::Vector3>("xyz"));
  1181. ^
  1182. /usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh:67:65: error: expected primary-expression before ‘>’ token
  1183. _sdf->GetElement("axis2")->Get<math::Vector3>("xyz"));
  1184. ^
  1185. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:15:0,
  1186. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1187. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1188. /usr/include/gazebo-7/gazebo/physics/HingeJoint.hh: At global scope:
  1189. /usr/include/gazebo-7/gazebo/physics/HingeJoint.hh:55:38: error: ‘sdf::ElementPtr’ has not been declared
  1190. public: virtual void Load(sdf::ElementPtr _sdf)
  1191. ^
  1192. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:16:0,
  1193. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1194. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1195. /usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:60:38: error: ‘sdf::ElementPtr’ has not been declared
  1196. public: virtual void Load(sdf::ElementPtr _sdf)
  1197. ^
  1198. /usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh: In member function ‘virtual void gazebo::physics::GearboxJoint<T>::Load(int)’:
  1199. /usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:63:25: error: base operand of ‘->’ is not a pointer
  1200. if (_sdf->HasElement("gearbox_ratio"))
  1201. ^
  1202. /usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:66:25: error: base operand of ‘->’ is not a pointer
  1203. _sdf->Get<double>("gearbox_ratio");
  1204. ^
  1205. /usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:66:31: error: expected primary-expression before ‘double’
  1206. _sdf->Get<double>("gearbox_ratio");
  1207. ^
  1208. /usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:66:31: error: expected ‘;’ before ‘double’
  1209. /usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:78:25: error: base operand of ‘->’ is not a pointer
  1210. if (_sdf->HasElement("gearbox_reference_body"))
  1211. ^
  1212. /usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:81:25: error: base operand of ‘->’ is not a pointer
  1213. _sdf->Get<std::string>("gearbox_reference_body");
  1214. ^
  1215. /usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:81:42: error: expected primary-expression before ‘>’ token
  1216. _sdf->Get<std::string>("gearbox_reference_body");
  1217. ^
  1218. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:18:0,
  1219. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1220. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1221. /usr/include/gazebo-7/gazebo/physics/Gripper.hh: At global scope:
  1222. /usr/include/gazebo-7/gazebo/physics/Gripper.hh:56:38: error: ‘sdf::ElementPtr’ has not been declared
  1223. public: virtual void Load(sdf::ElementPtr _sdf);
  1224. ^
  1225. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:24:0,
  1226. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1227. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1228. /usr/include/gazebo-7/gazebo/physics/LightState.hh:40:30: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  1229. public: LightState() = default;
  1230. ^
  1231. /usr/include/gazebo-7/gazebo/physics/LightState.hh:57:46: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1232. public: explicit LightState(const sdf::ElementPtr _sdf);
  1233. ^
  1234. /usr/include/gazebo-7/gazebo/physics/LightState.hh:63:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1235. public: virtual void Load(const sdf::ElementPtr _elem);
  1236. ^
  1237. /usr/include/gazebo-7/gazebo/physics/LightState.hh:86:33: error: ‘sdf::ElementPtr’ has not been declared
  1238. public: void FillSDF(sdf::ElementPtr _sdf);
  1239. ^
  1240. In file included from /usr/include/gazebo-7/gazebo/physics/Link.hh:37:0,
  1241. from /usr/include/gazebo-7/gazebo/physics/physics.hh:25,
  1242. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1243. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1244. /usr/include/gazebo-7/gazebo/util/UtilTypes.hh:40:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1245. typedef std::shared_ptr<DiagnosticTimer> DiagnosticTimerPtr;
  1246. ^
  1247. /usr/include/gazebo-7/gazebo/util/UtilTypes.hh:44:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1248. typedef std::shared_ptr<OpenALSink> OpenALSinkPtr;
  1249. ^
  1250. /usr/include/gazebo-7/gazebo/util/UtilTypes.hh:48:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1251. typedef std::shared_ptr<OpenALSource> OpenALSourcePtr;
  1252. ^
  1253. /usr/include/gazebo-7/gazebo/util/UtilTypes.hh:52:18: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
  1254. typedef std::unordered_map<std::string, DiagnosticTimerPtr> TimerMap;
  1255. ^
  1256. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:25:0,
  1257. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1258. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1259. /usr/include/gazebo-7/gazebo/physics/Link.hh:79:38: error: ‘sdf::ElementPtr’ has not been declared
  1260. public: virtual void Load(sdf::ElementPtr _sdf);
  1261. ^
  1262. /usr/include/gazebo-7/gazebo/physics/Link.hh:95:50: error: ‘sdf::ElementPtr’ has not been declared
  1263. public: virtual void UpdateParameters(sdf::ElementPtr _sdf);
  1264. ^
  1265. /usr/include/gazebo-7/gazebo/physics/Link.hh:561:23: error: ‘BatteryPtr’ in namespace ‘gazebo::common’ does not name a type
  1266. public: common::BatteryPtr Battery(const std::string &_name) const;
  1267. ^
  1268. /usr/include/gazebo-7/gazebo/physics/Link.hh:565:23: error: ‘BatteryPtr’ in namespace ‘gazebo::common’ does not name a type
  1269. public: common::BatteryPtr Battery(const size_t _index) const;
  1270. ^
  1271. /usr/include/gazebo-7/gazebo/physics/Link.hh:598:40: error: ‘sdf::ElementPtr’ has not been declared
  1272. private: void LoadCollision(sdf::ElementPtr _sdf);
  1273. ^
  1274. /usr/include/gazebo-7/gazebo/physics/Link.hh:635:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1275. private: void LoadBattery(const sdf::ElementPtr _sdf);
  1276. ^
  1277. /usr/include/gazebo-7/gazebo/physics/Link.hh:705:28: error: ‘BatteryPtr’ is not a member of ‘gazebo::common’
  1278. private: std::vector<common::BatteryPtr> batteries;
  1279. ^
  1280. /usr/include/gazebo-7/gazebo/physics/Link.hh:705:28: note: suggested alternative:
  1281. In file included from /usr/include/gazebo-7/gazebo/msgs/MessageTypes.hh:9:0,
  1282. from /usr/include/gazebo-7/gazebo/msgs/msgs.hh:30,
  1283. from /usr/include/gazebo-7/gazebo/physics/Entity.hh:30,
  1284. from /usr/include/gazebo-7/gazebo/physics/Model.hh:34,
  1285. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  1286. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  1287. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1288. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1289. /usr/include/gazebo-7/gazebo/msgs/battery.pb.h:245:50: note: ‘gazebo::msgs::BatteryPtr’
  1290. typedef boost::shared_ptr<gazebo::msgs::Battery> BatteryPtr;
  1291. ^
  1292. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:25:0,
  1293. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1294. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1295. /usr/include/gazebo-7/gazebo/physics/Link.hh:705:28: error: ‘BatteryPtr’ is not a member of ‘gazebo::common’
  1296. private: std::vector<common::BatteryPtr> batteries;
  1297. ^
  1298. /usr/include/gazebo-7/gazebo/physics/Link.hh:705:28: note: suggested alternative:
  1299. In file included from /usr/include/gazebo-7/gazebo/msgs/MessageTypes.hh:9:0,
  1300. from /usr/include/gazebo-7/gazebo/msgs/msgs.hh:30,
  1301. from /usr/include/gazebo-7/gazebo/physics/Entity.hh:30,
  1302. from /usr/include/gazebo-7/gazebo/physics/Model.hh:34,
  1303. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  1304. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  1305. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1306. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1307. /usr/include/gazebo-7/gazebo/msgs/battery.pb.h:245:50: note: ‘gazebo::msgs::BatteryPtr’
  1308. typedef boost::shared_ptr<gazebo::msgs::Battery> BatteryPtr;
  1309. ^
  1310. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:25:0,
  1311. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1312. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1313. /usr/include/gazebo-7/gazebo/physics/Link.hh:705:46: error: template argument 1 is invalid
  1314. private: std::vector<common::BatteryPtr> batteries;
  1315. ^
  1316. /usr/include/gazebo-7/gazebo/physics/Link.hh:705:46: error: template argument 2 is invalid
  1317. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:27:0,
  1318. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1319. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1320. /usr/include/gazebo-7/gazebo/physics/MapShape.hh:60:38: error: ‘sdf::ElementPtr’ has not been declared
  1321. public: virtual void Load(sdf::ElementPtr _sdf);
  1322. ^
  1323. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:31:0,
  1324. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1325. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1326. /usr/include/gazebo-7/gazebo/physics/MultiRayShape.hh:160:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1327. protected: sdf::ElementPtr rayElem;
  1328. ^
  1329. /usr/include/gazebo-7/gazebo/physics/MultiRayShape.hh:163:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1330. protected: sdf::ElementPtr scanElem;
  1331. ^
  1332. /usr/include/gazebo-7/gazebo/physics/MultiRayShape.hh:166:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1333. protected: sdf::ElementPtr horzElem;
  1334. ^
  1335. /usr/include/gazebo-7/gazebo/physics/MultiRayShape.hh:169:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1336. protected: sdf::ElementPtr vertElem;
  1337. ^
  1338. /usr/include/gazebo-7/gazebo/physics/MultiRayShape.hh:172:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1339. protected: sdf::ElementPtr rangeElem;
  1340. ^
  1341. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:32:0,
  1342. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1343. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1344. /usr/include/gazebo-7/gazebo/physics/PhysicsIface.hh:59:43: error: ‘sdf::ElementPtr’ has not been declared
  1345. void load_world(WorldPtr _world, sdf::ElementPtr _sdf);
  1346. ^
  1347. /usr/include/gazebo-7/gazebo/physics/PhysicsIface.hh:87:27: error: variable or field ‘load_worlds’ declared void
  1348. void load_worlds(sdf::ElementPtr _sdf);
  1349. ^
  1350. /usr/include/gazebo-7/gazebo/physics/PhysicsIface.hh:87:22: error: ‘ElementPtr’ is not a member of ‘sdf’
  1351. void load_worlds(sdf::ElementPtr _sdf);
  1352. ^
  1353. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:33:0,
  1354. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1355. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1356. /usr/include/gazebo-7/gazebo/physics/PhysicsEngine.hh:51:38: error: ‘sdf::ElementPtr’ has not been declared
  1357. public: virtual void Load(sdf::ElementPtr _sdf);
  1358. ^
  1359. /usr/include/gazebo-7/gazebo/physics/PhysicsEngine.hh:232:20: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1360. public: sdf::ElementPtr GetSDF() const;
  1361. ^
  1362. /usr/include/gazebo-7/gazebo/physics/PhysicsEngine.hh:246:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1363. protected: sdf::ElementPtr sdf;
  1364. ^
  1365. In file included from /usr/include/gazebo-7/gazebo/physics/World.hh:47:0,
  1366. from /usr/include/gazebo-7/gazebo/physics/Population.hh:28,
  1367. from /usr/include/gazebo-7/gazebo/physics/physics.hh:38,
  1368. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1369. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1370. /usr/include/gazebo-7/gazebo/physics/WorldState.hh:62:46: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1371. public: explicit WorldState(const sdf::ElementPtr _sdf);
  1372. ^
  1373. /usr/include/gazebo-7/gazebo/physics/WorldState.hh:77:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1374. public: virtual void Load(const sdf::ElementPtr _elem);
  1375. ^
  1376. /usr/include/gazebo-7/gazebo/physics/WorldState.hh:162:33: error: ‘sdf::ElementPtr’ has not been declared
  1377. public: void FillSDF(sdf::ElementPtr _sdf);
  1378. ^
  1379. /usr/include/gazebo-7/gazebo/physics/WorldState.hh: In function ‘std::ostream& gazebo::physics::operator<<(std::ostream&, const gazebo::physics::WorldState&)’:
  1380. /usr/include/gazebo-7/gazebo/physics/WorldState.hh:237:26: error: ISO C++ forbids declaration of ‘model’ with no type [-fpermissive]
  1381. for (const auto &model : _state.modelStates)
  1382. ^
  1383. /usr/include/gazebo-7/gazebo/physics/WorldState.hh:237:34: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
  1384. for (const auto &model : _state.modelStates)
  1385. ^
  1386. /usr/include/gazebo-7/gazebo/physics/WorldState.hh:239:25: error: request for member ‘second’ in ‘model’, which is of non-class type ‘const int’
  1387. _out << model.second;
  1388. ^
  1389. /usr/include/gazebo-7/gazebo/physics/WorldState.hh:243:26: error: ISO C++ forbids declaration of ‘light’ with no type [-fpermissive]
  1390. for (const auto &light : _state.lightStates)
  1391. ^
  1392. /usr/include/gazebo-7/gazebo/physics/WorldState.hh:243:34: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
  1393. for (const auto &light : _state.lightStates)
  1394. ^
  1395. /usr/include/gazebo-7/gazebo/physics/WorldState.hh:245:25: error: request for member ‘second’ in ‘light’, which is of non-class type ‘const int’
  1396. _out << light.second;
  1397. ^
  1398. In file included from /usr/include/gazebo-7/gazebo/physics/Population.hh:28:0,
  1399. from /usr/include/gazebo-7/gazebo/physics/physics.hh:38,
  1400. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1401. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1402. /usr/include/gazebo-7/gazebo/physics/World.hh: At global scope:
  1403. /usr/include/gazebo-7/gazebo/physics/World.hh:82:30: error: ‘sdf::ElementPtr’ has not been declared
  1404. public: void Load(sdf::ElementPtr _sdf);
  1405. ^
  1406. /usr/include/gazebo-7/gazebo/physics/World.hh:305:36: error: ‘sdf::ElementPtr’ has not been declared
  1407. sdf::ElementPtr _sdf);
  1408. ^
  1409. /usr/include/gazebo-7/gazebo/physics/World.hh:418:39: error: ‘sdf::ElementPtr’ has not been declared
  1410. private: void LoadEntities(sdf::ElementPtr _sdf, BasePtr _parent);
  1411. ^
  1412. /usr/include/gazebo-7/gazebo/physics/World.hh:424:40: error: ‘sdf::ElementPtr’ has not been declared
  1413. private: ModelPtr LoadModel(sdf::ElementPtr _sdf, BasePtr _parent);
  1414. ^
  1415. /usr/include/gazebo-7/gazebo/physics/World.hh:430:46: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1416. private: LightPtr LoadLight(const sdf::ElementPtr &_sdf,
  1417. ^
  1418. /usr/include/gazebo-7/gazebo/physics/World.hh:437:40: error: ‘sdf::ElementPtr’ has not been declared
  1419. private: ActorPtr LoadActor(sdf::ElementPtr _sdf, BasePtr _parent);
  1420. ^
  1421. /usr/include/gazebo-7/gazebo/physics/World.hh:443:38: error: ‘sdf::ElementPtr’ has not been declared
  1422. private: RoadPtr LoadRoad(sdf::ElementPtr _sdf, BasePtr _parent);
  1423. ^
  1424. /usr/include/gazebo-7/gazebo/physics/World.hh:502:37: error: ‘sdf::ElementPtr’ has not been declared
  1425. private: void LoadPlugin(sdf::ElementPtr _sdf);
  1426. ^
  1427. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:38:0,
  1428. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1429. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1430. /usr/include/gazebo-7/gazebo/physics/Population.hh:90:42: error: expected ‘)’ before ‘_sdf’
  1431. public: Population(sdf::ElementPtr _sdf, boost::shared_ptr<World> _world);
  1432. ^
  1433. /usr/include/gazebo-7/gazebo/physics/Population.hh:104:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1434. private: bool PopulateOne(const sdf::ElementPtr _population);
  1435. ^
  1436. /usr/include/gazebo-7/gazebo/physics/Population.hh:113:20: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1437. const sdf::ElementPtr &_sdfElement, const std::string &_element,
  1438. ^
  1439. /usr/include/gazebo-7/gazebo/physics/Population.hh:132:47: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1440. private: bool ElementFromSdf(const sdf::ElementPtr &_sdfElement,
  1441. ^
  1442. /usr/include/gazebo-7/gazebo/physics/Population.hh:133:43: error: ‘sdf::ElementPtr’ has not been declared
  1443. const std::string &_element, sdf::ElementPtr &_value);
  1444. ^
  1445. /usr/include/gazebo-7/gazebo/physics/Population.hh:143:35: error: ‘sdf::ElementPtr’ has not been declared
  1446. private: bool ParseSdf(sdf::ElementPtr _population,
  1447. ^
  1448. /usr/include/gazebo-7/gazebo/physics/Population.hh: In member function ‘bool gazebo::physics::Population::ValueFromSdf(const int&, const string&, T&)’:
  1449. /usr/include/gazebo-7/gazebo/physics/Population.hh:116:24: error: base operand of ‘->’ is not a pointer
  1450. if (_sdfElement->HasElement(_element))
  1451. ^
  1452. /usr/include/gazebo-7/gazebo/physics/Population.hh:118:31: error: base operand of ‘->’ is not a pointer
  1453. _value = _sdfElement->Get<T>(_element);
  1454. ^
  1455. /usr/include/gazebo-7/gazebo/physics/Population.hh:118:38: error: expected primary-expression before ‘>’ token
  1456. _value = _sdfElement->Get<T>(_element);
  1457. ^
  1458. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:39:0,
  1459. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1460. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1461. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh: At global scope:
  1462. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh:79:51: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1463. public: bool SetAllParamsFromSDF(const sdf::ElementPtr _elem);
  1464. ^
  1465. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh:85:51: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1466. private: bool SetAllParamsHelper(const sdf::ElementPtr _elem);
  1467. ^
  1468. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh:89:20: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1469. public: sdf::ElementPtr SDF() const;
  1470. ^
  1471. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh:94:35: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1472. public: bool SDF(const sdf::ElementPtr _sdfElement);
  1473. ^
  1474. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh:110:22: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1475. const sdf::ElementPtr _sdf);
  1476. ^
  1477. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh:169:52: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1478. public: std::string CreateProfile(const sdf::ElementPtr _sdf);
  1479. ^
  1480. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh:184:20: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1481. public: sdf::ElementPtr ProfileSDF(const std::string &_name) const;
  1482. ^
  1483. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh:191:22: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1484. const sdf::ElementPtr _sdf);
  1485. ^
  1486. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh:197:16: error: ‘sdf::ElementPtr’ has not been declared
  1487. sdf::ElementPtr &_elem) const;
  1488. ^
  1489. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh:203:16: error: ‘sdf::ElementPtr’ has not been declared
  1490. sdf::ElementPtr &_elem) const;
  1491. ^
  1492. /usr/include/gazebo-7/gazebo/physics/PresetManager.hh:208:54: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type
  1493. private: void GeneratePresetFromSDF(const sdf::ElementPtr _elem,
  1494. ^
  1495. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:41:0,
  1496. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1497. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1498. /usr/include/gazebo-7/gazebo/physics/Road.hh:50:30: error: ‘sdf::ElementPtr’ has not been declared
  1499. public: void Load(sdf::ElementPtr _sdf);
  1500. ^
  1501. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:43:0,
  1502. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1503. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1504. /usr/include/gazebo-7/gazebo/physics/ScrewJoint.hh:52:38: error: ‘sdf::ElementPtr’ has not been declared
  1505. public: virtual void Load(sdf::ElementPtr _sdf)
  1506. ^
  1507. /usr/include/gazebo-7/gazebo/physics/ScrewJoint.hh: In member function ‘virtual void gazebo::physics::ScrewJoint<T>::Load(int)’:
  1508. /usr/include/gazebo-7/gazebo/physics/ScrewJoint.hh:57:26: error: base operand of ‘->’ is not a pointer
  1509. _sdf->GetElement("thread_pitch")->Get<double>();
  1510. ^
  1511. /usr/include/gazebo-7/gazebo/physics/ScrewJoint.hh:57:60: error: expected primary-expression before ‘double’
  1512. _sdf->GetElement("thread_pitch")->Get<double>();
  1513. ^
  1514. /usr/include/gazebo-7/gazebo/physics/ScrewJoint.hh:57:60: error: expected ‘;’ before ‘double’
  1515. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:44:0,
  1516. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1517. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1518. /usr/include/gazebo-7/gazebo/physics/SliderJoint.hh: At global scope:
  1519. /usr/include/gazebo-7/gazebo/physics/SliderJoint.hh:51:38: error: ‘sdf::ElementPtr’ has not been declared
  1520. public: virtual void Load(sdf::ElementPtr _sdf)
  1521. ^
  1522. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:47:0,
  1523. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1524. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1525. /usr/include/gazebo-7/gazebo/physics/SurfaceParams.hh:187:38: error: ‘sdf::ElementPtr’ has not been declared
  1526. public: virtual void Load(sdf::ElementPtr _sdf);
  1527. ^
  1528. In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:48:0,
  1529. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1530. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1531. /usr/include/gazebo-7/gazebo/physics/UniversalJoint.hh:61:38: error: ‘sdf::ElementPtr’ has not been declared
  1532. public: virtual void Load(sdf::ElementPtr _sdf)
  1533. ^
  1534. In file included from /usr/include/gazebo-7/gazebo/common/common.hh:8:0,
  1535. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1536. /usr/include/gazebo-7/gazebo/common/Battery.hh:50:42: error: expected template-name before ‘<’ token
  1537. public std::enable_shared_from_this<Battery>
  1538. ^
  1539. /usr/include/gazebo-7/gazebo/common/Battery.hh:50:42: error: expected ‘{’ before ‘<’ token
  1540. /usr/include/gazebo-7/gazebo/common/Battery.hh:50:42: error: expected unqualified-id before ‘<’ token
  1541. In file included from /usr/include/gazebo-7/gazebo/common/common.hh:17:0,
  1542. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1543. /usr/include/gazebo-7/gazebo/common/EnumIface.hh: In static member function ‘static void gazebo::common::EnumIface<T>::Set(T&, const string&)’:
  1544. /usr/include/gazebo-7/gazebo/common/EnumIface.hh:82:21: error: ‘begin’ does not name a type
  1545. static auto begin = std::begin(names);
  1546. ^
  1547. /usr/include/gazebo-7/gazebo/common/EnumIface.hh:83:21: error: ‘end’ does not name a type
  1548. static auto end = std::end(names);
  1549. ^
  1550. /usr/include/gazebo-7/gazebo/common/EnumIface.hh:85:14: error: ‘find’ does not name a type
  1551. auto find = std::find(begin, end, _str);
  1552. ^
  1553. /usr/include/gazebo-7/gazebo/common/EnumIface.hh:86:13: error: ‘find’ was not declared in this scope
  1554. if (find != end)
  1555. ^
  1556. /usr/include/gazebo-7/gazebo/common/EnumIface.hh:86:13: note: suggested alternatives:
  1557. In file included from /usr/include/c++/5/algorithm:62:0,
  1558. from /usr/include/boost/math/tools/config.hpp:17,
  1559. from /usr/include/boost/math/special_functions/round.hpp:13,
  1560. from /opt/ros/kinetic/include/ros/time.h:58,
  1561. from /opt/ros/kinetic/include/ros/ros.h:38,
  1562. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  1563. /usr/include/c++/5/bits/stl_algo.h:3782:5: note: ‘std::find’
  1564. find(_InputIterator __first, _InputIterator __last,
  1565. ^
  1566. In file included from /usr/include/boost/algorithm/string/predicate.hpp:23:0,
  1567. from /usr/include/boost/algorithm/string.hpp:21,
  1568. from /opt/ros/kinetic/include/pluginlib/class_loader.h:32,
  1569. from /opt/ros/kinetic/include/robot_controllers_interface/controller_loader.h:36,
  1570. from /opt/ros/kinetic/include/robot_controllers_interface/controller_manager.h:42,
  1571. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:39:
  1572. /usr/include/boost/algorithm/string/find.hpp:52:9: note: ‘boost::algorithm::find’
  1573. find(
  1574. ^
  1575. In file included from /usr/include/boost/mpl/aux_/contains_impl.hpp:20:0,
  1576. from /usr/include/boost/mpl/contains.hpp:20,
  1577. from /usr/include/boost/math/policies/policy.hpp:10,
  1578. from /usr/include/boost/math/policies/error_handling.hpp:19,
  1579. from /usr/include/boost/math/special_functions/round.hpp:14,
  1580. from /opt/ros/kinetic/include/ros/time.h:58,
  1581. from /opt/ros/kinetic/include/ros/ros.h:38,
  1582. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  1583. /usr/include/boost/mpl/find.hpp:28:8: note: ‘boost::mpl::find’
  1584. struct find
  1585. ^
  1586. In file included from /usr/include/boost/algorithm/string/predicate.hpp:23:0,
  1587. from /usr/include/boost/algorithm/string.hpp:21,
  1588. from /opt/ros/kinetic/include/pluginlib/class_loader.h:32,
  1589. from /opt/ros/kinetic/include/robot_controllers_interface/controller_loader.h:36,
  1590. from /opt/ros/kinetic/include/robot_controllers_interface/controller_manager.h:42,
  1591. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:39:
  1592. /usr/include/boost/algorithm/string/find.hpp:52:9: note: ‘boost::algorithm::find’
  1593. find(
  1594. ^
  1595. In file included from /usr/include/c++/5/algorithm:62:0,
  1596. from /usr/include/boost/math/tools/config.hpp:17,
  1597. from /usr/include/boost/math/special_functions/round.hpp:13,
  1598. from /opt/ros/kinetic/include/ros/time.h:58,
  1599. from /opt/ros/kinetic/include/ros/ros.h:38,
  1600. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  1601. /usr/include/c++/5/bits/stl_algo.h:3782:5: note: ‘std::find’
  1602. find(_InputIterator __first, _InputIterator __last,
  1603. ^
  1604. In file included from /usr/include/gazebo-7/gazebo/common/common.hh:17:0,
  1605. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1606. /usr/include/gazebo-7/gazebo/common/EnumIface.hh:86:21: error: ‘end’ was not declared in this scope
  1607. if (find != end)
  1608. ^
  1609. /usr/include/gazebo-7/gazebo/common/EnumIface.hh:86:21: note: suggested alternatives:
  1610. In file included from /usr/include/boost/range/functions.hpp:19:0,
  1611. from /usr/include/boost/range/iterator_range_core.hpp:38,
  1612. from /usr/include/boost/lexical_cast.hpp:30,
  1613. from /opt/ros/kinetic/include/ros/transport_hints.h:34,
  1614. from /opt/ros/kinetic/include/ros/subscribe_options.h:33,
  1615. from /opt/ros/kinetic/include/ros/node_handle.h:41,
  1616. from /opt/ros/kinetic/include/ros/ros.h:45,
  1617. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  1618. /usr/include/boost/range/end.hpp:100:61: note: ‘boost::range_adl_barrier::end’
  1619. inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
  1620. ^
  1621. In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0,
  1622. from /usr/include/boost/mpl/list/list0.hpp:27,
  1623. from /usr/include/boost/mpl/list/list10.hpp:18,
  1624. from /usr/include/boost/mpl/list/list20.hpp:18,
  1625. from /usr/include/boost/mpl/list.hpp:36,
  1626. from /usr/include/boost/math/policies/policy.hpp:9,
  1627. from /usr/include/boost/math/policies/error_handling.hpp:19,
  1628. from /usr/include/boost/math/special_functions/round.hpp:14,
  1629. from /opt/ros/kinetic/include/ros/time.h:58,
  1630. from /opt/ros/kinetic/include/ros/ros.h:38,
  1631. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  1632. /usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note: ‘boost::mpl::end’
  1633. template< typename Sequence > struct end;
  1634. ^
  1635. In file included from /usr/include/boost/range/functions.hpp:19:0,
  1636. from /usr/include/boost/range/iterator_range_core.hpp:38,
  1637. from /usr/include/boost/lexical_cast.hpp:30,
  1638. from /opt/ros/kinetic/include/ros/transport_hints.h:34,
  1639. from /opt/ros/kinetic/include/ros/subscribe_options.h:33,
  1640. from /opt/ros/kinetic/include/ros/node_handle.h:41,
  1641. from /opt/ros/kinetic/include/ros/ros.h:45,
  1642. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  1643. /usr/include/boost/range/end.hpp:100:61: note: ‘boost::range_adl_barrier::end’
  1644. inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
  1645. ^
  1646. In file included from /usr/include/boost/filesystem.hpp:17:0,
  1647. from /opt/ros/kinetic/include/pluginlib/class_loader_imp.h:43,
  1648. from /opt/ros/kinetic/include/pluginlib/class_loader.h:323,
  1649. from /opt/ros/kinetic/include/robot_controllers_interface/controller_loader.h:36,
  1650. from /opt/ros/kinetic/include/robot_controllers_interface/controller_manager.h:42,
  1651. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:39:
  1652. /usr/include/boost/filesystem/operations.hpp:1180:32: note: ‘boost::filesystem::end’
  1653. recursive_directory_iterator end(const recursive_directory_iterator&)
  1654. ^
  1655. In file included from /usr/include/gazebo-7/gazebo/common/common.hh:17:0,
  1656. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1657. /usr/include/gazebo-7/gazebo/common/EnumIface.hh:88:45: error: ‘begin’ was not declared in this scope
  1658. _e = static_cast<T>(std::distance(begin, find));
  1659. ^
  1660. /usr/include/gazebo-7/gazebo/common/EnumIface.hh:88:45: note: suggested alternatives:
  1661. In file included from /usr/include/boost/range/functions.hpp:18:0,
  1662. from /usr/include/boost/range/iterator_range_core.hpp:38,
  1663. from /usr/include/boost/lexical_cast.hpp:30,
  1664. from /opt/ros/kinetic/include/ros/transport_hints.h:34,
  1665. from /opt/ros/kinetic/include/ros/subscribe_options.h:33,
  1666. from /opt/ros/kinetic/include/ros/node_handle.h:41,
  1667. from /opt/ros/kinetic/include/ros/ros.h:45,
  1668. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  1669. /usr/include/boost/range/begin.hpp:106:61: note: ‘boost::range_adl_barrier::begin’
  1670. inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type begin( const T& r )
  1671. ^
  1672. In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0,
  1673. from /usr/include/boost/mpl/list/list0.hpp:27,
  1674. from /usr/include/boost/mpl/list/list10.hpp:18,
  1675. from /usr/include/boost/mpl/list/list20.hpp:18,
  1676. from /usr/include/boost/mpl/list.hpp:36,
  1677. from /usr/include/boost/math/policies/policy.hpp:9,
  1678. from /usr/include/boost/math/policies/error_handling.hpp:19,
  1679. from /usr/include/boost/math/special_functions/round.hpp:14,
  1680. from /opt/ros/kinetic/include/ros/time.h:58,
  1681. from /opt/ros/kinetic/include/ros/ros.h:38,
  1682. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  1683. /usr/include/boost/mpl/begin_end_fwd.hpp:22:38: note: ‘boost::mpl::begin’
  1684. template< typename Sequence > struct begin;
  1685. ^
  1686. In file included from /usr/include/boost/range/functions.hpp:18:0,
  1687. from /usr/include/boost/range/iterator_range_core.hpp:38,
  1688. from /usr/include/boost/lexical_cast.hpp:30,
  1689. from /opt/ros/kinetic/include/ros/transport_hints.h:34,
  1690. from /opt/ros/kinetic/include/ros/subscribe_options.h:33,
  1691. from /opt/ros/kinetic/include/ros/node_handle.h:41,
  1692. from /opt/ros/kinetic/include/ros/ros.h:45,
  1693. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:37:
  1694. /usr/include/boost/range/begin.hpp:106:61: note: ‘boost::range_adl_barrier::begin’
  1695. inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type begin( const T& r )
  1696. ^
  1697. In file included from /usr/include/boost/filesystem.hpp:17:0,
  1698. from /opt/ros/kinetic/include/pluginlib/class_loader_imp.h:43,
  1699. from /opt/ros/kinetic/include/pluginlib/class_loader.h:323,
  1700. from /opt/ros/kinetic/include/robot_controllers_interface/controller_loader.h:36,
  1701. from /opt/ros/kinetic/include/robot_controllers_interface/controller_manager.h:42,
  1702. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:39:
  1703. /usr/include/boost/filesystem/operations.hpp:1177:39: note: ‘boost::filesystem::begin’
  1704. const recursive_directory_iterator& begin(const recursive_directory_iterator& iter)
  1705. ^
  1706. In file included from /usr/include/gazebo-7/gazebo/common/Plugin.hh:50:0,
  1707. from /usr/include/gazebo-7/gazebo/common/common.hh:34,
  1708. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1709. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh: At global scope:
  1710. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:59:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1711. typedef std::shared_ptr<AltimeterSensor> AltimeterSensorPtr;
  1712. ^
  1713. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:63:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1714. typedef std::shared_ptr<Sensor> SensorPtr;
  1715. ^
  1716. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:67:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1717. typedef std::shared_ptr<RaySensor> RaySensorPtr;
  1718. ^
  1719. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:71:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1720. typedef std::shared_ptr<CameraSensor> CameraSensorPtr;
  1721. ^
  1722. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:75:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1723. typedef std::shared_ptr<MagnetometerSensor> MagnetometerSensorPtr;
  1724. ^
  1725. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:79:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1726. typedef std::shared_ptr<MultiCameraSensor> MultiCameraSensorPtr;
  1727. ^
  1728. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:83:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1729. typedef std::shared_ptr<DepthCameraSensor> DepthCameraSensorPtr;
  1730. ^
  1731. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:87:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1732. typedef std::shared_ptr<ContactSensor> ContactSensorPtr;
  1733. ^
  1734. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:91:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1735. typedef std::shared_ptr<ImuSensor> ImuSensorPtr;
  1736. ^
  1737. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:95:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1738. typedef std::shared_ptr<GpuRaySensor> GpuRaySensorPtr;
  1739. ^
  1740. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:99:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1741. typedef std::shared_ptr<RFIDSensor> RFIDSensorPtr;
  1742. ^
  1743. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:103:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1744. typedef std::shared_ptr<RFIDTag> RFIDTagPtr;
  1745. ^
  1746. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:107:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1747. typedef std::shared_ptr<SonarSensor> SonarSensorPtr;
  1748. ^
  1749. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:111:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1750. typedef std::shared_ptr<ForceTorqueSensor> ForceTorqueSensorPtr;
  1751. ^
  1752. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:115:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1753. typedef std::shared_ptr<GpsSensor> GpsSensorPtr;
  1754. ^
  1755. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:119:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1756. typedef std::shared_ptr<Noise> NoisePtr;
  1757. ^
  1758. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:123:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1759. typedef std::shared_ptr<GaussianNoiseModel> GaussianNoiseModelPtr;
  1760. ^
  1761. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:126:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1762. typedef std::shared_ptr<ImageGaussianNoiseModel>
  1763. ^
  1764. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:131:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1765. typedef std::shared_ptr<WirelessTransceiver> WirelessTransceiverPtr;
  1766. ^
  1767. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:135:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1768. typedef std::shared_ptr<WirelessTransmitter> WirelessTransmitterPtr;
  1769. ^
  1770. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:139:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1771. typedef std::shared_ptr<WirelessReceiver> WirelessReceiverPtr;
  1772. ^
  1773. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:147:25: error: ‘SensorPtr’ was not declared in this scope
  1774. typedef std::vector<SensorPtr> Sensor_V;
  1775. ^
  1776. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:147:25: note: suggested alternative:
  1777. In file included from /usr/include/gazebo-7/gazebo/msgs/joint.pb.h:30:0,
  1778. from /usr/include/gazebo-7/gazebo/msgs/MessageTypes.hh:43,
  1779. from /usr/include/gazebo-7/gazebo/msgs/msgs.hh:30,
  1780. from /usr/include/gazebo-7/gazebo/physics/Entity.hh:30,
  1781. from /usr/include/gazebo-7/gazebo/physics/Model.hh:34,
  1782. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  1783. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  1784. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1785. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1786. /usr/include/gazebo-7/gazebo/msgs/sensor.pb.h:924:49: note: ‘gazebo::msgs::SensorPtr’
  1787. typedef boost::shared_ptr<gazebo::msgs::Sensor> SensorPtr;
  1788. ^
  1789. In file included from /usr/include/gazebo-7/gazebo/common/Plugin.hh:50:0,
  1790. from /usr/include/gazebo-7/gazebo/common/common.hh:34,
  1791. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1792. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:147:34: error: template argument 1 is invalid
  1793. typedef std::vector<SensorPtr> Sensor_V;
  1794. ^
  1795. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:147:34: error: template argument 2 is invalid
  1796. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:151:25: error: ‘RaySensorPtr’ was not declared in this scope
  1797. typedef std::vector<RaySensorPtr> RaySensor_V;
  1798. ^
  1799. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:151:25: note: suggested alternative:
  1800. In file included from /usr/include/gazebo-7/gazebo/msgs/sensor.pb.h:29:0,
  1801. from /usr/include/gazebo-7/gazebo/msgs/joint.pb.h:30,
  1802. from /usr/include/gazebo-7/gazebo/msgs/MessageTypes.hh:43,
  1803. from /usr/include/gazebo-7/gazebo/msgs/msgs.hh:30,
  1804. from /usr/include/gazebo-7/gazebo/physics/Entity.hh:30,
  1805. from /usr/include/gazebo-7/gazebo/physics/Model.hh:34,
  1806. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  1807. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  1808. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1809. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1810. /usr/include/gazebo-7/gazebo/msgs/raysensor.pb.h:528:52: note: ‘gazebo::msgs::RaySensorPtr’
  1811. typedef boost::shared_ptr<gazebo::msgs::RaySensor> RaySensorPtr;
  1812. ^
  1813. In file included from /usr/include/gazebo-7/gazebo/common/Plugin.hh:50:0,
  1814. from /usr/include/gazebo-7/gazebo/common/common.hh:34,
  1815. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1816. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:151:37: error: template argument 1 is invalid
  1817. typedef std::vector<RaySensorPtr> RaySensor_V;
  1818. ^
  1819. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:151:37: error: template argument 2 is invalid
  1820. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:155:25: error: ‘CameraSensorPtr’ was not declared in this scope
  1821. typedef std::vector<CameraSensorPtr> CameraSensor_V;
  1822. ^
  1823. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:155:25: note: suggested alternative:
  1824. In file included from /usr/include/gazebo-7/gazebo/msgs/MessageTypes.hh:11:0,
  1825. from /usr/include/gazebo-7/gazebo/msgs/msgs.hh:30,
  1826. from /usr/include/gazebo-7/gazebo/physics/Entity.hh:30,
  1827. from /usr/include/gazebo-7/gazebo/physics/Model.hh:34,
  1828. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  1829. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  1830. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1831. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1832. /usr/include/gazebo-7/gazebo/msgs/camerasensor.pb.h:546:55: note: ‘gazebo::msgs::CameraSensorPtr’
  1833. typedef boost::shared_ptr<gazebo::msgs::CameraSensor> CameraSensorPtr;
  1834. ^
  1835. In file included from /usr/include/gazebo-7/gazebo/common/Plugin.hh:50:0,
  1836. from /usr/include/gazebo-7/gazebo/common/common.hh:34,
  1837. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1838. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:155:40: error: template argument 1 is invalid
  1839. typedef std::vector<CameraSensorPtr> CameraSensor_V;
  1840. ^
  1841. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:155:40: error: template argument 2 is invalid
  1842. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:159:25: error: ‘MultiCameraSensorPtr’ was not declared in this scope
  1843. typedef std::vector<MultiCameraSensorPtr> MultiCameraSensor_V;
  1844. ^
  1845. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:159:45: error: template argument 1 is invalid
  1846. typedef std::vector<MultiCameraSensorPtr> MultiCameraSensor_V;
  1847. ^
  1848. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:159:45: error: template argument 2 is invalid
  1849. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:163:25: error: ‘DepthCameraSensorPtr’ was not declared in this scope
  1850. typedef std::vector<DepthCameraSensorPtr> DepthCameraSensor_V;
  1851. ^
  1852. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:163:45: error: template argument 1 is invalid
  1853. typedef std::vector<DepthCameraSensorPtr> DepthCameraSensor_V;
  1854. ^
  1855. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:163:45: error: template argument 2 is invalid
  1856. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:167:25: error: ‘ContactSensorPtr’ was not declared in this scope
  1857. typedef std::vector<ContactSensorPtr> ContactSensor_V;
  1858. ^
  1859. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:167:25: note: suggested alternative:
  1860. In file included from /usr/include/gazebo-7/gazebo/msgs/MessageTypes.hh:19:0,
  1861. from /usr/include/gazebo-7/gazebo/msgs/msgs.hh:30,
  1862. from /usr/include/gazebo-7/gazebo/physics/Entity.hh:30,
  1863. from /usr/include/gazebo-7/gazebo/physics/Model.hh:34,
  1864. from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24,
  1865. from /usr/include/gazebo-7/gazebo/physics/physics.hh:2,
  1866. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  1867. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  1868. /usr/include/gazebo-7/gazebo/msgs/contactsensor.pb.h:211:56: note: ‘gazebo::msgs::ContactSensorPtr’
  1869. typedef boost::shared_ptr<gazebo::msgs::ContactSensor> ContactSensorPtr;
  1870. ^
  1871. In file included from /usr/include/gazebo-7/gazebo/common/Plugin.hh:50:0,
  1872. from /usr/include/gazebo-7/gazebo/common/common.hh:34,
  1873. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1874. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:167:41: error: template argument 1 is invalid
  1875. typedef std::vector<ContactSensorPtr> ContactSensor_V;
  1876. ^
  1877. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:167:41: error: template argument 2 is invalid
  1878. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:171:25: error: ‘ImuSensorPtr’ was not declared in this scope
  1879. typedef std::vector<ImuSensorPtr> ImuSensor_V;
  1880. ^
  1881. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:171:37: error: template argument 1 is invalid
  1882. typedef std::vector<ImuSensorPtr> ImuSensor_V;
  1883. ^
  1884. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:171:37: error: template argument 2 is invalid
  1885. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:175:25: error: ‘GpuRaySensorPtr’ was not declared in this scope
  1886. typedef std::vector<GpuRaySensorPtr> GpuRaySensor_V;
  1887. ^
  1888. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:175:40: error: template argument 1 is invalid
  1889. typedef std::vector<GpuRaySensorPtr> GpuRaySensor_V;
  1890. ^
  1891. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:175:40: error: template argument 2 is invalid
  1892. /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:199:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1893. typedef std::shared_ptr<LogicalCameraSensor> LogicalCameraSensorPtr;
  1894. ^
  1895. In file included from /usr/include/gazebo-7/gazebo/common/Plugin.hh:51:0,
  1896. from /usr/include/gazebo-7/gazebo/common/common.hh:34,
  1897. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1898. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:112:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1899. typedef std::shared_ptr<Visual> VisualPtr;
  1900. ^
  1901. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:116:18: error: ‘weak_ptr’ in namespace ‘std’ does not name a template type
  1902. typedef std::weak_ptr<Visual> VisualWeakPtr;
  1903. ^
  1904. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:120:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1905. typedef std::shared_ptr<LaserVisual> LaserVisualPtr;
  1906. ^
  1907. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:124:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1908. typedef std::shared_ptr<SonarVisual> SonarVisualPtr;
  1909. ^
  1910. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:128:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1911. typedef std::shared_ptr<WrenchVisual> WrenchVisualPtr;
  1912. ^
  1913. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:132:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1914. typedef std::shared_ptr<CameraVisual> CameraVisualPtr;
  1915. ^
  1916. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:136:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1917. typedef std::shared_ptr<LogicalCameraVisual> LogicalCameraVisualPtr;
  1918. ^
  1919. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:140:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1920. typedef std::shared_ptr<JointVisual> JointVisualPtr;
  1921. ^
  1922. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:144:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1923. typedef std::shared_ptr<ContactVisual> ContactVisualPtr;
  1924. ^
  1925. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:148:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1926. typedef std::shared_ptr<ArrowVisual> ArrowVisualPtr;
  1927. ^
  1928. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:152:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1929. typedef std::shared_ptr<AxisVisual> AxisVisualPtr;
  1930. ^
  1931. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:156:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1932. typedef std::shared_ptr<COMVisual> COMVisualPtr;
  1933. ^
  1934. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:160:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1935. typedef std::shared_ptr<InertiaVisual> InertiaVisualPtr;
  1936. ^
  1937. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:164:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1938. typedef std::shared_ptr<RFIDVisual> RFIDVisualPtr;
  1939. ^
  1940. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:168:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1941. typedef std::shared_ptr<RFIDTagVisual> RFIDTagVisualPtr;
  1942. ^
  1943. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:172:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1944. typedef std::shared_ptr<ApplyWrenchVisual> ApplyWrenchVisualPtr;
  1945. ^
  1946. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:176:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1947. typedef std::shared_ptr<OriginVisual> OriginVisualPtr;
  1948. ^
  1949. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:180:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1950. typedef std::shared_ptr<LinkFrameVisual> LinkFrameVisualPtr;
  1951. ^
  1952. /usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:188:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  1953. typedef std::shared_ptr<SelectionObj> SelectionObjPtr;
  1954. ^
  1955. In file included from /usr/include/gazebo-7/gazebo/common/common.hh:34:0,
  1956. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1957. /usr/include/gazebo-7/gazebo/common/Plugin.hh:236:36: error: ‘sdf::ElementPtr’ has not been declared
  1958. sdf::ElementPtr _sdf) = 0;
  1959. ^
  1960. /usr/include/gazebo-7/gazebo/common/Plugin.hh:261:36: error: ‘sdf::ElementPtr’ has not been declared
  1961. sdf::ElementPtr _sdf) = 0;
  1962. ^
  1963. /usr/include/gazebo-7/gazebo/common/Plugin.hh:289:40: error: ‘gazebo::sensors::SensorPtr’ has not been declared
  1964. public: virtual void Load(sensors::SensorPtr _sensor,
  1965. ^
  1966. /usr/include/gazebo-7/gazebo/common/Plugin.hh:290:36: error: ‘sdf::ElementPtr’ has not been declared
  1967. sdf::ElementPtr _sdf) = 0;
  1968. ^
  1969. /usr/include/gazebo-7/gazebo/common/Plugin.hh:342:42: error: ‘gazebo::rendering::VisualPtr’ has not been declared
  1970. public: virtual void Load(rendering::VisualPtr _visual,
  1971. ^
  1972. /usr/include/gazebo-7/gazebo/common/Plugin.hh:343:36: error: ‘sdf::ElementPtr’ has not been declared
  1973. sdf::ElementPtr _sdf) = 0;
  1974. ^
  1975. In file included from /usr/include/gazebo-7/gazebo/common/common.hh:41:0,
  1976. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:41:
  1977. /usr/include/gazebo-7/gazebo/common/SVGLoader.hh:56:39: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  1978. public: virtual ~SVGCommand() = default;
  1979. ^
  1980. In file included from /usr/include/gazebo-7/gazebo/transport/transport.hh:2:0,
  1981. from /usr/include/gazebo-7/gazebo/gazebo_core.hh:22,
  1982. from /usr/include/gazebo-7/gazebo/gazebo.hh:20,
  1983. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:43:
  1984. /usr/include/gazebo-7/gazebo/transport/CallbackHelper.hh:95:31: error: ‘mutex’ in namespace ‘std’ does not name a type
  1985. protected: mutable std::mutex latchingMutex;
  1986. ^
  1987. In file included from /usr/include/gazebo-7/gazebo/gazebo_core.hh:23:0,
  1988. from /usr/include/gazebo-7/gazebo/gazebo.hh:20,
  1989. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:43:
  1990. /usr/include/gazebo-7/gazebo/Server.hh:94:33: error: ‘sdf::ElementPtr’ has not been declared
  1991. private: bool LoadImpl(sdf::ElementPtr _elem,
  1992. ^
  1993. /usr/include/gazebo-7/gazebo/Server.hh:118:19: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
  1994. private: std::unique_ptr<ServerPrivate> dataPtr;
  1995. ^
  1996. In file included from /usr/include/gazebo-7/gazebo/gazebo_core.hh:24:0,
  1997. from /usr/include/gazebo-7/gazebo/gazebo.hh:20,
  1998. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:43:
  1999. /usr/include/gazebo-7/gazebo/Master.hh:127:19: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
  2000. private: std::unique_ptr<MasterPrivate> dataPtr;
  2001. ^
  2002. /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:54:52: error: ‘sdf::ElementPtr’ has not been declared
  2003. virtual void Load(physics::ModelPtr parent, sdf::ElementPtr sdf);
  2004. ^
  2005. /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:84:8: error: ‘sdf::ElementPtr’ has not been declared
  2006. sdf::ElementPtr sdf)
  2007. ^
  2008. In file included from /usr/include/gazebo-7/gazebo/physics/Joint.hh:25:0,
  2009. from /usr/include/gazebo-7/gazebo/physics/BallJoint.hh:25,
  2010. from /usr/include/gazebo-7/gazebo/physics/physics.hh:3,
  2011. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/include/fetch_gazebo/joint_handle.h:44,
  2012. from /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:40:
  2013. /usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘gazebo::event::ConnectionPtr gazebo::event::EventT<T>::Connect(const boost::function<Signature>&) [with T = void(); gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’:
  2014. /usr/include/gazebo-7/gazebo/transport/Connection.hh:325:58: required from here
  2015. /usr/include/gazebo-7/gazebo/common/Event.hh:620:11: error: ‘class gazebo::event::EventTPrivate<void()>’ has no member named ‘connections’
  2016. if (!this->myDataPtr->connections.empty())
  2017. ^
  2018. /usr/include/gazebo-7/gazebo/common/Event.hh:622:64: error: ‘class gazebo::event::EventTPrivate<void()>’ has no member named ‘connections’
  2019. auto const &iter = this->myDataPtr->connections.rbegin();
  2020. ^
  2021. /usr/include/gazebo-7/gazebo/common/Event.hh:625:35: error: ‘class gazebo::event::EventTPrivate<void()>’ has no member named ‘connections’
  2022. this->myDataPtr->connections[index].reset(new EventConnection<T>(true,
  2023. ^
  2024. /usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘void gazebo::event::EventT<T>::Disconnect(int) [with T = void(bool)]’:
  2025. /usr/include/gazebo-7/gazebo/common/Event.hh:638:7: required from ‘void gazebo::event::EventT<T>::Disconnect(gazebo::event::ConnectionPtr) [with T = void(bool); gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’
  2026. /usr/include/gazebo-7/gazebo/common/Events.hh:50:45: required from here
  2027. /usr/include/gazebo-7/gazebo/common/Event.hh:657:61: error: ‘class gazebo::event::EventTPrivate<void(bool)>’ has no member named ‘connections’
  2028. auto const &it = this->myDataPtr->connections.find(_id);
  2029. ^
  2030. /usr/include/gazebo-7/gazebo/common/Event.hh:659:14: error: ‘class gazebo::event::EventTPrivate<void(bool)>’ has no member named ‘connections’
  2031. if (it != this->myDataPtr->connections.end())
  2032. ^
  2033. /usr/include/gazebo-7/gazebo/common/Event.hh:662:9: error: request for member ‘push_back’ in ‘((gazebo::event::EventT<void(bool)>*)this)->gazebo::event::EventT<void(bool)>::myDataPtr->gazebo::event::EventTPrivate<void(bool)>::connectionsToRemove’, which is of non-class type ‘int’
  2034. this->myDataPtr->connectionsToRemove.push_back(it);
  2035. ^
  2036. /usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘void gazebo::event::EventT<T>::Disconnect(int) [with T = void()]’:
  2037. /usr/include/gazebo-7/gazebo/common/Event.hh:638:7: required from ‘void gazebo::event::EventT<T>::Disconnect(gazebo::event::ConnectionPtr) [with T = void(); gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’
  2038. /usr/include/gazebo-7/gazebo/common/Events.hh:62:44: required from here
  2039. /usr/include/gazebo-7/gazebo/common/Event.hh:657:61: error: ‘class gazebo::event::EventTPrivate<void()>’ has no member named ‘connections’
  2040. auto const &it = this->myDataPtr->connections.find(_id);
  2041. ^
  2042. /usr/include/gazebo-7/gazebo/common/Event.hh:659:14: error: ‘class gazebo::event::EventTPrivate<void()>’ has no member named ‘connections’
  2043. if (it != this->myDataPtr->connections.end())
  2044. ^
  2045. /usr/include/gazebo-7/gazebo/common/Event.hh:662:9: error: request for member ‘push_back’ in ‘((gazebo::event::EventT<void()>*)this)->gazebo::event::EventT<void()>::myDataPtr->gazebo::event::EventTPrivate<void()>::connectionsToRemove’, which is of non-class type ‘int’
  2046. this->myDataPtr->connectionsToRemove.push_back(it);
  2047. ^
  2048. /usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘void gazebo::event::EventT<T>::Disconnect(int) [with T = void(std::__cxx11::basic_string<char>)]’:
  2049. /usr/include/gazebo-7/gazebo/common/Event.hh:638:7: required from ‘void gazebo::event::EventT<T>::Disconnect(gazebo::event::ConnectionPtr) [with T = void(std::__cxx11::basic_string<char>); gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’
  2050. /usr/include/gazebo-7/gazebo/common/Events.hh:85:52: required from here
  2051. /usr/include/gazebo-7/gazebo/common/Event.hh:657:61: error: ‘class gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>)>’ has no member named ‘connections’
  2052. auto const &it = this->myDataPtr->connections.find(_id);
  2053. ^
  2054. /usr/include/gazebo-7/gazebo/common/Event.hh:659:14: error: ‘class gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>)>’ has no member named ‘connections’
  2055. if (it != this->myDataPtr->connections.end())
  2056. ^
  2057. /usr/include/gazebo-7/gazebo/common/Event.hh:662:9: error: request for member ‘push_back’ in ‘((gazebo::event::EventT<void(std::__cxx11::basic_string<char>)>*)this)->gazebo::event::EventT<void(std::__cxx11::basic_string<char>)>::myDataPtr->gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>)>::connectionsToRemove’, which is of non-class type ‘int’
  2058. this->myDataPtr->connectionsToRemove.push_back(it);
  2059. ^
  2060. /usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘void gazebo::event::EventT<T>::Disconnect(int) [with T = void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)]’:
  2061. /usr/include/gazebo-7/gazebo/common/Event.hh:638:7: required from ‘void gazebo::event::EventT<T>::Disconnect(gazebo::event::ConnectionPtr) [with T = void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>); gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’
  2062. /usr/include/gazebo-7/gazebo/common/Events.hh:109:57: required from here
  2063. /usr/include/gazebo-7/gazebo/common/Event.hh:657:61: error: ‘class gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)>’ has no member named ‘connections’
  2064. auto const &it = this->myDataPtr->connections.find(_id);
  2065. ^
  2066. /usr/include/gazebo-7/gazebo/common/Event.hh:659:14: error: ‘class gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)>’ has no member named ‘connections’
  2067. if (it != this->myDataPtr->connections.end())
  2068. ^
  2069. /usr/include/gazebo-7/gazebo/common/Event.hh:662:9: error: request for member ‘push_back’ in ‘((gazebo::event::EventT<void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)>*)this)->gazebo::event::EventT<void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)>::myDataPtr->gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)>::connectionsToRemove’, which is of non-class type ‘int’
  2070. this->myDataPtr->connectionsToRemove.push_back(it);
  2071. ^
  2072. /usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘gazebo::event::ConnectionPtr gazebo::event::EventT<T>::Connect(const boost::function<Signature>&) [with T = void(const gazebo::common::UpdateInfo&); gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’:
  2073. /usr/include/gazebo-7/gazebo/common/Events.hh:139:60: required from ‘static gazebo::event::ConnectionPtr gazebo::event::Events::ConnectWorldUpdateBegin(T) [with T = boost::_bi::bind_t<void, boost::_mfi::mf1<void, gazebo::FetchGazeboPlugin, const gazebo::common::UpdateInfo&>, boost::_bi::list2<boost::_bi::value<gazebo::FetchGazeboPlugin*>, boost::arg<1> > >; gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’
  2074. /home/ruffsl/fetch_ws/src/fetch_gazebo/fetch_gazebo/src/plugin.cpp:91:66: required from here
  2075. /usr/include/gazebo-7/gazebo/common/Event.hh:620:11: error: ‘class gazebo::event::EventTPrivate<void(const gazebo::common::UpdateInfo&)>’ has no member named ‘connections’
  2076. if (!this->myDataPtr->connections.empty())
  2077. ^
  2078. /usr/include/gazebo-7/gazebo/common/Event.hh:622:64: error: ‘class gazebo::event::EventTPrivate<void(const gazebo::common::UpdateInfo&)>’ has no member named ‘connections’
  2079. auto const &iter = this->myDataPtr->connections.rbegin();
  2080. ^
  2081. /usr/include/gazebo-7/gazebo/common/Event.hh:625:35: error: ‘class gazebo::event::EventTPrivate<void(const gazebo::common::UpdateInfo&)>’ has no member named ‘connections’
  2082. this->myDataPtr->connections[index].reset(new EventConnection<T>(true,
  2083. ^
  2084. make[2]: *** [CMakeFiles/fetch_gazebo_plugin.dir/src/plugin.cpp.o] Error 1
  2085. make[1]: *** [CMakeFiles/fetch_gazebo_plugin.dir/all] Error 2
  2086. make: *** [all] Error 2
  2087. cd /home/ruffsl/fetch_ws/build/fetch_gazebo; catkin build --get-env fetch_gazebo | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
  2088. .................................................................................................................................................................................................................................................................................
  2089. Failed << fetch_gazebo:make [ Exited with code 2 ]
  2090. Failed <<< fetch_gazebo [ 32.0 seconds ]
  2091. Abandoned <<< fetch_gazebo_demo [ Unrelated job failed ]
  2092. Abandoned <<< fetch_navigation [ Unrelated job failed ]
  2093. Finished <<< fetch_depth_layer [ 53.2 seconds ]
  2094. [build] Summary: 8 of 11 packages succeeded.
  2095. [build] Ignored: None.
  2096. [build] Warnings: None.
  2097. [build] Abandoned: 2 packages were abandoned.
  2098. [build] Failed: 1 packages failed.
  2099. [build] Runtime: 54.9 seconds total.
Add Comment
Please, Sign In to add comment