Skip to content
Snippets Groups Projects
Commit 4ffe4aa4 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[wip/py-roscontrol-sot] Fix bug during stanby mode.

Currently roscontrol is failing in effort mode when roscontrol
is loaded.
PKGREVISION bumped to 1
parent cb80bcaa
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ ROSNAME= $(subst -,_,${NAME})
DISTNAME= ${ROSNAME}-${VERSION}
WRKSRC= ${WRKDIR}/${ROSNAME}-${VERSION}
DIST_SUBDIR= ${NAME}
PKGREVISION= 1
CATEGORIES= wip
......
......@@ -2,3 +2,4 @@ SHA1 (roscontrol-sot/roscontrol_sot-0.2.0.tar.gz) = dcc37d0e59a7671a77a72de0b8d5
RMD160 (roscontrol-sot/roscontrol_sot-0.2.0.tar.gz) = 58879b0ba88bf3eda431a6e34df2956c68df18df
Size (roscontrol-sot/roscontrol_sot-0.2.0.tar.gz) = 1285602 bytes
SHA1 (patch-aa) = 3826bb4e8794bdc8af94306d2637377d8eeacd11
SHA1 (patch-ab) = 2f7cb585cafd12a490bf6e1a2d31e05d024b8ba0
--- src/roscontrol-sot-controller.cpp
+++ src/roscontrol-sot-controller.cpp
@@ -1068,6 +1068,10 @@ void RCSotController::update(const ros::Time &, const ros::Duration &period) {
} catch (std::exception &e) {
throw e;
}
+
+ localStandbyEffortControlMode(period);
+ localStandbyVelocityControlMode(period);
+ localStandbyPositionControlMode();
}
}
--
2.17.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment