Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to parse field definition: protobuf #37

Open
Dejia2017 opened this issue Nov 10, 2018 · 2 comments
Open

Unable to parse field definition: protobuf #37

Dejia2017 opened this issue Nov 10, 2018 · 2 comments
Assignees
Labels

Comments

@Dejia2017
Copy link

I see this error when I readBag.

11:19:29.819 [main] DEBUG com.github.swrirobotics.bags.reader.messages.serialization.MessageCollection - --- Starting message parsing for pb_msgs/Localization ---
11:19:29.825 [main] DEBUG com.github.swrirobotics.bags.reader.messages.serialization.MessageType - Parsing message type: pb_msgs/Localization
11:19:29.825 [main] DEBUG com.github.swrirobotics.bags.reader.messages.serialization.MessageCollection - --- Finished parsing messages ---
11:19:29.828 [main] ERROR com.github.swrirobotics.bags.reader.records.Connection - Error configuring message deserializer:
com.github.swrirobotics.bags.reader.exceptions.InvalidDefinitionException: Unable to parse field definition:
protobuf
at com.github.swrirobotics.bags.reader.messages.serialization.MessageType.(MessageType.java:125)
Parsing message type: pb_msgs/Localization

maybe the type of "pb_msgs/Localization" can not be parsed. I want to know how to solve this problem.
looking forward to your reply! thank you!

@Dejia2017
Copy link
Author

is this java-api support GPS type?

@pjreed
Copy link
Contributor

pjreed commented Nov 12, 2018

It should work with GPS messages such as sensor_msgs/NavSatFix or gps_common/GPSFix.

Could you share your message definition or a small bag file that contains an example message?

@pjreed pjreed self-assigned this Nov 12, 2018
@pjreed pjreed added the bug label Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants