# VOXL ESC with Cube running PX4

Source: https://forum.modalai.com/topic/3336/voxl-esc-with-cube-running-px4
Category: ESCs, Sensors and Accessories (https://forum.modalai.com/category/15/escs-sensors-and-accessories)
Tags: esc
Posted: 2024-04-17 14:08:17 UTC by Chase Riley
Replies: 6 · Views: 1320

## Chase Riley · 2024-04-17 14:08:17 UTC

I currently have a VOXL2 running SDK 1.1 with a VOXL ESC (MDK-M0134-6-01). I am looking to add a Cube running PX4 instead of having PX4 running on the VOXL2. What would be the best way to accomplish this? Am I able to run the latest dev version of PX4 1.15 or would I need to run the VOXL Branch of PX4 to be able to talk to the ESC?

## Reply by Eric Katzfey (ModalAI staff) · 2024-04-17 15:55:51 UTC

@Chase-Riley We load and test our forked version of PX4 on our flight core products but the mainline PX4 *should* work with our ESC. Having said that it's not something we have been testing. We are planning to move away from our fork to mainline PX4 in the near future for all of our products.

## Reply by Chase Riley · 2024-04-17 17:21:22 UTC (in reply to Eric Katzfey)

@Eric-Katzfey I am waiting for a order from you all now that will allow me to test with the ESC. Once I get that in I will be able to connect it to the cube and see if it works. 

I was able to load the mainline PX4 on a cube I have here. I looked in the parameters and did not see any of the ```VOXL_ESC_xxxx``` parameters listed. Is this something that should only appear when the VOXL ESC is connected?

## Reply by Alex Kushleyev (ModalAI staff) · 2024-04-17 17:36:36 UTC (in reply to Chase Riley)

@Chase-Riley , we load the `VOXL_ESC` params when we set up the flight board for a particular vehicle, since the params are vehicle dependent. If you do not define these params and start the `voxl_esc` driver, it will define and use the params with default values. you could just try running `voxl_esc start` in your px4 flight contoller terminal and after that you should see `VOXL_ESC` params show up (`param show VOXL_ESC*`)

## Reply by Chase Riley · 2024-04-17 19:52:14 UTC (in reply to Alex Kushleyev)

@Alex-Kushleyev Are you saying run this in the Mavlink Console in QGC? If so I receive "command not found"

## Reply by Alex Kushleyev (ModalAI staff) · 2024-04-17 21:16:00 UTC (in reply to Chase Riley)

@Chase-Riley, yes. Well, normally i test this using px4 shell. If the command is not found, maybe the module is not built for this target, you may need to add it to the build, like we do in our FC1 and FC2 stm32 builds.

## Reply by Eric Katzfey (ModalAI staff) · 2024-04-18 16:20:50 UTC (in reply to Chase Riley)

@Chase-Riley Yes, as Alex said, most standard builds do not include the voxl_esc driver. Only the ModalAI products include it as a standard part of the build. So you will need to add that to you build configuration.
