From 084748e5ceb03150e269be20f61cbfe4b5ed502d Mon Sep 17 00:00:00 2001 From: Thomas Moulard <thomas.moulard@gmail.com> Date: Mon, 10 Jan 2011 18:30:04 +0100 Subject: [PATCH] Disable disallocation in Python for now. Previous algorithm was not taking properly into account the dependencies between data in the dynamic graph such as pointer signals. Disable it as it is trigger segfaults when exiting the Python interpreter. --- src/dynamic.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dynamic.cpp b/src/dynamic.cpp index aaf5348..bac7b63 100644 --- a/src/dynamic.cpp +++ b/src/dynamic.cpp @@ -1569,8 +1569,9 @@ void Dynamic::setGazeParameters(const ml::Vector& inGazeOrigin, } std::ostream& sot::operator<<(std::ostream& os, - const CjrlHumanoidDynamicRobot& robot) + const CjrlHumanoidDynamicRobot&) { + /* os << "Device: " << &robot << std::endl; os << std::endl; os << " gaze: " << robot.gazeJoint() << std::endl; @@ -1645,6 +1646,7 @@ std::ostream& sot::operator<<(std::ostream& os, <<", "<< MAL_S3_VECTOR_ACCESS(com, 1) <<", "<< MAL_S3_VECTOR_ACCESS(com, 2) <<std::endl; + */ return os; } -- GitLab