Measure 25A Current In Series?
You should use a 4-wire current sense (shunt) resistor. This is a 0.001 ohm, probably a good choice for what you are doing.



https://www.digikey.com/product-detail/en/murata-power-solutions-inc/3020-01096-0/811-1094-ND

Be sure to connect the high current to the top terminals and take the measurement on the side terminals. It is only calibrated if you use the side terminals for the measurement.