I have compared the file line by line to the example and I cannot see my error . How do I read this message.
Hi @ROxX ,
Your program seems to be fine. The error that you posted in your image seems to show a typo in your function name.
The error states that SimpleSubscriber
has no attribute listner_callback
.
But your code in the second post seems to have fixed the typo error by actually having the function name as listener_callback
.
I believe the install packages have not updated since your past build.
You need to build from scratch to fix this issue.
cd ~/ros2_ws
rm -rf ./build ./install ./log
colcon build
source install/setup.bash
Then run your program executable:
ros2 run subscriber_pkg simple_subscriber
This should fix your problem. Let me know if this did not work.
Regards,
Girish
thank you, I have to log off and then back on often. so I am confused about what is required at the beginning of each log on session could you define what is required?
then I have not been able to copy / paste to the IDE so I type in everything creating the typo. This is not critical, but would make it easier if I knew how to result.
The Construct is a very good teaching program. Thank you
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.