Camera gimbal bobs up and down on waypoint mission

These are caused by control signal interruptions.

For Gimbal Pitch changes and Flying Speed Changes to work there MUST be a connection between the AC and RC.
As of Android Version 4.25.0 (July 4, 2022):

[DJI GO/older drone models only] added new setting ‘Enable DJI’s Gimbal Interpolation in Waypoint mode’ to allow gimbal pitch movements out of signal range.
[DJI GO/older drone models only] when supported by the drone’s firmware, custom waypoint speeds will now work even out of signal range.

Have a look at this topic: