• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

clausqr/qrsim2: Quadrotor / UAV Simulator using Matlab, Simulink and Flightgear ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

clausqr/qrsim2

开源软件地址(OpenSource Url):

https://github.com/clausqr/qrsim2

开源编程语言(OpenSource Language):

MATLAB 99.8%

开源软件介绍(OpenSource Introduction):

Quadrotor Simulator using Matlab/Simulink and Flightgear

The aim of this simulator is to

  1. provide a framework for control and dynamics simulation,
  2. focus on the rigid body attitude control problem,
  3. provide a nice way to visualize what's going on.

I used it on my thesis to test a global, robust, non-linear controller based on Lyapunov functions. This controller can to track any arbitrary desired orientation of the Quadrotor within a specified error bound, and the results provide a way to translate bounded measurement and navigation errors to final pointing accuracy errors, and also to obtain a bound on the tracking accuracy given the timestep used for the digital implementation of the continuous controller. If you want to find out more please have a look at my thesis!

ScreenShot

##Blocks The modular approach allows for customization of the different blocks: ScreenShot

a. Command Generation Block / Joystick Input
b. Controller Block
c. Rigid Body Dynamics (UAV model) Block
d. Navigation/Measurement Block
e. Visualization Block

Each block is implemented inside a standalone .m file that gets called from within simulink as a level-2 s-file. The name of the .m files is self explanatory (Quadrotor_Navigation.m, Quadrotor_Controller.m, etc.).

Global initialization is done with a callback hooked up on ModelInit, implemented through modelo2Initialization.m

##Visualization with Flightgear

The last block allows for Flightgear visualization, see Flightgear-QUADLSE-Model for a nice UAV model to use with Flightgear. Otherwise it's straightforward.

##Structure

Almost all functionality is implemented in separate .m files for easy tweaking.

Launching

  1. Load with simulink:
load_model('modelo2a.slx')

...
2. Start Flightgear with arguments to listen for network connections:

./fgfs --fdm=network,localhost,5501,5502,5503 --fog-fastest --disable-clouds --in-air --enable-freeze --aircraft=QUADLSE  

...
3. Fly
4. Tweak
5. goto 3




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap