Hi @Daniel-Ryu
Good news, we have a beta version that is ready for testing. Here are the details:
use latest available VOXL2 system image
python3 version of voxl-esc tools :
https://gitlab.com/voxl-public/flight-core-px4/voxl-esc/-/tree/dev-python3
this version works on PC and VOXL2 (we are moving away from python2.7)
if pip3 is not installed,
https://pip.pypa.io/en/stable/installation/#get-pip-py
if numpy, pyserial are not installed : pip3 install --upgrade numpy pyserial
installation on voxl2:
https://gitlab.com/voxl-public/flight-core-px4/voxl-esc/-/tree/dev-python3/tools#installation-instructions-for-voxl2
In summary, you will need to follow the steps below on voxl2. we will put it into a script soon.
Please let me know if you run into any issues going through these steps
#clone the voxl-esc repo
cd /home/root
git clone https://gitlab.com/voxl-public/flight-core-px4/voxl-esc.git -b dev-python3`
#install voxl-esc-tools-bin version 1.1 into voxl-esc/tools directory
#see instructions https://gitlab.com/voxl-public/flight-core-px4/voxl-esc/-/tree/dev-python3/tools#accessing-the-esc-tools-software
#download and install slpi uart bridge package to VOXL2
cd /home/root
wget http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-slpi-uart-bridge_1.0.0-202303021121_arm64.deb
dpkg -i voxl-slpi-uart-bridge_1.0.0-202303021121_arm64.deb
#stop and disable PX4 while using voxl-esc tools
systemctl stop voxl-px4 && systemctl disable voxl-px4
#temporarily move libpx4.so and create symlink for slpi bridge to libpx4.so
#this is required because currently the slpi application loader looks for libpx4.so (hardcoded)
cd /usr/lib/rfsa/adsp
mv libpx4.so libpx4.so.bak
ln -s ./libslpi_uart_bridge_slpi.so ./libpx4.so
#reboot VOXL2
reboot
#test voxl-esc tools
cd /home/root/voxl-esc/tools
./voxl-esc-scan.py
#perform ESC testing / calibration
#...
#when done, restore original libpx4.so
cd /usr/lib/rfsa/adsp
rm libpx4.so
cp libpx4.so.bak libpx4.so