I'm having a problem setting up the static transform between my base_link and my camera.
If I use rosrun tf static_transform_publisher in a different command line the camera is alligned with my axes but when I incorporate the same transform in a launch file it is out of allignment...
Here are my commands:
rosrun tf static_transform_publisher name=tracking_camera args=0.2 0 0 1.57 0 1.20 base_link camera_depth_optical_frame 100
<node pkg="tf2_ros" type="static_transform_publisher" name="tracking_camera" args="0.2 0 0 1.57 0 1.20 base_link camera_depth_optical_frame" />
Why does this happen?
Edit: Here are the rqt_tree as requested in the comments.
Additionally if I input param 100 in the launch file as well I get the following error when trying to generate the tree:
rosrun tf2_tools view_frames.py
[INFO] [1629904078.746465]: Listening to tf data during 5 seconds...
Error: TF_DENORMALIZED_QUATERNION: Ignoring transform for child_frame_id "100" from authority "/tracking_camera" because of an invalid quaternion in the transform (1.570000 0.000000 1.200000 0.000000)
at line 255 in /tmp/binarydeb/ros-noetic-tf2-0.7.5/src/buffer_core.cpp
[INFO] [1629904083.765947]: Generating graph in frames.pdf file...
camera_depth_optical_frame 100
while the second just callscamera_depth_optical_frame
. $\endgroup$