sim_vehicle.py's -A option can have spaces in it (eg: -A '--uartD=uart:/dev/ttyUSB0 --uartE=uart:/dev/ttyUSB1' connects physical serial ports to telem2 and serial4 respectively; useful for testing real devices). I've tried all manner of escaping quotes and spaces and whenever I try to send a -A option that includes spaces, sim_vehicle.py complains with things like '--uartE is not an option'
I think this would be fixable by splitting out -A into its own ENV so that we'd have SPEEDUP, SIM_OPTIONS and SITL_ARGS
It does not appear that anything bad happens if -A is provided an empty string.
sim_vehicle.py's -A option can have spaces in it (eg:
-A '--uartD=uart:/dev/ttyUSB0 --uartE=uart:/dev/ttyUSB1'
connects physical serial ports to telem2 and serial4 respectively; useful for testing real devices). I've tried all manner of escaping quotes and spaces and whenever I try to send a -A option that includes spaces, sim_vehicle.py complains with things like '--uartE is not an option'I think this would be fixable by splitting out -A into its own ENV so that we'd have
SPEEDUP
,SIM_OPTIONS
andSITL_ARGS
It does not appear that anything bad happens if -A is provided an empty string.