You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Thanks for the thorough response! I'm probably not the best person to help you develop at this point, but I'm very interested in being able to create similar simulations of other dynamic system models. I might get back to you when I have a better idea of what's going on.

  • Developer

    Scicoslab is free and the source code is open. I find it more friendly for development of blocks since they aren't trying to sell their own. Its developed by a French research institute.  There are binaries for linux/max/windows and it works great for me. I've used matlab/simulink in the past and I find the scicoslab interfacing functions easier to use than matlab's. Scicoslab is primarily the same as matlab but if you want to develop your own blocks or help me out :-), I recommend the book, "Modelling and Simulation in Scilab/Scicos with ScicosLab 4.4". You can find it on Amazon, or parts of it online at Google Books.

     

    The sliders are the autopilot control input, desired heading, velocity, and altitude. I'm using a backside control strategy so airspeed->elevator, heading->bank angle->aileron/rudder, altitude->throttle. The dynamic model is JSBSim and I wrote an interfacing function that compute the derivatives from the equations of motion. Scicoslab handles the integrators with a variety of available methods. This allows non-realtime and realtime simulation which can be much superior to your standard flight simulator if you need to do batch processing and data analysis. I also developed hardware in the loop blocks that speak the mavlink protocol and communicate with ArduPIlotMega or any other mavlink compatible uav.

     

    You can find all of my code here but I haven't had a chance to build it on windows. It has built on linux/mac. I just need a developer to help work through the windows issues to provide a windows binary. 

    https://sourceforge.net/projects/oooark/

  • This is very cool! So you built the dynamic model in Scicoslab, and then when you run it in real time, it updates the position of your jet and the flaps? What exactly are the input sliders you control in the block diagram panel?

    Have you worked with MATLAB/Simulink in the past, and would you say scicoslab is significantly harder, easier, has more features, etc?

     

This reply was deleted.