PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.5k stars 13.51k forks source link

list_vmd_make_targets disappeared but is still required. #21462

Open hamishwillee opened 1 year ago

hamishwillee commented 1 year ago

Describe the bug

The list_vmd_make_targets make target was/is extremely useful for working out what simulation targets are available. Otherwise you have to know in advance that they exist before you can use them.

The fact that it no longer works is also a big problem for docs - we have to document every option, and retest every option - there is no way to automate working out whether options disappeared or not.

I understand this disappeared for a reason, but can we get it back again?

To Reproduce

do

make list_vmd_make_targets

Expected behavior

Make toolchain lists all the supported simulator targets

rosiakpiotr commented 1 year ago

Worth to mention, official PX4 simulation guide refers to make px4_sitl list_vmd_make_targets, but as stated in the issue, it does not exist.

➜  PX4-Autopilot git:(main) ✗ make px4_sitl list_vmd_make_targets
ninja: error: unknown target 'list_vmd_make_targets'
make: *** [Makefile:232: px4_sitl] Error 1
kanishkanarch commented 1 year ago

Is there any update on list_vmd_make_targets? Can we get it anytime soon?

alnI3S commented 1 year ago

Hi @hamishwillee,

Do you know what is the reason the px4 dev group removes this vmd_make_targets?

hamishwillee commented 1 year ago

@alnI3S I believe it is an artifact of the way that make files are done now. But I don't really know. I just think it sux.