UndefVarError: orientation not defined

Try RobotDynamics.orientation