TCP/ip send,receive box question
2 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
vijaya lakshmi
on 10 Apr 2018
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.
0 Comments
See Also
Categories
Find more on MATLAB Support Package for Parrot Drones in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!