Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offboard: Fixed Wing Position Controller does not output Thrust #11512

Closed
troffel1 opened this issue Feb 20, 2019 · 2 comments
Closed

Offboard: Fixed Wing Position Controller does not output Thrust #11512

troffel1 opened this issue Feb 20, 2019 · 2 comments

Comments

@troffel1
Copy link

troffel1 commented Feb 20, 2019

Hi there,

Somewhat related to closed issues and merged fixes: #5927, #630, and #6112.

For fixed wing offboard control
(CASE I): fw_pos_control_l1 does not generate thrust setpoints after receiving velocity setpoints in position setpoint triplet topic.
(CASE II): Vehicle does not enter offboard mode or arms after sending separate thrust setpoints

To reproduce

  1. Similar to the offboard example, send:
    (CASE I):
mavros_msgs::PositionTarget target;
target.header.stamp = ros::Time::now();
target.coordinate_frame = 8;
target.type_mask=0b011111000111;
target.velocity.x=0;
target.velocity.y=10;
target.velocity.z=0;
target.yaw_rate = 0.05;

or,
(CASE II):

mavros_msgs::Thrust targetthrust;
targetthrust.header.stamp = ros::Time::now();
targetthrust.thrust = 0.5;

(CASE I): Fixed wing enters OFFBOARD mode and arms. position_setpoint_triplet topic contains desired velocity.
(CASE II): Fixed wing does not enter OFFBOARD mode and does not arm.

(CASE I): vehicle_attitude_setpoint topic contains different roll & yaw setpoints while in OFFBOARD mode, no thrust setpoint generated
(CASE II): same as in 2.

Expected behavior
Just as for the multicopter Iris and the VTOL, which took off and displayed behavior as expected with this method (with positive velocity.z setpoint).

Is this a bug, or am I doing something wrong?

Log Files
(CASE I) https://review.px4.io/plot_app?log=3dd4e868-a89b-40e2-a886-651c61ba0869
CASE II) https://review.px4.io/plot_app?log=d9769efa-a316-41b7-8cd7-8697eb293604

Thanks!

@Jaeyoung-Lim
Copy link
Member

@troffel1 In case of attitude setpoints, it is now working after #12311 #12149

@stale
Copy link

stale bot commented Sep 19, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants