Closed MikeWellC closed 7 years ago
I can look at this tomorrow. I'm guessing it's easy to reproduce, but if you have any logs to share they might be helpful.
thank you,sitl where is the logs location? @dagar
They're buried in the build directory (rootfs/fs/microsd/log/2017-04-17). It's probably easier to just do find . -name *.px4log
Uploading to http://logs.uaventure.com/ is a good way to share.
this is a log i just done ,tailsitter just respond to "Emergency stop". http://logs.uaventure.com/view/xfVo2M6TQjySFP6FFviu3R @dagar
I tried and have the same issue. My mission works with the standard VTOL but fails with the tailsitter. It's acknowledging the commander commands but nothing works when in FW mode. Back transition isn't possible. As MikeWellC said, it just responds to Emergency stop.
It's stuck in transition waiting to achieve airspeed and there's currently no timeout implemented. I've added one, but need to do some testing. The tailsitter gazebo simulation doesn't work right because it's not registering airspeed when moving forward in the FW frame. We'll probably need to hack it in sitl_gazebo.
@dagar i implemented the timeout here: https://github.com/PX4/Firmware/pull/5185 but i dont have a tailsitter so was waiting for a test
Thanks @sanderux. We might as well get it working reasonably well in SITL and get it in. The current code is broken for several real world tailsitters I've encountered. There's also no pitch actuation during P2 right now which we should change. https://github.com/PX4/Firmware/blob/master/src/modules/vtol_att_control/tailsitter.cpp#L501
It's getting stuck in transition waiting for the airspeed threshold.
We should just revert that change.
This is fixed.
make posix_sitl_ekf2 gazebo_tailsitter successful ,select mission mode and arm,tailsitter takeoff and transition,then can not control,fly straight line.make posix_sitl_default gazebo_tailsitter also same.what's wrong,please help me!