Python version of simROS: Can't call subscribe function

Typically: "How do I... ", "How can I... " questions
fferri
Posts: 1297
Joined: 09 Sep 2013, 19:28

Re: Python version of simROS: Can't call subscribe function

Post by fferri »

PrimaryComet wrote: 20 Nov 2023, 12:26 Yes I understand that, but rospy.spin_once() does not exist. rospy spins up another thread for each subscriber so spin_once is not necessary, and the function does not exist in the rospy library. roscpp works in a different way, and does have spin_once available, but not rospy.
You are right. I looked for "rospy spin_once" but I might have found some solution that was meant for ROS2 instead.

M43ban
Posts: 1
Joined: 15 Jul 2024, 12:03

Re: Python version of simROS: Can't call subscribe function

Post by M43ban »

I am facing the same issue from my side with everything similar in regards to the software versions. Is there a solution to this or should I just use Lua ?

Post Reply