19

阿木币

0

精华

43 小时

在线时间

老司机

Rank: 2

发表于 2019-10-30 16:51:44 3456 浏览 2 回复

[入门教程] 发现px4垂起固定翼的VT_F_TRANS_DUR参数解释有些问题,欢迎大...

这次主要是发现这个参数的说明有点乱:参数列表中是这样说的:
VT_F_TRANS_DUR(FLOAT)   Duration of a front transition
Comment: Time in seconds used for a transition
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
但是操作说明中却是这样说的:感觉像是和这个参数VT_PSHER_RMP_DT搞混了。。。
Forward Transition Duration
Parameter: VT_F_TRANS_DUR
A forward transition refers to the transition from multirotor to fixed wing mode. This is the amount of time in seconds that should be spent ramping up the throttle to the target value (defined by VT_TRANS_THR). A value of 0 will result in commanding the transition throttle value being set immediately. If you wish to smooth the throttling up you can increase this to a larger value, such as 3.
Note that once the ramp up period ends throttle will be at its target setting and will remain there until (hopefully) the transition speed is reached.
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
通过查代码,在tiltrotor.c中发现:
// tilt rotors forward up to certain angle
                if (_tilt_control <= _params_tiltrotor.tilt_transition) {
                        _tilt_control = _params_tiltrotor.tilt_mc +
                                        fabsf(_params_tiltrotor.tilt_transition - _params_tiltrotor.tilt_mc) * time_since_trans_start /
                                        _params->front_trans_duration;
                }
总结:这个参数应该是倾转旋翼专用的,表示倾转电机由垂直拉力转为水平拉力的时间。



捕获.JPG

扫一扫浏览分享
回复

使用道具 举报

140

阿木币

0

精华

31 小时

在线时间

老司机

Rank: 2

发表于 2019-10-31 12:21:05
px4飞垂起固定翼咋样啊,我知道用ardupilot的多。文档注释有问题正常把,开源肯定还是代码为准。
回复 点赞

使用道具 举报

19

阿木币

0

精华

43 小时

在线时间

老司机

Rank: 2

 楼主| 发表于 2019-10-31 15:17:30
shanghuo 发表于 2019-10-31 12:21
px4飞垂起固定翼咋样啊,我知道用ardupilot的多。文档注释有问题正常把,开源肯定还是代码为准。 ...

还没飞。。。
回复 点赞

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表