[ROS Q&A] 091 - Python variable scope problem
The Construct Robotics Institute 8:23
174 views · 0 likes Watch on YouTube ↗
In this video we show how to solve the error "A node that's a subscriber, a publisher and uses dynamic parameters [Python]" This error was reported in the following question:
https://answers.ros.org/question/278409
Q: Suppose I have defined two custom dynamic parameters, gain1 and gain2, in a cfg file. I would like to use these in a node that subscribes and publishes to two topics. Here's what i tried:
A: Another problem you should change: your publishers are being declared as Subscribers.
https://answers.ros.org/question/278409
Q: Suppose I have defined two custom dynamic parameters, gain1 and gain2, in a cfg file. I would like to use these in a node that subscribes and publishes to two topics. Here's what i tried:
A: Another problem you should change: your publishers are being declared as Subscribers.
Category (YouTube): Science & Technology
Playback is via YouTube's official embedded player. Data from YouTube; Exumo is not affiliated with YouTube.