Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Messages in Matlab #33

Closed
vvami opened this issue Oct 6, 2020 · 2 comments
Closed

Custom Messages in Matlab #33

vvami opened this issue Oct 6, 2020 · 2 comments
Assignees
Labels
type: question Further information is requested wontfix This will not be worked on

Comments

@vvami
Copy link

vvami commented Oct 6, 2020

Hello there,

Creating the custom messages like mav_msgs/Actuators in Matlab is mentioned in the wiki page, but I had a question about it. I tried that method but it didn't work with me but maybe that's because I didn't fully understand some parts.

What I did is as follows: First of all, I downloaded the two rar files and unzipped them in the location C:\Users\my_username\OneDrive\Documents\MATLAB so that in that location I have two folders (customMessages & jarFiles_MATLAB).

Then I created the txt file javaclasspath.txt in C:\Users\my_username\AppData\Roaming\MathWorks\MATLAB\R2019b and filled it with:

C:\Users\my_username\OneDrive\Documents\MATLAB\customMessages\matlab_gen\jar\geometry_msgs-1.12.5.jar
C:\Users\my_username\OneDrive\Documents\MATLAB\customMessages\matlab_gen\jar\sensor_msgs-1.12.5.jar
C:\Users\my_username\OneDrive\Documents\MATLAB\customMessages\matlab_gen\jar\trajectory_msgs-1.12.5.jar
C:\Users\my_username\OneDrive\Documents\MATLAB\customMessages\matlab_gen\jar\mav_msgs-3.2.0.jar

Now the problem is that when I open matlab, it says in the command window:

Warning: Name is nonexistent or not a directory:
C:\Users\my_username\OneDrive\Documents\MATLAB\customMessages\matlab_gen\msggen

And when I run the command:
addpath('C:\Users\my_username/OneDrive\Documents\MATLAB\customMessages\matlab_gen\msggen');

I get this:
Warning: Name is nonexistent or not a directory: C:\Users\my_username\OneDrive\Documents\MATLAB\customMessages\matlab_gen\msggen

Should I do any changes to the rar files I've downloaded and their paths maybe?

Thank you in advance.

@gsilano gsilano added the type: question Further information is requested label Oct 8, 2020
@gsilano gsilano self-assigned this Oct 8, 2020
@gsilano
Copy link
Owner

gsilano commented Oct 8, 2020

Mhmm. Have you checked these issues? gsilano/CrazyS#16, gsilano/CrazyS#18, and gsilano/CrazyS#19. Although they are for CrazyS (another ROS package of mine), they may help you figure out what went wrong. If not, we will investigate the problem.

@stale
Copy link

stale bot commented Jun 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jun 2, 2021
@stale stale bot closed this as completed Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants