Skip to content

Commit bdd9d28

Browse files
jmirabelolivier-stasse
authored andcommitted
Fix assert.
1 parent 66f276f commit bdd9d28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sot_loader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ void SotLoader::initializeRosNode(int argc, char *argv[])
144144
//Temporary fix. TODO: where should nbOfJoints_ be initialized from?
145145
if (ros::param::has("/sot/state_vector_map")) {
146146
angleEncoder_.resize(nbOfJoints_);
147+
angleControl_.resize(nbOfJoints_);
147148
}
148149

149150
startControlLoop();

0 commit comments

Comments
 (0)