Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caught python exception while evaluating $(eval name == true) #84

Closed
matawed opened this issue May 25, 2019 · 2 comments · Fixed by #86
Closed

Caught python exception while evaluating $(eval name == true) #84

matawed opened this issue May 25, 2019 · 2 comments · Fixed by #86

Comments

@matawed
Copy link

matawed commented May 25, 2019

problem

mon launch reports Caught Python exception while evaluating $(eval parameter_name == true):

input

<launch>

    <arg name="arg_name" default="false"/>

    <node name="node_name" pkg="pkg_name" type="node_type" output="screen">
    
        <rosparam if="$(eval arg_name == true)" param="another_param">false</rosparam>
    </node>
</launch>

workaround

replace $(eval arg_name == true) with $(eval arg_name == True)

@xqms
Copy link
Owner

xqms commented May 27, 2019

Fixed in #86. If you like, you could test that from branch bugfix/python_true_false.

We'll have to wait for the ROS CI server to be available again before merging.

@matawed
Copy link
Author

matawed commented May 30, 2019

Thanks, fix works

@xqms xqms closed this as completed in #86 Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants