[ros-users] [Discourse.ros.org] [Next Generation ROS] Talker example issue with Beta 1
Dirk Thomas
ros.discourse at gmail.com
Wed Dec 28 17:35:02 UTC 2016
The type support for C++ has been heavily refactored before the beta 1. So that might be related. On the other hand it passes all unit tests and works for me (and others) just fine.
The to locations where the exception is thrown are: https://github.com/ros2/rmw_fastrtps/blob/release-beta1/rmw_fastrtps_cpp/src/functions.cpp#L782 and https://github.com/ros2/rmw_connext/blob/release-beta1/rmw_connext_cpp/src/functions.cpp#L225
In order to figure out what is wrong can you please debug a few local variables in `gdb`:
* `print type_supports`
* `print type_supports.typesupport_identifier`
* `print type_supports.data`
* `print type_supports.func`
I haven't tried the following line but something like this:
* `print (type_support_map_t *)(type_supports.data)`
* `print ((type_support_map_t *)(type_supports.data)).size`
* `print ((type_support_map_t *)(type_supports.data)).package_name`
* `print ((type_support_map_t *)(type_supports.data)).typesupport_identifier[0]`
---
[Visit Topic](https://discourse.ros.org/t/talker-example-issue-with-beta-1/992/11) or reply to this email to respond.
More information about the ros-users
mailing list