フィルターのクリア

Set disarmed PWM of PX4 simulink app

5 ビュー (過去 30 日間)
Hans
Hans 2017 年 8 月 30 日
コメント済み: Zhaoyi 2019 年 2 月 25 日
Hi,
I am using the Pixhawk Support Toolbox on a Ubuntu 16 machine with Matlab R2016a. I have successful compiled, uploaded, and run my PX4_simulink_app on the Pixhawk. However, I am wondering how to change the Disarm PWM signal in the motor block.
Is there a process to modifying this block to set the disarmed PWM value?
  2 件のコメント
yohan diaz
yohan diaz 2018 年 3 月 19 日
Hi Hans,
Before you build and compile in Ubuntu you tried to build your project in Windows? I'm having an error reated with CMake version I'm using and I would like to know what version of CMake you use. Thanks from Brazil!
Zhaoyi
Zhaoyi 2019 年 2 月 25 日
I want to know how you combined the generated code of the simulink model into the px4 firmware. I don't quite understand the steps in the PX4 PSP documentation. I hope I can get your help. Thank you very much.

サインインしてコメントする。

回答 (1 件)

Zhao Wang
Zhao Wang 2017 年 9 月 7 日
I understand that you want to change the disarm signal for PWM outputs in the motor block. It appears that the disarm PWM signal cannot be changed from the block in the support package. As mentioned in the help document of the block, to arm or disarm the PWM output, you need to feed boolean False or True values to the 'ARM Output' port.
In order to modify the disarmed PWM output, you may need to open and modify the 'sfun_px4_pwm.tlc' file. This file is in the '..\pixhawk\blocks' folder of the support package.
  1 件のコメント
Hans
Hans 2017 年 9 月 8 日
Thanks, I was able to modify the block from the standard 900 PWM disarm rate. I have not tested it yet though.

サインインしてコメントする。

コミュニティ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by