Ask Your Question
0

MATLAB R2016b ROS Initialization Problem on Windows 10 (rosinit doesn't working)

asked 2016-12-14 07:04:24 -0500

yucelokan gravatar image

updated 2016-12-14 13:17:35 -0500

gvdhoorn gravatar image

I am trying to use newest version of MATLAB R2016b with Robotics System Toolbox. My computer has 64-bit Windows 10 Education OS.

İt's Get Started with ROS

rosinit is working on Mac OS but the same command.

Problem is here:

I tried resolve of all combination on internet. But I didn't resolve this problem.

1- rosinit

2- ros initialization problem

rosinit

Problem is here:

Exception in thread "ROS Executor Thread" org.ros.exception.RosMessageRuntimeException: java.lang.ClassNotFoundException: std_msgs.uint32
    at org.ros.internal.message.definition.MessageDefinitionReflectionProvider.get(MessageDefinitionReflectionProvider.java:66)
    at org.ros.internal.message.Md5Generator.generate(Md5Generator.java:44)
    at org.ros.internal.message.Md5Generator$1.variableValue(Md5Generator.java:61)
    at org.ros.internal.message.definition.MessageDefinitionParser.parseField(MessageDefinitionParser.java:172)
    at org.ros.internal.message.definition.MessageDefinitionParser.parse(MessageDefinitionParser.java:107)
    at org.ros.internal.message.Md5Generator.generateText(Md5Generator.java:86)
    at org.ros.internal.message.Md5Generator.generate(Md5Generator.java:49)
    at org.ros.internal.message.Md5Generator$1.variableValue(Md5Generator.java:61)
    at org.ros.internal.message.definition.MessageDefinitionParser.parseField(MessageDefinitionParser.java:172)
    at org.ros.internal.message.definition.MessageDefinitionParser.parse(MessageDefinitionParser.java:107)
    at org.ros.internal.message.Md5Generator.generateText(Md5Generator.java:86)
    at org.ros.internal.message.Md5Generator.generate(Md5Generator.java:49)
    at org.ros.internal.message.topic.TopicDescriptionFactory.newFromType(TopicDescriptionFactory.java:36)
    at org.ros.internal.node.DefaultNode.newPublisher(DefaultNode.java:280)
    at org.ros.internal.node.RosoutLogger.<init>(RosoutLogger.java:41)
    at org.ros.internal.node.DefaultNode.start(DefaultNode.java:195)
    at org.ros.internal.node.DefaultNode.access$000(DefaultNode.java:90)
    at org.ros.internal.node.DefaultNode$1.run(DefaultNode.java:182)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: std_msgs.uint32
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.ros.internal.message.definition.MessageDefinitionReflectionProvider.get(MessageDefinitionReflectionProvider.java:62)
    ... 20 more

Error creating the node /matlab_global_node_70133.
edit retag flag offensive close merge delete

Comments

This is really more of a question for Mathworks support. Have you tried contacting them?

gvdhoorn gravatar image gvdhoorn  ( 2016-12-14 13:17:19 -0500 )edit

How can I contact with them ?

yucelokan gravatar image yucelokan  ( 2016-12-15 11:41:22 -0500 )edit

If you don't have a local/regional Mathworks contact person, you could try any of the options on the Mathworks support site.

gvdhoorn gravatar image gvdhoorn  ( 2016-12-18 04:29:54 -0500 )edit

I GOT İT. The language of my computer was Turkish. I solved the problem when I made this English (United States). :) :)

yucelokan gravatar image yucelokan  ( 2016-12-20 06:10:55 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2016-12-20 06:10:59 -0500

yucelokan gravatar image

I GOT İT. The language of my computer was Turkish. I solved the problem when I made this English (United States). :) :)

edit flag offensive delete link more

Comments

Wow. That is rather surprising.

Have you had contact with Mathworks about this? I'm guessing they would like to know about such an issue.

Thanks for reporting back btw, much appreciated!

gvdhoorn gravatar image gvdhoorn  ( 2016-12-20 06:54:36 -0500 )edit

Is not that enough? It's a topic I created

yucelokan gravatar image yucelokan  ( 2016-12-20 07:16:26 -0500 )edit

That would seem like it should get their attention. Thanks for that.

gvdhoorn gravatar image gvdhoorn  ( 2016-12-20 08:14:24 -0500 )edit

That didn't work for me. I'm using Matlab 2016a , WIN7 64 bit OS (default language : English ) ... when i try the 'rosinit' command. Same error occurs ... and i tried everything,but couldn't find the solution

dymzlr gravatar image dymzlr  ( 2018-02-02 01:38:31 -0500 )edit

As this is an officially supported Mathworks toolbox, I'd really recommend you post this on their support forums. The chances of getting a good answer are a lot higher then.

Do please post a link here to any issue you post on their fora.

gvdhoorn gravatar image gvdhoorn  ( 2018-02-02 03:38:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2016-12-14 07:04:24 -0500

Seen: 464 times

Last updated: Dec 20 '16