Skip to content

Figure out runtime bottleneck: Pegasus using whole CPU core? #342

@andrewjong

Description

@andrewjong

AirStack Version
Run airstack version or check the .env file.
0.18.0-alpha.4

Describe the bug
Pegasus is SLOW, taking up a lot of CPU. Is it due to PX4? Pegasus by default out of the box is NOT this slow.
Startup time in script mode is also slow, takes ~2minutes.

To Reproduce
Steps to reproduce the behavior:

  1. Run airstack up with Isaac Sim

Expected behavior
We want Pegasus and AirStack to run in near real time. But right now it doesn't. It's very slow.

Screenshots
If applicable, add screenshots to help explain your problem.

Host Compute (please complete the following information):

  • OS: Ubuntu 24
  • GPU: RTX 5090
  • CPU: 13th Gen Intel(R) Core(TM) i9-13900K

Additional context
Everyone is experiencing this. We think it's most likely the communication between Pegasus and PX4 at 250hz that's slowing things down.

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions