Closed furushchev closed 6 years ago
Can one of the STRANDS admins verify this patch? Post a comment containing "ok to test" to enable Jenkins builds for this pull request.
I further fixed to use ros::message_traits::datatype
method to get data type string of serialized message instead of ros::message_traits::DataType<MsgType>::value()
which returns meaningless value if message type is topic_tools::ShapeShifter
and now we don't have to define specialized function.
Also added test codes for this case.
@hawesie Thank you very much for merging! Please could you release it when you have time :+1:
We're just battling with some 14.04 release issues, but it should be done soon.
@furushchev please remind me again which ROS version you use and where you get your releases from?
@hawesie Thank you! I'm using indigo for ROS version and shadow-fixed
for getting released packages.
I've been trying to release, but there's some weird key errors: http://build.ros.org/job/Kbin_djv8_dJv8__mongodb_store__debian_jessie_arm64__binary/5/console
Actually the failure is for 15.04, so maybe we're ok.
In C++,
topic_tools/ShapeShifter
is used for the representation likeAnyMsg
in Python. Before this pull request, message type oftopic_tools/ShapeShifter
is set as*
, not the original type of message, which causes failure on insertion.In this pull request, I added special serialization function for
topic_tools/ShapeShifter
using template specialization.