Knowledge-based Neural Ordinary Differential Equations for Robotic Systems