If Pedro had a son who lasted past infancy that started an anti slavery movement, it is very possible to have seen an American style civil war occur in Brazil between the landowners and abolition factions. Brazil was highly dependent on agriculture (less so now, but still important).