[solved] rosrun beginner_tutorials talker.py has no effect
I apply the WritingPublisherSubscriber(python) tutorial page.
I copy/paste the code of talker.py (error on wget)
I execute
$ catkin_make
roscore is runing
Then I execute
$ rosrun --debug beginner_tutorials talker.py
[rosrun] Looking in catkin libexec dirs: /home/pi/catkin_ws/devel/share/beginner_tutorials
[rosrun] Looking in rospack dir: /home/pi/catkin_ws/src/beginner_tutorials
[rosrun] Searching for talker.py with permissions /111
[rosrun] Running /home/pi/catkin_ws/src/beginner_tutorials/scripts/talker.py
Not more output. After 1 sec or less, I return to the prompt. Nothing in rqt_console.
Could anyone help me?
Two questions:
1 - after catkin_make did you source the setup file("source devel/setup.bash")?
2 - Did you restart roscore after catkin_make?
Thanks for questions. 1. Not before your question. Yes now. Without more result. 2. Yes.
Did you try "rostopic list" to see if the talker is talking?
Thanks. If I start listener.py, I have:
Good. Next step :
If I run only talker.py and not listener.py, I have: