cannot find a matlab message class for type mavros_msgs/RCIn [closed]

asked 2017-08-24 08:29:14 -0500

seongyoung gravatar image


I'm going to fly with two ducted fans. I'll call it UAV1 and UAV2 for ease of explanation.

Raspberry pi and fixhawk2 were linked to each ducted fan based on mavros GCS used Qground. UAV1 was designated as master.

I then connected MATLAB to the master and attempted to put the RC_OUT value of UAV1 into RC_OUT of UAV2 using Simulink, but it failed.

The simulink error is "Error evaluating 'MaskDialog' callback of ROS subscribe block (mask) 'untitled / Subscribe'. Can not find a MATLAB message class for type mavros_msgs / RCOut."

I do not have a message type, but I do not know how to make a message type. Please help me Thank you

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see for more details. by jayess
close date 2017-08-24 18:12:32.944413



Here's an answer from MATLAB Answers:

jayess gravatar image jayess  ( 2017-08-24 18:11:01 -0500 )edit

And if that doesn't work for you I would ask there because this doesn't seem to be a ROS-related question but rather a MATLAB-related question (you did say that it's a Simulink error...)

jayess gravatar image jayess  ( 2017-08-24 18:11:41 -0500 )edit