I am trying to run a python code for a robot I simulated. The robot works perfectly with the teleop-keyboard, but when I try to implement the python code it says "CANNOT IMPORT NAME "LOG" FROM ROSGRAPH MESSAGES". I am using ros2 launch to run the code, but I still make the same mistake. I have tried installing the rcp_interface for the "log" but I still have the same problem. Please, help me.
I am trying to run a python code for a robot I simulated. The robot works perfectly with the teleop-keyboard, but when I try to implement the python code it says "CANNOT IMPORT NAME "LOG" FROM ROSGRAPH MESSAGES". I am using ros2 launch to run the code, but I still make the same mistake. I have tried installing the rcp_interface for the "log" but I still have the same problem. Please, help me.