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

Revision history [back]

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