What are the trade-offs between using a Real-Time Operating System (RTOS) versus bare-metal firmware for custom payload control?