Utility functions¶
- pyardrone.utils.repack_to_int(value)[source]¶
Converts the passed in float value to interger as ieee754 specification.
Same as *(int*)&value in C, or reinterpret_cast<int>value in C++.
- pyardrone.utils.noop(obj)[source]¶
Returns the passed in argument.
>>> noop(10) 10 >>> noop(list) <class 'list'>