I just want to have a log message with the parameter value, and I can't find how to.
return LaunchDescription([
arg_i,
LogInfo(msg=LaunchConfiguration('i')), # this one has the value, but I want it in a string
LogInfo(msg=f"i = '{ LaunchConfiguration('i') }'"), # here I have the object string, not the param value
])
-> I don't want to use the OpaqueFunction to have my log.
In case this is not possible, I have another similar problem, I want to use the param value in a mathematical operation, and use the result as a node argument :
i = LaunchConfiguration("i")
spawner = Node(
package="ros_gz_sim",
executable="create",
arguments=[
"-Y", str( int(i) * (math.pi/4)),
],
```