For anyone having an error with the bus creator in the Landing Logic subsystem, I solved the problem by keeping the fifth input of the system, which is called "live_time_ticks". I connected that fifth input to a constant block with value 1 and type uint32. The system worked and the UAV was able to fly in SIMULATION. I didn't test it on hardware because I don't have it.
I had no idea you could do this with the parrot quadcopter. I know virtually nothing about Math works products, but that's going to change. Being able to design, test, debug and tweak models is pretty cool, but being able to turn that straight into C code is astounding. I always thought that Matlab woykd be crazy expensive, but the home and student licenses are very attractive.
I'm sorry video doesn't look complete and true, once.i attempt to repeat it with my Simulink model few errors pops up, such as: Bus command error:The bus data type 'CommandBus' specified in 'flightControlSystem/Flight Control System/landing logic/Bus Creator' is not valid; the number of signals at the input to the block must match the number of object elements.
How could I deploy my entirely c code into parrot minidrone? Can I charge the binarys to its microcontroller without simulink? Thanks in advance. Its an amazing video
I think it's more of an advertising MATLAB capabilities rather than a tutorial. It was too broad. But at least I got a clue of how real-life control systems are designed which I had no idea.
Way too much flowery language, technical terms, and statements. Way too much reliance on pictures. Not much actual content. This is an exercise in demonstrating your graphics control, not a method for teaching that actually provides useful information. Brings new meaning to “droning”, on and on and on………..
@@aymenal-tarooti1959 Hello, the whole block works very well for me, but when I make the modifications that Brian does (obviously something I do wrong) he gives me errors. I have not tried anything else, I bought other parrot drones more, but I am using them to run races with friends, it is very fun and they work very well. In a few days, I'm going to get back to the subject of doing my own flight control. I'll tell you about the advances.
I already bought it, I hope it serves me and I can do and program the example you gave me in my drone. Another query, can I return the programming to the initial state, if I want to fly the drone with the remote control?
Fernando Liozzi yep, I do it all the time. It’s easy to go back and forth. Took me a bit to get it to link to my computer the first time but after that it’s been simple. The FAQ page on mathworks is really good for working through any issues.
I got an error on the bus selector in the flight controller. Then I fixed it. But another error occurs. The errors are come out from the bus creator on reference commands (hardcode same as this video). I also look at 2 pose_refout. In this video, we don't need that..but in the next minutes part of this video, the 2 pose_refout still exists. I was a little bit confused about that. Has anyone have been tried it and successfully to flying the drone? Thank you.
I've implemented a flight controller system in C code but I am unsure how to convert the control signal value from the PID loop into a PWM time period. Since the error is the difference between the angular reference signal and angular orientation of the drone from the IMU, the PID calculations operate on angles but how can I convert the PID output values to PWM time periods to adjust the thrust of the motors?
Enjoying this series so far, great job Brian! At 11:28 you've indicated a rotation. But the gain variable in use is a 1×6 vector called inverse IMU gain. Given one would have expected a rotation matrix, please can you explain how rotation is achieved?
Wow, I’m not sure you could have included more general comments without explanation. I fully understand the topic, but I don’t see how this is any use as an explanation of anything. Way to take a relatively easy to explain concept and make it more confusing. You really need to explain things in a logical order.