Skip to content
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

RuntimeError: aclose(): asynchronous generator is already running #672

Open
Jai-GAY opened this issue Mar 22, 2024 · 0 comments
Open

RuntimeError: aclose(): asynchronous generator is already running #672

Jai-GAY opened this issue Mar 22, 2024 · 0 comments

Comments

@Jai-GAY
Copy link

Jai-GAY commented Mar 22, 2024

I am not sure how critical is these RuntimeError: aclose(). Just to highlight. it was printed when the drone is hovering for 10 secs.

Pi4B Ubuntu 22.04 64-bit, Arducopter 4.2.3
Name: mavsdk
Version: 2.1.0
Summary: Python wrapper for MAVSDK
Home-page: https://github.com/mavlink/MAVSDK-Python
Author:
Author-email:
License: UNKNOWN
Location: /home/pi/.local/lib/python3.10/site-packages
Requires: aiogrpc, grpcio, protobuf
Required-by:

Battery: 93.0%
Battery_v: 16.115001678466797V
landed_state : IN_AIR
is_in_air: True

Status: WARNING: EKF3 IMU1 MAG0 ground mag anomaly, yaw re-aligned
Is_armed: True
Position info: Position: [latitude_deg: 1.XXXXXXX, longitude_deg: 103.YYYYYYYY, absolute_altitude_m: 17.880001068115234, relative_altitude_m: 1.3820000886917114]
GPS info: GpsInfo: [num_satellites: 11, fix_type: FIX_3D]
RawGps info: RawGps: [timestamp_us: 595983000, latitude_deg: 1.XXXXXXX, longitude_deg: 103.YYYYYYYY, absolute_altitude_m: 20.350000381469727, hdop: 0.8799999952316284, vdop: 1.5699999332427979, velocity_m_s: 0.10999999940395355, cog_deg: 326.16998291015625, altitude_ellipsoid_m: 26.779001235961914, horizontal_uncertainty_m: 1.3250000476837158, vertical_uncertainty_m: 2.42900013923645, velocity_uncertainty_m_s: 0.36400002241134644, heading_uncertainty_deg: 0.0, yaw_deg: 0.0]
Battery: 93.0%
Battery_v: 16.1560001373291V
landed_state : IN_AIR
is_in_air: an error occurred during closing of asynchronous generator <async_generator object Telemetry.raw_gps at 0xffff9b4d3040>
asyncgen: <async_generator object Telemetry.raw_gps at 0xffff9b4d3040>
RuntimeError: aclose(): asynchronous generator is already running

an error occurred during closing of asynchronous generator <async_generator object Telemetry.armed at 0xffff9b4d3a40>
asyncgen: <async_generator object Telemetry.armed at 0xffff9b4d3a40>
RuntimeError: aclose(): asynchronous generator is already running
an error occurred during closing of asynchronous generator <async_generator object Telemetry.status_text at 0xffff9b4d2cc0>
asyncgen: <async_generator object Telemetry.status_text at 0xffff9b4d2cc0>
RuntimeError: aclose(): asynchronous generator is already running
an error occurred during closing of asynchronous generator <async_generator object Telemetry.landed_state at 0xffff9b4d38c0>
asyncgen: <async_generator object Telemetry.landed_state at 0xffff9b4d38c0>
RuntimeError: aclose(): asynchronous generator is already running
an error occurred during closing of asynchronous generator <async_generator object Telemetry.gps_info at 0xffff9b4d3540>
asyncgen: <async_generator object Telemetry.gps_info at 0xffff9b4d3540>
RuntimeError: aclose(): asynchronous generator is already running
an error occurred during closing of asynchronous generator <async_generator object Telemetry.battery at 0xffff9b4d33c0>
asyncgen: <async_generator object Telemetry.battery at 0xffff9b4d33c0>
RuntimeError: aclose(): asynchronous generator is already running
True
Is_armed: True
Altitude: 2
Position info: Position: [latitude_deg: 1.XXXXXXX, longitude_deg: 103.YYYYYYYY, absolute_altitude_m: 18.100000381469727, relative_altitude_m: 1.602000117301941]
GPS info: GpsInfo: [num_satellites: 11, fix_type: FIX_3D]
RawGps info: RawGps: [timestamp_us: 596983000, latitude_deg: 1.XXXXXXX, longitude_deg: 103.YYYYYYYY, absolute_altitude_m: 20.690000534057617, hdop: 0.8799999952316284, vdop: 1.5699999332427979, velocity_m_s: 0.4899999797344208, cog_deg: 275.5199890136719, altitude_ellipsoid_m: 27.119001388549805, horizontal_uncertainty_m: 1.3220000267028809, vertical_uncertainty_m: 2.448000192642212, velocity_uncertainty_m_s: 0.2800000011920929, heading_uncertainty_deg: 0.0, yaw_deg: 0.0]
Battery: 93.0%
Battery_v: 16.22800064086914V
landed_state : IN_AIR
is_in_air: True
Is_armed: True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant