Your policy works in simulation. Congratulations — you're maybe 40% of the way there.

The checklist

  • Does your sim model actuator latency? Real motors don't respond instantly.
  • Are your sensor rates the real rates, or the convenient ones?
  • Does anything in your stack assume perfect state estimation?
  • What happens when a message is dropped?

Every item on that list has cost me a day at some point.