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

Fix PWM reset bug #79

Open
wants to merge 2 commits into
base: humble
Choose a base branch
from
Open

Fix PWM reset bug #79

wants to merge 2 commits into from

Conversation

DimaRU
Copy link

@DimaRU DimaRU commented Jul 5, 2024

Fixing a bug where PWM isn't reset, leading to jerky RAE movement when camera driver launched.

Launch log excerpt

[INFO] [launch.user]: Resetting PWM.
[INFO] [busybox devmem 0x20320180 32 0x00000000-14]: process started with pid [274]
[busybox devmem 0x20320180 32 0x00000000-14] /bin/sh: 1: busybox: not found
[ERROR] [busybox devmem 0x20320180 32 0x00000000-14]: process has died [pid 274, exit code 127, cmd 'busybox devmem 0x20320180 32 0x00000000'].

Code which execute busybox command:

reset_pwm = ExecuteProcess(
cmd=[['busybox devmem 0x20320180 32 0x00000000']],
shell=True

The solution is to install busybox into docker image.

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

Successfully merging this pull request may close these issues.

1 participant