Woolfrey / software_robot_library

Custom classes for robot control.
GNU General Public License v3.0
2 stars 1 forks source link

error: type/value mismatch at argument 2 in template parameter list #121

Closed Woolfrey closed 2 months ago

Woolfrey commented 3 months ago

When trying to declare a type definition:

using CartesianPolynomial_f = CartesianTrajectory<float,Spline>;

I get the following compile error:

error: type/value mismatch at argument 2 in template parameter list for ‘template<class DataType, class TrajectoryType> class CartesianTrajectory’
   75 | using CartesianPolynomial_f = CartesianTrajectory<float,Spline>;

It's not an urgent problem, but it would be nice if we could have pre-named types.

Woolfrey commented 2 months ago

I think I fixed this and I was supposed to post the solution, but I've completely forgotten what I did ¯_(ツ)_/¯