luxonis / rae-ros

Implementation of RAE ROS and gazebo stack
MIT License
32 stars 13 forks source link

Fix PWM reset bug #79

Open DimaRU opened 4 months ago

DimaRU commented 4 months ago

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: https://github.com/luxonis/rae-ros/blob/79e017e74049a414678e10f71a319ccac1bde678/rae_camera/launch/rae_camera.launch.py#L19-L21

The solution is to install busybox into docker image.