Working with ROS kinetic and Matlab, overwriting messge definitions
4 次查看(过去 30 天)
显示 更早的评论
I have Ubuntu 16.04 installed with ROS kinetic. Matlab Robotic system toolbox only supports Indigo and Hydro, but I know that it is still possible to use Robotic System Toolbox also with kinetic.
However there are some messages that have been update in ROS system between the versions and I was thinking if it is possible to overwrite the ROS messages used by Robotic System Toolbox?
One specific service that I would like to update is the GetModel in gazebo_msgs package. The definition has changed so that the responce now has Header included http://docs.ros.org/kinetic/api/gazebo_msgs/html/srv/GetModelState.html http://docs.ros.org/indigo/api/gazebo_msgs/html/srv/GetModelState.html.
I tried to create custom messages from kinetic version of gazebo_msgs. It creates the messages but the old(indigo) messages are also now still present. Is there possibility to remove the gazebo_msgs(indigo) package from Robotic System Toolbox and replace it with my the custom messages(kinetic)?
0 个评论
采纳的回答
Gillian Rosen
2017-9-27
Hi Antti,
I understand that you have defined the Kinetic version of the gazebo_msgs package to use with your ROS Kinetic setup, and you would like to overwrite the default Indigo version of gazebo_msgs in MATLAB with the Kinetic one.
You can add the 'before' token to your javaclasspath.txt file to have MATLAB use your JAR file instead of the builtin one. Please see this MATLAB Answers post for directions:
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Specialized Messages 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!