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
Behavior execution failed!
ROS time moved backwards
when executing a behavior state machine on board.
This is the exception traceback:
[/uav_0/behavior:local]: Traceback (most recent call last):
File ".../flexbe/flexbe_behavior_engine/flexbe_onboard/src/flexbe_onboard/flexbe_onboard.py", line 132, in _behavior_execution
result = self.be.execute()
File ".../flexbe/flexbe_behavior_engine/flexbe_core/src/flexbe_core/behavior.py", line 165, in execute
result = self._state_machine.spin()
File ".../flexbe/flexbe_behavior_engine/flexbe_core/src/flexbe_core/core/state_machine.py", line 71, in spin
self.sleep()
File ".../flexbe/flexbe_behavior_engine/flexbe_core/src/flexbe_core/core/state_machine.py", line 85, in sleep
self._current_state.sleep()
File ".../flexbe/flexbe_behavior_engine/flexbe_core/src/flexbe_core/core/ros_state.py", line 22, in sleep
self._rate.sleep()
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/timer.py", line 103, in sleep
sleep(self._remaining(curr_time))
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/timer.py", line 163, in sleep
raise rospy.exceptions.ROSTimeMovedBackwardsException(time_jump)
rospy.exceptions.ROSTimeMovedBackwardsException: ROS time moved backwards
The text was updated successfully, but these errors were encountered:
What are you using for time sync between computers?
Do you think this just needs an exception handler block in ros_state.py line 22 and just continue on its way assuming the timer expired, or are there deeper issues that you are concerned with?
I often (not always) get the error message
when executing a behavior state machine on board.
This is the exception traceback:
The text was updated successfully, but these errors were encountered: