Skip to content

Benchmark example does not work for me #6

@jonasdn

Description

@jonasdn

When I run the benchmark I seem to end up in an inf. loop.

build$ ./example_benchmark
[never seem to end]

The program never leaves the loop in run():

        // empty receiver queue
        while (true)
        {
            Packet p = con.recv(100);
            if (!p)
            {
                break;
            }
        }

Is there something I am missing? I have changed the address in the source:

 int main()
 {
     // std::vector<std::string> uris({"radio://*/80/2M/E7E7E7E7E7", "radio://*/90/2M/E7E7E7E7E7"});
-    std::vector<std::string> uris({"radio://*/80/2M/E7E7E7E7E7"});
+    std::vector<std::string> uris({"radio://0/80/2M/DEADBEEF"});

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions