RflyExpCode icon indicating copy to clipboard operation
RflyExpCode copied to clipboard

Multicopter Design and Control Experiments based on MATLAB and PixHawk

Results 127 RflyExpCode issues
Sort by recently updated
recently updated
newest added

在安装的时候出现了如下错误: 错误: GetMD5.mexw64 无法正常工作 错误:安装包不完整。请重新下载安装包,关闭杀毒软件,再尝试重新运行安装脚本。 关闭了杀毒程序,重新下载了依然没有效果。 根据readme的提示发现无法打开MSVCP_2019.07.20_X64.exe,提示此应用”无法在你的电脑上运行“

I have tried to implement the exemple of attitude control of a quarotor using simulink and pixhawk, the code is well generated and implemeted on the board Ones I armed...

我的2017b的编译环境之前一直使用正常,windows更新过一次之后就出现了图示的错误,查了一些资料感觉是脚本的问题,但我没找到编译环境的脚本是哪一个,请问这个问题有办法解决吗?感谢! ![环境错误](https://user-images.githubusercontent.com/50541411/104401306-e0ca3f80-558e-11eb-9186-dd0a4a16c5c8.png)

Hi All, I am trying to simulate the HIL experiments from chapter 8 of prof. Quan book. In the page 365, it is said : "Simulation performance Arm the quadcopter...

Hi All, I am trying to upload the e_8_1_HIL example but the "PX4 PSP: Upload code to Px4FMU" script is only searching in the "COM3" port. I was able to...

> 你好。我们的模型是充分考虑风阻等因素的高逼真模型,正常情况下做姿态响应时,瞬间姿态可以调整过去,但随着速度的上升,机身会受到空气阻力,等到最终速度稳定时,飞机姿态才能达到受力平衡。Gazebo属于理想模型,没有空气阻力作用。我们的模型和实际实验结果更相近一点,你可以自行观察实飞数据。 首先非常感谢北航师兄的解答,但是我还是有个问题,百思不得其解,想请教师兄。 我去实际飞行后,看飞行日志确实有一些稳态误差,以下是实际飞行的响应 ![bokeh_plot (2)](https://user-images.githubusercontent.com/64846226/99222551-cccbc100-281d-11eb-8382-0fa5629bc7a7.png) 另外e0-1SoftwareSimExps的仿真程序和半实物仿真比较接近,但是做了mexw封装,没法查看,而且这个程序比半实物仿真超调大很多,需要把内环P调高才能抑制超调,不知道什么原因造成的。 ![e0](https://user-images.githubusercontent.com/64846226/99230359-34880900-282a-11eb-8e56-7516aaa8156d.png) 而e5.1的仿真程序响应很好,是没有稳态误差的 ![e5 1](https://user-images.githubusercontent.com/64846226/99230557-71ec9680-282a-11eb-9043-4fc691835430.png) 其实,我还是不明白,产生这个响应“坑”的主要是啥原因。e5.1的模型是带了空气阻力模型的,如下图。 ![空气阻力](https://user-images.githubusercontent.com/64846226/99230989-f50dec80-282a-11eb-8a84-71aa1543b53d.png) 按理说,pid的I可以补偿稳态误差,仿真的时候增大I确实可以使“坑”变小,但是不能消除。有什么办法可以补偿这个稳态误差吗? _Originally posted by @superorange1 in https://github.com/RflySim/RflyExpCode/issues/45#issuecomment-727830284_

请教大家一个问题,我用北航的coptersim半实物仿真出来的响应很差(有很大的误差),相同的参数做gazebo仿真,响应却很好,什么原因? ![北航模型](https://user-images.githubusercontent.com/64846226/99142998-0fae5d00-2695-11eb-8359-50c131191f5b.png) ![bokeh_plot](https://user-images.githubusercontent.com/64846226/99143003-1ccb4c00-2695-11eb-8465-2b627e1c069e.png) 下面是gazebo的,上面是北航CopterSim的。

Hi All, I am trying to simulate e7.3(HIL) and e8.1 (HIL) from prof. Quan book. Should I set CH6 as inactive(unassigned) and just make CH5 active(assigned) ? Any comment is...

你好! 我在你们提供的1.7.3固件中自定义了一个uorb消息和mavlink消息,这时可以成功编译,并且能烧录进飞控中。可是当我在simulink中编译官方的程序时,它会显示生成了相应的代码和库,但是并没有屏蔽和替换掉固件中本来的控制代码。请问问题出在哪里?如何解决? 以下是diagnostics viewer的输出: ### Generating code into build folder: D:\四旋翼\实验\RflyExpCode-master\code\e7\e7.3\HIL\leader_ert_rtw Output port 6 of 'leader/Control System1' is not connected. [4 similar] Component:Simulink | Category:Block warning Source 'leader/localPosition 1/uORB Read...

在进行硬件在环仿真时 ,在CpterSim平台下通过遥控器可以进行解锁,但是3D Display 界面看不到四轴起飞以及一些飞行姿态的信息。(3D Display 软件可以正常打开)