-
Notifications
You must be signed in to change notification settings - Fork 86
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
getData type error #34
Comments
can you try with python3 instead? |
So it turned out that it needs to be run from the root directory of the project (i.e. demo/show-attitude.py instead of attitude.py with cwd being /demo). I am running into an issue where I get this with some extra printout statements:
Basically if I move the FC around quickly then this happens but if I let it sit still it will run most of the time. It seems that something is being overloaded? In a minimal example based on your code I achieve this behavior:
Output:
|
When trying to run either demo in python2, I am seeing a type error on line 110 where the pack.struct is supposed to be iterated over. Here's an example output:
angx = +0.00 angy = +0.00 heading = +0.00 elapsed = +0.0000 unsupported operand type(s) for ^: 'int' and 'str'
When debugging, it's apparent that a string is being output from iteration over the pack.struct object. Have you seen this issue before? It seems this is either something to do with the dependencies version or a a fundamental bug
The text was updated successfully, but these errors were encountered: