x y z w is only used if you want to specify orientation using a quaternion. If you want to use Euler angles, you can use the other parameter order. From the static_transform_publisher:
Usage: static_transform_publisher x y z yaw pitch roll frame_id child_frame_id  period (milliseconds)

Note the order ypr instead of the often used rpy.