I have built a mobile robot in solidworks and exported it in solidworks to urdf exporter. When i export and use it, i noticed that the global co-ordinates is not aligned with assembly co-ordinates. Then i could visualize that in solidworks itself as shown in image.
As we can see in image the Z-axis in assembly is horizontal whereas the Z-axis in solidworks is vertical. How to align these co-ordinates.
PS: I have mated the part origin and assembly origin.