MATLAB Answers

How to publish a ros message of type dynamic_re​configure/​Config on ros publisher using simulink block in robotics system toolbox?

2 views (last 30 days)
Rahul Bhadani
Rahul Bhadani on 16 May 2016
Answered: Benedict Bauer on 12 Jan 2017
dynamic_reconfigure/Config message type is a complex message type with following signature:
Raw Message Definition
BoolParameter[] bools IntParameter[] ints StrParameter[] strs DoubleParameter[] doubles GroupState[] groups
Compact Message Definition
dynamic_reconfigure/BoolParameter[] bools dynamic_reconfigure/IntParameter[] ints dynamic_reconfigure/StrParameter[] strs dynamic_reconfigure/DoubleParameter[] doubles dynamic_reconfigure/GroupState[] groups
I am not able to figure out how to publish on a topic with such complex message type in simulink. It would be a great help if somebody can give an insight into this.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!