反斜杠“\”有参与什么运算吗?在PID 的代码中看到
-
附上原码:
“derivative = self._last_derivative + \ ((delta_time / (self._RC + delta_time)) * \ (derivative - self._last_derivative))”
-
derivative = self._last_derivative + \ ((delta_time / (self._RC + delta_time)) * \ (derivative - self._last_derivative))
-
粘贴提交问题以后“\”就自动消失了......
-
derivative = self._last_derivative + \ ((delta_time / (self._RC + delta_time)) * \ (derivative - self._last_derivative))
这里的没什么意义,就是一行写不下,换一行写。