[Bug] Unit3 Groot monitor does not connect

This is an error report.


Screenshot of the error


Error details

Error was not able to connect to tcp//localhost:1666

With the information you supplied, it is a bit difficult to understand the problem.

  • What were you expecting to see?
  • What did you see exactly? What does “does not connect” mean?
  • What steps did you take to arrive at the current point?
  • What steps have you taken to try to solve the problem?

I was at the very end end of unit3.
In one shell1 ,i had launched the simulation
source /home/simulations/ros2_sims_ws/install/setup.bash

In shell 2 , i had launched the script ( with the corrections includes in the xml and added the code to log the states of bt in the .cpp file then rebuilded )
cd ~/ros2_ws/build/behaviortree_ros2
./test_unit3

In shell3 launched groot
source /home/simulations/public_sim_ws/devel/setup.bash
rosrun groot Groot

In the Grapic Tool tab
select the monitor mode, then start
then i had a pop up with
Error was not able to connect to tcp//localhost:1666

Note that i have this message when i source before groot launch
user:~$ source /home/simulations/public_sim_ws/devel/setup.bash
setup.bashROS_DISTRO was set to ‘galactic’ before. Please make sure that the environment does not mix paths from different distributions.

Also note that the robot behave as it is required and the States are properly logs in the bt_trace_unit3.fbl file

my reply is in my next post

Hello @fgenestcvdl ,

The Monitor mode is not available in the course at this time. Instead, you should open Groot in Log Replay mode using the bt_trace_unit3.fbl file.

Best,

Ok

Is there any way to log the behaviors while using the nav2 ?