You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/main.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -51,8 +51,8 @@ static int rt_thread_epoll_fd; /*!< epoll file descriptor for rt thread */
51
51
staticint rtControlPriority = 80; /*!< priority of application thread */
52
52
staticvoid *rt_control_thread(void *arg);
53
53
staticpthread_t rt_control_thread_id;
54
-
constfloat controlLoopPeriodInms = 10; /*!< Define the control loop period (in ms): the period of rt_control_thread loop. */
55
-
constfloat CANUpdateLoopPeriodInms = 10; /*!< Define the CAN PDO sync message period (and so PDO update rate). In ms. Less than 3 can lead to unstable communication */
54
+
constfloat controlLoopPeriodInms = 3; /*!< Define the control loop period (in ms): the period of rt_control_thread loop. */
55
+
constfloat CANUpdateLoopPeriodInms = 3; /*!< Define the CAN PDO sync message period (and so PDO update rate). In ms. Less than 3 can lead to unstable communication */
0 commit comments