Git Product home page Git Product logo

cram_highlevel's People

Contributors

airballking avatar fairlight1337 avatar gaya- avatar moesenle avatar nikolausdemmel avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

cram_highlevel's Issues

Generation of free space regions using semantic maps fails

When including the semantic-map-costmap package, the generated location costmaps result in no free space for the robot to drive to. Even though the semantic map is working (semantically annotated objects are placed correctly, resolution of positions on those items works like a charm), the predicate

  (<- (desig-costmap ?desig ?cm)
    (or (desig-prop ?desig (to see))
        (desig-prop ?desig (to reach)))
    (costmap ?cm)
    (semantic-map-objects ?objects)
    (costmap-padding ?padding)
    (costmap-add-function semantic-map-free-space
                          (make-semantic-map-costmap
                           ?objects :invert t :padding ?padding)
                          ?cm)
    ;; Locations to see and to reach are on the floor, so we can use a                                                                                                                                          
    ;; constant height of 0                                                                                                                                                                                     
    (costmap-add-cached-height-generator
     (make-constant-height-function 0.0)
     ?cm))

seems to be buggy. The offending call seems to be make-semantic-map-costmap as it does not mark free space when called. Commenting out the predicates removes the feature of free space determination, resulting in normal behavior for resolution of locations on objects.

Check for oscillations in `at-location' macro needed

The at-location macro is prone to get stuck when the target location and the current robot location are ambiguous, even though the robot is at the correct location. A reason for this can be invalid input from a loaded semantic map. The macro then tried to reach the 'correct' location by specifying a new goal, driving away from the real target and then falsifying the result again.

This results is a loop, repeatedly calling PERCEIVE-STATE (LOC ROBOT ...). With a very small chance, the loop concludes in the correct solution and returns. Though, this happens rarely for me and only between 500-1000 iterations of the loop.

An error message, checking for 10 or so of such oscillations (which should be more than enough for one at-location run) should be implemented, stating such a faulty situation.

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.