Skip to content

[WIP] Implementation of the actual python bindings for DroneCore #12

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

Merged
merged 20 commits into from
Jun 4, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed some typos
  • Loading branch information
xvzf committed May 31, 2018
commit d83b2d80a3a912ee2bb83c3556445dc0867875f4
4 changes: 2 additions & 2 deletions dronecore/plugins/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(
def __eq__(self, other):
try:
# Try to compare - this likely fails when it is compared to a non
# Position object
# Health object
return (
(self.is_gyrometer_calibration_ok ==
other.is_gyrometer_calibration_ok) and
Expand Down Expand Up @@ -119,7 +119,7 @@ def __init__(self, remaining_percent, voltage):
def __eq__(self, other):
try:
# Try to compare - this likely fails when it is compared to a non
# Position object
# Battery object
return (self.remaining_percent == other.remaining_percet and
self.voltage == other.voltage)

Expand Down