MATLAB error on ROS custom message
1 view (last 30 days)
I am trying to generate a custom ROS message in MATLAB, and I have followed all sorts of tutorials. However, I am getting the following error:
* What went wrong:
Could not resolve all dependencies for configuration ':mrs_mavros_interface:runtime'.
> Could not resolve org.ros.rosjava_messages:mavros_msgs:[0.0,).
> No cached version of org.ros.rosjava_messages:mavros_msgs:[0.0,) available for offline mode.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 5.499 secs
Can someone please help me with it.
Jagadeesh Konakalla on 30 Mar 2021
Hi HemJyothi Das,
Which version of MATLAB that you are using ?
From the error message, i understand that you are using MATLAB version earlier than R2020b.
To Use custom ROS message and service types in MATLAB and Simulink, you need install ROS Toolbox interface for ROS Custom messages. Please find thw following link
If you have already installed the package, please share the custom message package.