ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you have already installed a previous version of ROS (like foxy), that might be the source of the problem. It's because value_to_yaml function is introduced recently, and the compiler may prioritize the older version of ROS, resulting the 'not declared' error. To solve this, I just had to comment out source /opt/ros/foxy/setup.bash from my ~/.bashrc file and restart the terminal. Hope this helps.