ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

KeyKeyQ's profile - activity

2021-06-18 02:41:31 -0500 received badge  Famous Question (source)
2021-02-18 13:04:12 -0500 received badge  Famous Question (source)
2021-02-18 13:04:12 -0500 received badge  Notable Question (source)
2020-04-30 09:05:21 -0500 received badge  Famous Question (source)
2020-01-14 09:21:49 -0500 received badge  Notable Question (source)
2020-01-14 09:21:49 -0500 received badge  Popular Question (source)
2019-11-06 23:46:31 -0500 received badge  Notable Question (source)
2019-06-27 07:41:51 -0500 asked a question How to sync images captured with different frequecies through timestamps

How to sync images captured with different frequecies through timestamps Hi, I recently recorded some images with a RGB

2019-04-05 13:59:04 -0500 received badge  Popular Question (source)
2019-04-05 01:24:59 -0500 edited answer execution of smach monitor states interrupted when receiving msgs sent frequently

I think the problem here is related to threading - a second monitor state is triggered by receiving a new message before

2019-04-05 01:23:23 -0500 edited answer execution of smach monitor states interrupted when receiving msgs sent frequently

I think the problem here is related to threading - a second input state is triggered by the message before the last one

2019-04-05 01:22:47 -0500 answered a question execution of smach monitor states interrupted when receiving msgs sent frequently

I think the problem here is related to threading - a second input state is triggered by the message before the last one

2019-04-03 13:59:45 -0500 commented question execution of smach monitor states interrupted when receiving msgs sent frequently

sure, the error was quite long so I did't want to include it in my question.

2019-04-03 13:58:29 -0500 edited question execution of smach monitor states interrupted when receiving msgs sent frequently

execution of smach monitor states interrupted when receiving msgs sent frequently Hi Everyone, Recently, I've been try

2019-04-03 13:57:59 -0500 edited question execution of smach monitor states interrupted when receiving msgs sent frequently

execution of smach monitor states interrupted when receiving msgs sent frequently Hi Everyone, Recently, I've been try

2019-04-03 13:07:22 -0500 commented question execution of smach monitor states interrupted when receiving msgs sent frequently

I just readed something about latch - could that be the problem in my case? There are also something I don't quiet under

2019-04-03 12:49:18 -0500 asked a question execution of smach monitor states interrupted when receiving msgs sent frequently

execution of smach monitor states interrupted when receiving msgs sent frequently Hi Everyone, Recently, I've been try

2019-03-19 02:45:00 -0500 received badge  Enthusiast
2019-03-13 02:56:46 -0500 received badge  Popular Question (source)
2019-03-12 04:42:42 -0500 commented answer Add StateMachine object in concurrent container

you are totally right - I passed the object and it actually worked like I expected. Also thanks for your suggestion - th

2019-03-12 04:35:45 -0500 marked best answer Add StateMachine object in concurrent container

Greetings,

I am currently trying to write a state machine with smach for a robot, including a safety fuction, where the activity of the robot should be preempted, once a specific message is sent to a certain topic. I tried to modify the example using monitor state and concurrent container: http://wiki.ros.org/mysmach/Tutorials... . My idea was to replace the FOO_CALC state with the state machine of my robot, that is nested in the concurrent container. My code reads as the following: https://github.com/Mrkeyiiii/ROS_Lear...

After rosrun one would get the following message: TypeError: 'StateMachine' object is not callable. I wonder whether there is any work-around for this problem?

PS: It's my first time to ask a question in this platform and I am not sure whether I am doing it correctly. Please let me know if there is anything that I could improve. Many thanks in advance!

Edited: Added error code:

[ERROR] [1552331031.713732]: Error raised during SMACH container construction: 
Traceback (most recent call last):

  File "/home/qi/catkin_ws/src/example0/src/safety.py", line 134, in main
    smach.Concurrence.add('FOO_CALC', sm_sub())
TypeError: 'StateMachine' object is not callable

Traceback (most recent call last):
  File "/home/qi/catkin_ws/src/example0/src/safety.py", line 150, in <module>
    main()
  File "/home/qi/catkin_ws/src/example0/src/safety.py", line 134, in main
    smach.Concurrence.add('FOO_CALC', sm_sub())
TypeError: 'StateMachine' object is not callable
2019-03-12 04:35:45 -0500 received badge  Scholar (source)
2019-03-12 04:35:42 -0500 received badge  Supporter (source)
2019-03-11 14:05:55 -0500 commented question Add StateMachine object in concurrent container

Hi, thanks for your reply, please check the updated question :D

2019-03-11 14:05:01 -0500 edited question Add StateMachine object in concurrent container

Add StateMachine object in concurrent container Greetings, I am currently trying to write a state machine with smach fo

2019-03-11 14:05:01 -0500 received badge  Editor (source)
2019-03-10 13:31:05 -0500 edited question Add StateMachine object in concurrent container

Add StateMachine object in concurrent container Greetings, I am currently trying to write a state machine with smach fo

2019-03-10 13:27:36 -0500 asked a question Add StateMachine object in concurrent container

Add StateMachine object in concurrent container Greetings, I am currently trying to write a state machine with smach fo