Java error when using rosinit command
3 views (last 30 days)
Show older comments
I am trying to use "Robotics System Toolbox" but when I type the "rosinit" command I get the error below on both Windows 10 and Ubuntu 14.04 LTS. Many of my friends have the same problem but no one could solve it. I created service request but the distributor on my country was not able to assist me since I have a student license.
Thank you
0 Comments
Answers (2)
Swarooph
on 26 Jul 2016
Googled to find this thread: http://answers.ros.org/question/207508/matlab-r2015a-ros-initialization-problem/
Maybe try this (quoted from the link):
It looks like there is some problem with creating ROS messages in your MATLAB installation.
To confirm this, try to create messages before calling rosinit:
rosmessage('std_msgs/String')
rosmessage('std_msgs/UInt32')
Does this work for you?
If it does not work, please check if "rosjava_messages.jar" is listed as one of the files in the output of "javaclasspath".
0 Comments
okan duymazlar
on 2 Feb 2018
So many people still faces with that problem , but there is no satisfying answer yet. Year 2018 and i have same problem with Matlab2016a
0 Comments
See Also
Categories
Find more on Network Connection and Exploration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!