Roberts will move to the County Ground after Swindon agreed a transfer fee of £50,000, and the players personal terms were agreed.
The transfer still needs to be approved by the Football League, which should happen on Thursday, so Roberts could start against Oldham on Saturday.