Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shutdown issues with Ctrl-c #11

Closed
dcconner opened this issue Jun 3, 2016 · 2 comments
Closed

Shutdown issues with Ctrl-c #11

dcconner opened this issue Jun 3, 2016 · 2 comments

Comments

@dcconner
Copy link
Member

dcconner commented Jun 3, 2016

I created a pull request that fixed some issues that I saw.
One of which due to :

Interrupted mirror sleep. Exception in thread Thread-28: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/conner/CNURobotics/src/flexbe_behavior_engine/flexbe_mirror/src/flexbe_mirror/flexbe_mirror.py", line 131, in _start_mirror self._execute_mirror() File "/home/conner/CNURobotics/src/flexbe_behavior_engine/flexbe_mirror/src/flexbe_mirror/flexbe_mirror.py", line 221, in _execute_mirror rospy.loginfo('Mirror finished with result ' + result) TypeError: cannot concatenate 'str' and 'NoneType' objects

The PR fixes that and lack of imported module.

One issue remains:

Exception in thread Thread-26 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 754, in run
File "/home/conner/CNURobotics/src/flexbe_behavior_engine/flexbe_mirror/src/flexbe_mirror/flexbe_mirror.py", line 131, in _start_mirror
File "/home/conner/CNURobotics/src/flexbe_behavior_engine/flexbe_mirror/src/flexbe_mirror/flexbe_mirror.py", line 212, in _execute_mirror
File "/opt/ros/kinetic/lib/python2.7/dist-packages/smach/state_machine.py", line 359, in execute
File "/home/conner/CNURobotics/src/flexbe_behavior_engine/flexbe_core/src/flexbe_core/core/lockable_state_machine.py", line 46, in _update_once
File "/opt/ros/kinetic/lib/python2.7/dist-packages/smach/state_machine.py", line 248, in _update_once
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'InvalidUserCodeError'
shutting down processing monitor...
... shutting down processing monitor complete

@dcconner
Copy link
Member Author

dcconner commented Jun 3, 2016

FYI. This was being tested under Ubuntu 16.04 and ROS Kinetic

Running of existing state machine seemed to work fine.

@pschillinger
Copy link
Member

Thank you for fixing the shutdown exception!

And also thank you for already using FlexBE under Kinetic. I plan a thorough test of FlexBE (and also rqt_launchtree) under Jade and Kinetic in about two weeks when I am back home in Germany and have again access to my virtual machines.

fmessmer added a commit to fmessmer/flexbe_behavior_engine that referenced this issue Jan 18, 2021
dcconner added a commit to CNURobotics/flexbe_behavior_engine that referenced this issue Jul 6, 2023
Added destroy rate calls to clear up rate resources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants