Skip to content

Commit

Permalink
Misc doxy and source comment typo fixes
Browse files Browse the repository at this point in the history
Found via `codespell -q 3`
  • Loading branch information
luzpaz committed May 2, 2019
1 parent c994a6f commit 5914217
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion orocos_kdl/doc/tex/UserManual.tex
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ \subsection{Vector}

\paragraph{Add and subtract vectors}
\label{sec:add-subtract-vectors}
You can add or substract a vector with another vector:
You can add or subtract a vector with another vector:
\begin{lstlisting}
v2+=v1;
v3-=v1;
Expand Down
4 changes: 2 additions & 2 deletions orocos_kdl/src/chainfksolver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace KDL {
class ChainFkSolverAcc : public KDL::SolverI {
public:
/**
* Calculate forward position, velocity and accelaration
* Calculate forward position, velocity and acceleration
* kinematics, from joint coordinates to cartesian coordinates
*
* @param q_in input joint coordinates (position, velocity and
Expand All @@ -120,7 +120,7 @@ namespace KDL {
*/
virtual int JntToCart(const JntArrayAcc& q_in, FrameAcc& out,int segmentNr=-1)=0;
/**
* Calculate forward position, velocity and accelaration
* Calculate forward position, velocity and acceleration
* kinematics, from joint coordinates to cartesian coordinates
*
* @param q_in input joint coordinates (position, velocity and
Expand Down
2 changes: 1 addition & 1 deletion orocos_kdl/src/chainiksolvervel_pinv_nso.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ namespace KDL
virtual int setOptPos(const JntArray &opt_pos);

/**
*Set null psace velocity gain
*Set null space velocity gain
*
*@param alpha NUllspace velocity cgain
*
Expand Down
2 changes: 1 addition & 1 deletion orocos_kdl/src/path_roundedcomposite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void Path_RoundedComposite::Add(const Frame& F_base_point) {
if (bcdist < eps) {
throw Error_MotionPlanning_Not_Feasible(3);
}
// Clamp to avoid rounding errors (acos is defineed between [-1 ; 1])
// Clamp to avoid rounding errors (acos is defined between [-1 ; 1])
double alpha = acos(std::max(-1., std::min(dot(ab, bc) / abdist / bcdist, 1.)));
if ((PI - alpha) < eps) {
throw Error_MotionPlanning_Not_Feasible(4);
Expand Down
2 changes: 1 addition & 1 deletion orocos_kdl/src/treefksolver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ namespace KDL {
// class TreeFkSolverAcc {
// public:
/**
* Calculate forward position, velocity and accelaration
* Calculate forward position, velocity and acceleration
* kinematics, from joint coordinates to cartesian coordinates
*
* @param q_in input joint coordinates (position, velocity and
Expand Down

0 comments on commit 5914217

Please sign in to comment.