Unable to launch ros2_control due to missing 'Log' from 'rosgraph_msgs.msg'
Hello ROS2 Community: I am currently trying to using ROS2 Humble and include ros2_control functionalities in my code.
I am running my code with Ubuntu 22.04.2 LTS (Jammy) on an x86 laptop.
My code would operate fine whenever ros2_control and the related controllers are not included, but whenever xacro files with ros2_control included is launched the following error message will appear:
"Caught exception in launch (see debug for traceback): Caught exception when trying to load file of format [py]: substitution args not supported: cannot import name 'Log' from 'rosgraph_msgs.msg' (/opt/ros/humble/local/lib/python3.10/dist-packages/rosgraph_msgs/msg/__init__.py)"
The same error message would be outputted when the official ros2_control demos (https://github.com/ros-controls/ros2_...) are ran on my platform.
I already tried reinstalling ROS2. python3 and all the related packages but it didn't seem to help.