This paper addresses the problem of generating smooth trajectories between an initial and final position and orientation in space. The main idea is to define a functional depending on velocity or its derivatives that measures the smoothness of a trajectory and find trajectories that minimize this functional. In order to ensure that the computed trajectories are independent of the parameterization of positions and orientations, we use the notions of Riemannian metric and covariant derivatives from differential geometry and formulate the problem as a variational problem on the Lie group of spatial rigid body displacements, SE (3). We show that by choosing an appropriate measure of smoothness, the trajectories can be made to satisfy boundary c...