Giter Club home page Giter Club logo

cost_map's People

Contributors

bit-pirate avatar naveedhd avatar stonier 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

cost_map's Issues

cost_map_core build error

Hello
Cost_map_core build is failing. cost_map::CostMap is referring elements which are not declared as members for this class.

cost_map_iterator.cpp:19:3: error: ‘mapIndexWithinRange’ is not a member of ‘grid_map’
grid_map::mapIndexWithinRange(endIndex_, size_);
spiral_iterator.cpp:30:7: error: ‘checkIfIndexWithinRange’ is not a member of ‘grid_map’
if (grid_map::checkIfIndexWithinRange(indexCenter_, bufferSize_)) pointsRing_.push_back(indexCenter_);
89:9: error: ‘checkIfIndexWithinRange’ is not a member of ‘grid_map’
if (grid_map::checkIfIndexWithinRange(pointInMap, bufferSize_)) {
polygon_iterator.cpp:85:3: error: ‘limitPositionToRange’ is not a member of ‘grid_map’
grid_map::limitPositionToRange(topLeft, mapLength_, mapPosition_);
polygon_iterator.cpp:86:3: error: ‘limitPositionToRange’ is not a member of ‘grid_map’
grid_map::limitPositionToRange(bottomRight, mapLength_, mapPosition_);
circle_iterator.cpp:87:3: error: ‘limitPositionToRange’ is not a member of ‘grid_map’
grid_map::limitPositionToRange(topLeft, mapLength_, mapPosition_);
circle_iterator.cpp:88:3: error: ‘limitPositionToRange’ is not a member of ‘grid_map’
grid_map::limitPositionToRange(bottomRight, mapLength_, mapPosition_);

..........
..........
ellipse_iterator.cpp:95:3: error: ‘limitPositionToRange’ is not a member of ‘grid_map’
grid_map::limitPositionToRange(bottomRight, mapLength_, mapPosition_);

To GridMap policies

Write now it just converts data linearly according to the policy 0.0 (FREE_SPACE) - 100.0 (NO_INFORMATION).

  • Could use a user-provided rule for conversion
  • Could use a addLayerFromCostMap() function so it can be done piecemeal

cost_map from costmap_2d at specific location

The current implementation of fromROSCostMap2D does not allow to specify the location of the window which is copied from the ros costmap_2d. (This is what broke the navigation.)

The implementation before pr #19 always extracted around the position of the robot.

Ideally you should be able to specify it and have default.

Battery of tests on ros costmap conversion

Important to make sure this is always working - need a battery of tests that test the various permutations of rolling vs non-rolling windows, map at the origin and not, robot pose aligned or not.

cost_map_ros is failing to build due to moved header

It looks like https://github.com/ethz-asl/grid_map/pull/96 moved the location of the header.

I've ticketed it for a backwards compatibility header: https://github.com/ethz-asl/grid_map/issues/111 but until that's available or the include is switched this is broken.

http://build.ros.org/view/Ibin_uT64/job/Ibin_uT64__cost_map_ros__ubuntu_trusty_amd64__binary/8/console

00:07:47.321 /tmp/binarydeb/ros-indigo-cost-map-ros-0.3.1/src/lib/converter.cpp:23:47: fatal error: grid_map_ros/Costmap2DConverter.hpp: No such file or directory
00:07:47.321  #include <grid_map_ros/Costmap2DConverter.hpp>
00:07:47.321    

Opencv Conversions

Right now the image bundles convert from opencv type to a ros image message and then to a cost map object.

Cut the secondary conversion and go direct from opencv type to cost map object. This has been done over in grid_map. Additionally, get this code in via a similar set of api in cost_map_cv.

Uncaught inflate exception

When Inflate cannot find the provided layer name a STD exception is thrown:

terminate called after throwing an instance of 'std::out_of_range'
  what():  CostMap::get(...) : No map layer of type '' available.

Looking at the demo inflation code, I would expect I only have to catch ECL exception. Should I implement a catch all or should this exception be caught by Inflate.

PS: The same issue also exists in Deflate.

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.