Skip to content

An open framework for testing navigation algorithms using different robots and different simulators.

License

Notifications You must be signed in to change notification settings

MetroRobots/the_navigation_gauntlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Navigation Gauntlet

An open framework for testing navigation algorithms using different robots and different simulators.

Metrics

To analyze a bag file, run

ros2 run navigation_metrics analyze_bag path/to/bag

To add metrics of your own, simply implement a function that takes a FlexibleBag as a parameter, and return the value of your metric, e.g.

from navigation_metrics.metric import nav_metric

@nav_metric
def total_collisions(data):
    collision_topics = data.get_topics_by_type('collision_msgs/msg/Collisions')
    total = 0
    for topic in collision_topics:
        for t, msg in data[topic]:
            total += len(msg.collisions)
    return total

About

An open framework for testing navigation algorithms using different robots and different simulators.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages