In rapidly rotating planetary atmospheres that are heated from below, equatorial superrotation can occur through convective generation of equatorial Rossby waves. If the heating from below is sufficiently strong that convection penetrates into the upper troposphere, then the convection generates equatorial Rossby waves, which can induce the equatorward angular momentum transport necessary for superrotation. This paper investigates the conditions under which the convective generation of equatorial Rossby waves and their angular momentum transport lead to superrotation. It also addresses how the strength and width of superrotating equatorial jets are controlled.In simulations with an idealized general circulation model (GCM), the relative roles of baroclinicity, heating from below, and bottom drag are explored systematically. Equatorial superrotation generally occurs when the heating from below is sufficiently strong. However, the threshold heating at which the transition to superrotation occurs increases as the baroclinicity or the bottom drag increases. The greater the baroclinicity is, the stronger the angular momentum transport out of low latitudes by baroclinic eddies of extratropical origin. This competes with the angular momentum transport toward the equator by convectively generated Rossby waves and thus can inhibit a transition to superrotation. Equatorial bottom drag damps both the mean zonal flow and convectively generated Rossby waves, weakening the equatorward angular momentum transport as the drag increases; this can also inhibit a transition to superrotation. The strength of superrotating equatorial jets scales approximately with the square of their width. When they are sufficiently strong, their width, in turn, scales with the equatorial Rossby radius and thus depends on the thermal stratification of the equatorial atmosphere.The results have broad implications for planetary atmospheres, particularly for how superrotation can be generated in giant planet atmospheres and in terrestrial atmospheres in warm climates.