Commit d9315b8c authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Make HumanoidRobot derived class serializable.

parent a11081f9
Pipeline #12548 passed with stage
in 8 minutes and 44 seconds
...@@ -111,6 +111,8 @@ namespace hpp { ...@@ -111,6 +111,8 @@ namespace hpp {
void initCopy (const HumanoidRobotWkPtr_t& weakPtr, const HumanoidRobot& other); void initCopy (const HumanoidRobotWkPtr_t& weakPtr, const HumanoidRobot& other);
/// For serialization only
HumanoidRobot () {}
private: private:
HumanoidRobotWkPtr_t weakPtr_; HumanoidRobotWkPtr_t weakPtr_;
JointPtr_t waist_; JointPtr_t waist_;
...@@ -123,7 +125,6 @@ namespace hpp { ...@@ -123,7 +125,6 @@ namespace hpp {
vector3_t gazeOrigin_; vector3_t gazeOrigin_;
vector3_t gazeDirection_; vector3_t gazeDirection_;
HumanoidRobot () {}
HPP_SERIALIZABLE(); HPP_SERIALIZABLE();
}; // class HumanoidRobot }; // class HumanoidRobot
} // namespace pinocchio } // namespace pinocchio
......
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