Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added new definition of guided flag field
added new definition of guided flag field
- Loading branch information
1 parent
0a44f55
commit 971a4b7
Showing
1 changed file
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
971a4b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the FRC to use the new guided field definitions and I see some inconsistent/unexpected behavior in simulation. I made sure I synced the pprzlink libraries, did a make clean and make on paparazzi, recompiled all of the aircraft for simulation. Prior to this update, the simulation worked as expected. Not sure what might be causing the inconsistencies at this point.
971a4b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@esden I notice it's the Elle0 v1_2 aircraft that seem to be "confused". In comparing the
airframe
files between Elle0 v1 and Elle0 v1_2 aircraft, they only differ with respect to the AP Target:vs.
971a4b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hooperfly and what are the inconsistencies or unexpected behaviours you see?
971a4b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@flixr the four aircraft along the lower part of the screen, (reference screen capture above), display the expected behavior, the two at the top and the orange one to the right are not behaving the same. All aircraft are getting the same PPRZLink messages and three of them deviate from the pattern; as apparent in the screen capture. Prior to this change, all aircraft flew the exact same patterns. Does that help clarify? It's a repeatable anomaly as well. Doing a differential on the airframe files, flight plan files being used by the aircraft, the only difference is the AP target mentioned above.
971a4b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you clean and rebuild the nps target for all of them?
971a4b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@flixr yes. That's one of the first things I do just after a
make clean
,make
of my latest pull. I'm able to get another airframe to display similar issues and it starting to look like it's correlated to aircraft that start theirguided
mode when stationed at P1 and P3 in my flight plan. I'll keeppoking
at it to try and understand why starting at one waypoint vs. another should even matter. I didn't see this kind of anomaly prior to the guided bit field updates.It might be related to yaw, the z-term. Right after sending a yaw command, that's when I start to get "unpredictable" behavior. Either I am not understanding the new bit field modifications or something is broke, possibly both. 😉
971a4b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed with paparazzi/paparazzi#1720
971a4b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. Thanks. I will test and let you know how it goes.
971a4b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
971a4b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working much better! See above image. Thanks.
971a4b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.