@h3robotics , I see, thanks for clarifying.
Is the ESC detected by PX4? What you can do is stop the px4 service using systemctl stop voxl-px4
and then run the px4 in a terminal : voxl-px4 -d
, this will start px4 with an interactive px4 shell. You can also see debug prints from different modules that are starting up. Look for the voxl_esc module, it should say whether it was able to detect the ESC and, if so, then it will print some information about the ESC, such as its type, firmware version, etc.
If the ESC is not detected, then you may have ESC parameters set up for incorrect baud rate (your PX4 params expect 2mbit, but perhaps your ESC is using lower bit rate, so you can update your ESC params to 2mbit). It is possible that your ESC is using 250K baud rate which is what it may ship with, so you can try 250K in PX4 to test that. If your ESC is set up for the lower bit rate, i would suggest updating that to at least 921600, or 1mbit or 2mbit in order to reduce delay and support the throughput for the ESC commands and telemetry.
Alex