Unverified Commit 16082260 authored by olivier stasse's avatar olivier stasse Committed by GitHub
Browse files

Merge pull request #43 from cmastalli/devel

[cleanup] Removed legacy macro for metapod operations
parents 88979495 2c6753d1
......@@ -116,12 +116,4 @@ namespace Eigen
for(unsigned int i=0; i< src.size(); i++) \
dest(i+offset) = src[i]
//Use ## to combine macro parameters into a single token (token => variable name, etc)
//And # to stringify a macro parameter (very useful when doing "reflection" in C/C++)
/// METAPOD
#define METAPOD_FORCE_FROM_SIGNAL(force, signal) \
const Eigen::VectorXd& tmp##force##_eig = signal; \
metapod::Spatial::ForceTpl<double> force(tmp##force##_eig.tail<3>(), tmp##force##_eig.head<3>())
#endif // __sot_torque_control_vector_conversion_H__
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment