So I'm trying my best to align my subsections this way:
\subsubsection{Cylindrical Robot Arm:}
\begin{wrapfigure}{r}{0.3\textwidth}
\centering
\includegraphics[width=3cm]{II.Theoretical Concept and state of the art/Industrial Robot Arms/Images/cylindrical Robot arm.png}
\captionsetup{justification=centering,margin=0.1cm}
\caption{Cylindrical Robot Arm}
\end{wrapfigure}
This type of robot arms has at least one base rotary joint and one prismatic joint, which provide it with linear and rotational movement. These joints form a cylindrical coordinate system, making this robot arm effective and useful in industries that deal with tubing and cylindrical components as well as industries involving die casting...
\WFclear
\vspace{1cm}
The next subsection would be exactly the same except the wrapfigure will have an {l} argument instead.
This is what I get:
As you can see the alignment isn't right. I made sure the image doesn't have any free space. The image isn't aligned to the top of the subsubsection, which creates this weird look. There are 6 subsubsections and that made the page look bad.
Is there a way to fix this ? [t] didn't work on wrap figure and I'm not good with tables so I don't know how to make it look better.

