Code Monkey home page Code Monkey logo

gazebo_ros_2dmap_plugin's People

Contributors

marinakollmitz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gazebo_ros_2dmap_plugin's Issues

Gazebo9 + Gazebo7 support

I see that currently a separate branch exists for (melodic + gazebo9) support while the mainline supports (kinetic + gazebo7). Is there a plan to support gazebo7 and gazebo9 within the same branch?

For reference, I have made the changes in a personal fork. It would be great if these changes could be merged upstream in the mainline or as a separate branch.

Error running the plugin

Hi,
I am using this package on ubuntu 16 with ROS kinetic.
Included the plugin as described right over the </world> tag and ran the world file in gazebo as
$ gazebo myworld.world
I am getting the following errors:

[FATAL] [1571652019.569040996]: You must call ros::init() before creating the first NodeHandle
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
[ERROR] [1571652019.611353705]: [registerPublisher] Failed to contact master at [:0].  Retrying...
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []
Couldn't find an AF_INET address for []

roscore is already running on another terminal. Not sure why the error is so. Can you help me.

Thanks

occupied cells in unknown space

It can happen that occupied cells are "inside" objects, in unknown space. The robot would never observe these cells during mapping.

Plugin breaks down when map size is not square

See title, setting map to anything not square causes really weird glitching in the created map.

If you set an expansion limit to something like a 100 cells, you'll notice that multiple "wave-fronts" seem to be created.

ROS melodic, Gazebo version 9

Hi,
I want to use this package on Ubuntu 18 with ROS melodic and gazebo version 9. After catkin_make I got the following error:
fatal error: gazebo/math/Vector3.hh: No such file or directory #include <gazebo/math/Vector3.hh>
which is explained here:
https://answers.gazebosim.org/question/21872/vector3hh-not-found-on-gazebo9/

So I changed math::Vector3 to ignition::math::Vector3
with the header #include <ignition/math/Vector3.hh>

but I still get some errors:
[ 0%] Built target gazebo_ros_2Dmap_plugin_xacro_generated_to_devel_space_ [ 50%] Building CXX object gazebo_ros_2Dmap_plugin/CMakeFiles/gazebo_2Dmap_plugin.dir/src/gazebo_2Dmap_plugin.cpp.o /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp: In member function ‘virtual void gazebo::OccupancyMapFromWorld::Load(gazebo::physics::WorldPtr, sdf::ElementPtr)’: /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:68:44: error: qualified-id in declaration before ‘(’ token bool OccupancyMapFromWorld::ServiceCallback(std_srvs::Empty::Request& req, ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:75:50: error: qualified-id in declaration before ‘(’ token bool OccupancyMapFromWorld::worldCellIntersection(const ignition::math::Vector3& cell_center, ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:124:39: error: qualified-id in declaration before ‘(’ token void OccupancyMapFromWorld::cell2world(unsigned int cell_x, unsigned int cell_y, ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:133:39: error: qualified-id in declaration before ‘(’ token void OccupancyMapFromWorld::world2cell(double world_x, double world_y, ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:142:39: error: qualified-id in declaration before ‘(’ token bool OccupancyMapFromWorld::cell2index(int cell_x, int cell_y, ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:158:39: error: qualified-id in declaration before ‘(’ token bool OccupancyMapFromWorld::index2cell(int index, unsigned int cell_size_x, ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:174:47: error: qualified-id in declaration before ‘(’ token void OccupancyMapFromWorld::CreateOccupancyMap() ^ In file included from /usr/include/gazebo-9/gazebo/common/common.hh:36:0, from /usr/include/gazebo-9/gazebo/gazebo_core.hh:19, from /usr/include/gazebo-9/gazebo/gazebo.hh:20, from /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/include/common.h:26, from /home/usermap_ws/src/gazebo_ros_2Dmap_plugin/include/gazebo_2Dmap_plugin.h:28, from /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:21: /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:283:1: error: expected unqualified-id before string constant GZ_REGISTER_WORLD_PLUGIN(OccupancyMapFromWorld) ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:283:1: error: a function-definition is not allowed here before ‘{’ token GZ_REGISTER_WORLD_PLUGIN(OccupancyMapFromWorld) ^
any tip will be appreciated, thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.