How to check xacro syntax like check_urdf?
Hello!
I would like to do a command line syntax check of an Xacro robot model similar to the one used for non-xacro files which is:
$ rosrun urdf check_urdf model.urdf
I know I can generate a temporary URDF file from my Xacro file using:
$ rosrun xacro xacro.py model.urdf.xacro > tmp.urdf
and then run 'rosrun urdf check_urdf' on that file. But for some reason I can't figure out how to simply pipe the two commands together into one command. Can it be done?
Thanks! patrick