when i begin to rosrun my publisher or subscriber node it keep give me an error

asked 2020-08-29 03:08:19 -0500

ebrahim gravatar image

this the error : from: can't read /var/mail/std_msgs.msg /home/ebrahim/Desktop/f_try/src/pkg4/scripts/talk.py: line 4: syntax error near unexpected token (' /home/ebrahim/Desktop/f_try/src/pkg4/scripts/talk.py: line 4: def talker():' i hvae re checked my code but i still have the same problem

edit retag flag offensive close merge delete


Hi @ebrahim, Can you post your code to see if, after testing happens the same in my enviroment?

Weasfas gravatar image Weasfas  ( 2020-09-01 12:04:00 -0500 )edit