England seamer Ollie Robinson leaves Sussex after 11 years to join Nottinghamshire for an undisclosed "compensation package" on a three-year deal.