Giter VIP home page Giter VIP logo

Comments (11)

pjreed avatar pjreed commented on September 17, 2024 1

Everything is designed to build with Java 1.8. What errors are you encountering?

from bag-database.

pjreed avatar pjreed commented on September 17, 2024

For what it's worth, it should work that way. I've been busy lately and haven't had a chance to test it, but I'll see if I can repeat that sometime soon...

from bag-database.

cheffe112 avatar cheffe112 commented on September 17, 2024

Well, the Readme says:

The messages on the topic should be newline-separated tags that are made of colon-separated key/value pairs; for example:
name: John Doe
email: [email protected]

How I understood this is that name: John Doe is the key and email: [email protected] is the value, so what you @joelsa want to achieve should follow a name\nJohn Doe syntax, I guess?

However, for me it doesn't work either this way while specifying METADATA_TOPICS="/annotation" with the /annotation topic existing as std_msgs/String and containing some messages.

from bag-database.

joelsa avatar joelsa commented on September 17, 2024

That's certainly one way to read it @cheffe112, however by looking at the code I am quite sure that the pairs should be of the format tagName + ": " + value

from bag-database.

tafulop avatar tafulop commented on September 17, 2024

I have the same problem and I would like to help you to fix it. To do that, I need information about what is the Java version that should be used to build the solution. I am trying to do it with version 1.8.0_151, but it is not okay unfortunately.

from bag-database.

tafulop avatar tafulop commented on September 17, 2024

Same behaviour that was mentioned in this bug, the tags are not get parsed, even the content of the bag file is correct. I am looking into the problem, right now I am debugging the code and hopefully will find the problem.

Regarding to the build, nothing. It was a problem with my machine - so user error. :)

from bag-database.

tafulop avatar tafulop commented on September 17, 2024

I have found the problem, the array that meant to contain the metadata topics is not set anywhere, therefore stays empty, therefore skips the tag reading. I have manually set the topic to the default one by hardcoding it - just to prove my idea - and it worked, so the parsing and persisting functionality works for the tags.

Shall I fix it?

from bag-database.

pjreed avatar pjreed commented on September 17, 2024

Sure, please submit a pull request.

from bag-database.

tafulop avatar tafulop commented on September 17, 2024

Alright, I will do in the next few days.

from bag-database.

pjreed avatar pjreed commented on September 17, 2024

Well, it took a long time to figure out, but this should finally be fixed.

from bag-database.

tafulop avatar tafulop commented on September 17, 2024

Something is still not okay, I think the config file is not generated by the script that you have just added but it exists beforehand - at least it looks like this with the latest version of development branch.

from bag-database.

Related Issues (20)

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.