ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Can you add a ' '
around jetson
here and try again?
default_value=PythonExpression(["'/rs_t265/odom/sample' if ",target, "=='jetson' else '/minicar/controller/odom'"])
You are comparing strings, without ' '
around it Python treats it like a variable name