I have followed all the steps mentioned. As there was some problem performing the colcon build, I removed the turtlebot3_fake and turtlebot3_simulation from this package and installed the packages by sudo apt-get method. after that I was able to build the workspace. But now when I open the second terminal to run gazebo_goals the following erros occur. IT would be really helpful If I get some directives.
Traceback (most recent call last):
File "/home/tariqul/drl_ws/install/turtlebot3_drl/lib/turtlebot3_drl/gazebo_goals", line 33, in <module>
sys.exit(load_entry_point('turtlebot3-drl==2.0.0', 'console_scripts', 'gazebo_goals')())
File "/home/tariqul/drl_ws/install/turtlebot3_drl/lib/turtlebot3_drl/gazebo_goals", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/tariqul/drl_ws/install/turtlebot3_drl/lib/python3.10/site-packages/turtlebot3_drl/drl_gazebo/drl_gazebo.py", line 35, in <module>
from ..drl_environment.drl_environment import ARENA_LENGTH, ARENA_WIDTH, ENABLE_DYNAMIC_GOALS
File "/home/tariqul/drl_ws/install/turtlebot3_drl/lib/python3.10/site-packages/turtlebot3_drl/drl_environment/drl_environment.py", line 41, in <module>
NUM_SCAN_SAMPLES = util.get_scan_count()
File "/home/tariqul/drl_ws/install/turtlebot3_drl/lib/python3.10/site-packages/turtlebot3_drl/common/utilities.py", line 138, in get_scan_count
tree = ET.parse(os.getenv('DRLNAV_BASE_PATH') + '/src/turtlebot3_simulations/turtlebot3_gazebo/models/turtlebot3_burger/model.sdf')
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
[ros2run]: Process exited with failure 1
I have followed all the steps mentioned. As there was some problem performing the colcon build, I removed the turtlebot3_fake and turtlebot3_simulation from this package and installed the packages by sudo apt-get method. after that I was able to build the workspace. But now when I open the second terminal to run gazebo_goals the following erros occur. IT would be really helpful If I get some directives.