[Bug] Simulation not working in Behavior Tree Course

This is an error report.


Screenshot of the error


Error details

Simulation is not starting for this course.

Hello @rutweek.joshi ,

I’ve been testing this 1st unit and the simulation seems to be working fine for me. Could it be that you missed some step while trying to launch the simulation?

These are the steps I followed:

  1. Download the repo inside ~/ros2_ws/src: git clone https://bitbucket.org/theconstructcore/bt_course_files.git
  2. Build BT packages:
    colcon build --packages-select behaviortree_cpp_v3
    colcon build --packages-select behaviortree_ros2
  3. Source ros2_ws and ros2_sims_ws:
    source ~/ros2_ws/install/setup.bash
    source /home/simulations/ros2_sims_ws/install/setup.bash
  4. Launch simulation: ros2 launch my_package launch_world_unit1.launch.py

Following these steps the simulation launched correctly for me:

Let me know if it works for you.

Best,

Adding to what @albertoezquerro said above, please note that the simulation does not show up automatically for this unit, unlike other units. You will launch the simulation manually at some point in the notebook.

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.