Skip to content

Commit

Permalink
question
Browse files Browse the repository at this point in the history
  • Loading branch information
martha-johnston committed Oct 10, 2023
1 parent 325f7dd commit 55064f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/viam/components/movement_sensor/movement_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ async def get_readings(self, *, extra: Optional[Dict[str, Any]] = None, timeout:
compass: float,
orientation: Orientation,
}
"""
(pos, lv, av, la, comp, orient) = await asyncio.gather(
self.get_position(extra=extra, timeout=timeout),
Expand Down
1 change: 1 addition & 0 deletions src/viam/components/power_sensor/power_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ async def get_readings(self, *, extra: Optional[Dict[str, Any]] = None, timeout:
is_ac: bool
power: float
}
"""
(vol, cur, pow) = await asyncio.gather(
self.get_voltage(extra=extra, timeout=timeout),
Expand Down

0 comments on commit 55064f5

Please sign in to comment.