ROS2 foxy flatland not working

asked 2023-05-05 11:24:05 -0600

Nartmangnourt gravatar image

updated 2023-05-06 11:34:13 -0600

Hey, i want to install flatland for ros2 foxy(i branch the ros2-foxy-plugins): https://github.com/avidbots/flatland/...

After i do colcon build, i getting some errors:

--- stderr: flatland_server                                 
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/geometry.cpp:88:2: warning: extra ‘;’ [-Wpedantic]
   88 | };
      |  ^
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/model_body.cpp:190:2: warning: extra ‘;’ [-Wpedantic]
  190 | };
      |  ^
In file included from /home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/model.cpp:50:
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/include/flatland_server/model.h: In constructor ‘flatland_server::Model::Model(std::shared_ptr<rclcpp::Node>, b2World*, flatland_server::CollisionFilterRegistry*, const string&, const string&)’:
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/include/flatland_server/model.h:73:28: warning: ‘flatland_server::Model::cfr_’ will be initialized after [-Wreorder]
   73 |   CollisionFilterRegistry *cfr_;     ///< Collision filter registry
      |                            ^~~~
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/include/flatland_server/model.h:72:14: warning:   ‘flatland_server::YamlReader flatland_server::Model::plugins_reader_’ [-Wreorder]
   72 |   YamlReader plugins_reader_;        ///< for storing plugins when paring YAML
      |              ^~~~~~~~~~~~~~~
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/model.cpp:54:1: warning:   when initialized here [-Wreorder]
   54 | Model::Model(std::shared_ptr<rclcpp::Node> node, b2World *physics_world, CollisionFilterRegistry *cfr,
      | ^~~~~
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/layer.cpp: In constructor ‘flatland_server::Layer::Layer(std::shared_ptr<rclcpp::Node>, b2World*, flatland_server::CollisionFilterRegistry*, const std::vector<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >&, const flatland_server::Color&, const YAML::Node&)’:
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/layer.cpp:108:66: warning: unused parameter ‘color’ [-Wunused-parameter]
  108 |              const std::vector<std::string> &names, const Color &color,
      |                                                     ~~~~~~~~~~~~~^~~~~
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/layer.cpp:109:32: warning: unused parameter ‘properties’ [-Wunused-parameter]
  109 |              const YAML::Node &properties)
      |              ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/world.cpp:51:
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/include/flatland_server/world.h: In constructor ‘flatland_server::World::World(std::shared_ptr<rclcpp::Node>)’:
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/include/flatland_server/world.h:82:8: warning: ‘flatland_server::World::service_paused_’ will be initialized after [-Wreorder]
   82 |   bool service_paused_;  ///< indicates if simulation is paused by a service
      |        ^~~~~~~~~~~~~~~
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/include/flatland_server/world.h:81:17: warning:   ‘flatland_server::PluginManager flatland_server::World::plugin_manager_’ [-Wreorder]
   81 |   PluginManager plugin_manager_;  ///< for loading and updating plugins
      |                 ^~~~~~~~~~~~~~~
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/world.cpp:61:1: warning:   when initialized here [-Wreorder]
   61 | World::World(std::shared_ptr<rclcpp::Node> node)
      | ^~~~~
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/interactive_marker_manager.cpp: In member function ‘void flatland_server::InteractiveMarkerManager::processMouseDownFeedback(const ConstSharedPtr&)’:
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/interactive_marker_manager.cpp:200:79: warning: unused parameter ‘feedback’ [-Wunused-parameter]
  200 |     const visualization_msgs::msg::InteractiveMarkerFeedback::ConstSharedPtr &feedback) {
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/interactive_marker_manager.cpp: In member function ‘void flatland_server::InteractiveMarkerManager::processPoseUpdateFeedback(const ConstSharedPtr&)’:
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/interactive_marker_manager.cpp:205:79: warning: unused parameter ‘feedback’ [-Wunused-parameter]
  205 |     const visualization_msgs::msg::InteractiveMarkerFeedback::ConstSharedPtr &feedback) {
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/nartmangnourt/ros2_ws/src/utils/flatland/flatland_server/src/dummy_world_plugin.cpp: In member function ‘virtual void flatland_plugins::DummyWorldPlugin::OnInitialize ...
(more)
edit retag flag offensive close merge delete