TCP/ip send,receive box question

3 次查看(过去 30 天)
Hi, I am working on the quadcopter using the matlab simulink.
So, I would like to control the drone through the joystick controller.
I am using the pilot joystick box to get input from the joystick controller.
But the pilot joystick is not produce deployable code. So, I cannot deploy on the quadcopter.
So, I am trying to use TCP/IP send and receive box to send the joystick controller input to the quadcopter.
But, when I deploy the control system on the drone, it says Cannot propagate non-bus signal from output port.
Is there any way to fix it?

回答(1 个)

vijaya lakshmi
vijaya lakshmi 2018-4-10
Hi ChangKi,
If the model contains a loop without any real source which can start the propagation of the bus,then it becomes the expected behavior.
Even if we specify the bus data type on the ports of the subsystem, this cannot be used for bus propagation. Specifying bus data type on ports of subsystem is used only later in the propagation process for verification only.
To propagate a bus signal we either require a proper source such as a Root-level Inport, a Bus Creator, or a Constant block. If there is a loop and no real source, we can use a signal specification block.

类别

Help CenterFile Exchange 中查找有关 Parrot Minidrones 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by