A graphical OSD simulation in a separate window can be opened by adding the following option to sim_vehicle.py:
–osd
How does a person “add the following option” to sim_vehicle.py ??
This is what I am doing…
Start Mission Planner
Select SIMULATION
Click on MULTIROTOR
Simulation starts
I have found the sim_vehicle_py file…I assume I am supposed to add the text “–osd” somewhere in that file? Then save the file and restart the simulator?
Or do I enter “–osd” into the EXTRA COMMAND LINE box at the bottom of the simulator page?
Neither of those have worked for me…so I am apparently missing something. (Sure wish the Ardupilot/OSD page could explain the process better for dolts like me.)
So I found this bit of code (below)…where do I add “- - osd” ?
Thanks…
define and run parser
parser = CompatOptionParser(
“sim_vehicle.py”,
epilog=""
"eeprom.bin in the starting directory contains the parameters for your "
"simulated vehicle. Always start from the same directory. It is "
"recommended that you start in the main vehicle directory for the vehicle "
"you are simulating, for example, start in the ArduPlane directory to "
“simulate ArduPlane”)
Then Windows asks with what program I want to open.
I select Mission Planner.
Mission Planner opens.
I select the simulation tab, click on multicopter.
Mission Planner downloads the SITL software (I wonder why it does that every time?).
The simulation starts…
But the OSD display is nowhere to be found.
Look I guess there is something quite basic here that I am not understanding.
The other thing is that I’ve discovered the OSD GUI section in Mission Planner when my vehicle is plugged in/connected…so maybe there is no need to go down this command line road anymore?