RoboticsAcademy icon indicating copy to clipboard operation
RoboticsAcademy copied to clipboard

[manager 4.0] error gazebo stats

Open Carlosalpha1 opened this issue 2 years ago • 1 comments

Hi, I have a problem with manager-4.0.py of foxy branch.
When I launch my new exercise Follow Person the web-template crashes showing Connecting 2... indefinitely.

But, if I comment these lines, the exercise and VNC (with gazebo and terminal) work well.

image

I have tried to find the threads running using pstree command:

image

Any idea what may be happening? I think the problem is that the exercise needs a lot of Gazebo resources and using gz stats blocks the launch

Cheers!

Carlosalpha1 avatar Apr 20 '22 18:04 Carlosalpha1

Hi @Carlosalpha1 Did you try running that code in an individual thread?

akshaynarisetti avatar Apr 28 '22 23:04 akshaynarisetti

Yes, I think as it is running a subprocess, it is running multiple secondary processes. I think running an individual thread can be an option.

Tejal-19 avatar Mar 26 '23 16:03 Tejal-19

Manager-4.0.py was a nice prototype exploring ROS2 Foxy, but the new manager (=RAM, Robotics Application Manager) should be checked to know whether or not this error reporting Gazebo stats keeps bothering or not. That RAM will be used for ROS1-Noetic and for ROS2- Humble RADIs in the long run. Regarding ROS1-Noetic it is included in RADI-3.3.1 and available for the FollowLine exercise and the BasicVacuumCleaner exercise.

jmplaza avatar Mar 26 '23 17:03 jmplaza

AFAIK the new manager, named RAM, is working fine in RADI 4.3.X and properly receiving the gazebo stats (such as Real Time Factor, RTF), which uses ROS2 Humble as reference.

@Blancasr is this right?. In such case we could close this issue as solved.

jmplaza avatar Apr 05 '23 18:04 jmplaza

Confirmed, it is working fine in ROS2 Humble RADI.

jmplaza avatar Apr 20 '23 10:04 jmplaza