I was trying out the package place command in an auto mission. Basically my mission goes like this:
Take off -> Waypoint 1 -> Package place at waypoint 2 -> Waypoint 3 -> RTL
The default attitude was set to 5 m and the max descend for package place was set to 2 m.
What happened was after waypoint 1 the aircraft flew to waypoint 2 but did not proceed to waypoint 3. It just hovered at 5 m altitude without descending. I waited for a full minute before I needed to land the aircraft
I intended this flight to be only a test, so no payload was attached to the aircraft and no gripper servo was defined. I was wondering whether it was due to these reasons that I had the above mentioned issue.
Just some update about the issue in case anyone is having the same issue. To simplify the troubleshooting, I have simplified the mission to:
Take off -> Package place -> RTL
Default relative altitude and max descend for package place remains unchanged at 5m and 2m respectively.
This time round I have defined AUX 5 as EPM by doing the following: brd-pwm-count -> 6, RELAY_PIN-> -1, and SERVO13 -> 28 (EPM, no gripper option available). Similarly, parameters with GRIP_X are not available in 3.6 copter.
The result of the test flight remains unchanged. The aircraft just hovered over the location where the package place was supposed to happen without descending and the mission did not continue to the next command.
Hi @rmackay9 , I assume you are referring to the log of the actual flight rather than the uploaded mission? The mission I uploaded can be found here -
It did contain another waypoint after the package place followed by a RTL. This was verified by reading back the waypoints from the Pixhawk. @peterbarker also retrieved the same mission from the log. During the mission the vehicle got to the waypoint for the package place and just hovered and did not proceed to the next command in the mission. I switched to loiter and piloted the vehicle back to launch.
@peterbarker - I am quite convinced the mission uploaded was fine given it was just six instructions long and that the Package Place codes work. Maybe it was just down to how I flight tested with no payload or how the gripper was defined?
On a unrelated note I was running 3.6 Copter for this flight. I have just upgraded to 3.6.1 Copter ChibiOS with no change to this behavior during test flights.
Thank you for both your help in looking through the log.
It did contain another waypoint after the package place followed by a RTL.
This was verified by reading back the waypoints from the Pixhawk. @peterbarker also retrieved the same mission from the log. During the
mission the vehicle got to the waypoint for the package place and just
hovered and did not proceed to the next command in the mission. I switched
to loiter and piloted the vehicle back to launch.
So there are two things we could try here.
In the stage of PP it seems to be in it’s running the land
vertical controller - but the vehicle isn’t coming down.
While we use the land controller in lots of places, it would be nice if
you could simply take the vehicle off in stabilize and just switch the
vehicle into “LAND” and see what happens.
The other thing we could do is ship you a binary with some debug enabled.
Are you happy to run such a binary?
@peterbarker - I am quite convinced the mission uploaded was fine given it
was just six instructions long and that the Package Place codes work. Maybe
it was just down to how I flight tested with no payload or how the gripper
Amusingly, you don’t need a gripper defined to use this code
It does tell you if you don’t have one defined, however.
I generally land my flights with the “LAND” mode. The mode seems to be working with no issue. In fact for the log you have analysed, I landed the vehicle with the “LAND” mode from loiter at the end of the test flight. I will try next taking off with stabilize and then the selecting the “LAND” mode. But unfortunately the next time can do any flight test is on Monday.
Yes sure. No problem with that. So I guess I load it with the load custom firmware option?
I figured that is sort of the case; allows one to use some sort of passive gravity hook with the Package Place. Just curious, where does it tell you if a gripper is not defined? Is it during the actual mission? Did not have my ground station connected during these tests.
I have just completed a test flight. In this test flight, I took off in stabilize and after climbing to an altitude of about 5m, I put the vehicle in “LAND”. The vehicle landed with no issue. I also ran the following mission since I am already out in the field -
Take off to altitude of 8m -> Payload Place (altitude 8m, max descend 2m) -> RTL (at 8m)
Looking through the log I did see the throttle delta being measured but the vehicle did not seem to descend after that.
Hi @seth_poh I seem to have the same issue on my iris+. How did you check the throttle delta in your logs?
My mission had only the PAYLOAD_PLACE command. Default Alt was 5m and max descend 2m. I took off at loiter and reached a certain altitude and then switched to Auto. The drone seems to go over the target location but does not descend to place the package.
I’m first time here so hello everyone
I know that is old discussion. I have the same problem. Copter came to payload_place and hover. If I hold it to decease motors current it detect landing so drop the payload and continue automatic mission.
Please hep solve the problem. Auto flight movie log file
@pedro72, glad you worked this out. I think @peterbarker (who wrote package place) is aware of a couple of issues with it including the issue you bumped into. I’ve created an issue here so that we don’t forget it.