Giter VIP home page Giter VIP logo

moveit_middleware_benchmark's Introduction

moveit_middleware_benchmark

Under Construction

CI (Rolling)

Middleware Benchmark Tool For MoveIt2

This middleware benchmark tool aims to measure middleware effects on various scenarios like perception pipeline in MoveIt. There is a following list to see scenarios and how to measure the effects of middleware.

Getting Started

moveit_middleware_benchmark's People

Contributors

cihataltiparmak avatar

Stargazers

Michael Ferguson avatar  avatar Silvio Traversaro avatar Julien Enoch avatar Sebastian Jahr avatar

Watchers

Julien Enoch avatar Henning Kayser avatar  avatar Sebastian Jahr avatar

moveit_middleware_benchmark's Issues

Add visualization scripts

Maybe you can add a small section here how to visualize the results (You can also open an issue and do that in a follow-up PR)

Originally posted by @sjahr in #5 (comment)

I actually implemented visualizer script in python. It would be great to prepare visualization relavant stuff in follow-up PR. But if you wonder it, i run benchmarks separately per each middleware (rmw_zenoh, rmw_cyclonedds and rmw_fastrtps). Then i move this files to where the script is located and run scripts. Box plot is created magically after running script. Script is [here](https://gist.github.com/CihatAltiparmak/899090aca71223fbb964569f83265a49).

Originally posted by @CihatAltiparmak in #5 (comment)

Fix visualizations for special usage of plot

It can only be shown one line(for example just rmw_fastrtps) in one graph at the moment. We want to show multiple lines(rmw_zenoh, rmw_cyclonedds and rmw_fastrtps) in same graph. We should modify website codes.

Potential Bug of wait_for_service method Related To Ros Service-Client Infrastructure

ScenarioBasicServiceClient::ScenarioBasicServiceClient(rclcpp::Node::SharedPtr node) : node_(node) {
client_ = node_->create_client<example_interfaces::srv::AddTwoInts>("add_two_ints");
if (!client_->wait_for_service(5s)) {
RCLCPP_FATAL(node_->get_logger(), "Server is not available !");
}
// TODO @CihatAltiparmak : add this time stopings to
// perception pipeline benchmark as well
// It should be waited even if server is okay due
// to the fact that server sometimes doesn't response
// request we sent in case that client sent request once server is ready
std::this_thread::sleep_for(1s);
}

As you can see in above code part, we must wait little bit more once wait_for_service returns True which means service is ready and good to go. Because if you send a request to server once wait_for_service returns true, server sometimes may not send a response to client and this gives rise to get stuck in waiting response from server. Our benchmark implementation seems to run well. Just for noting and investigating

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.