File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ void FrankaHand::grasp() {
126126 this ->is_moving = false ;
127127 return ;
128128 }
129- this ->m_stop ();
129+ this ->m_wait ();
130130 this ->control_thread = std::thread ([&]() {
131131 this ->is_moving = true ;
132132 try {
@@ -149,7 +149,7 @@ void FrankaHand::open() {
149149 this ->is_moving = false ;
150150 return ;
151151 }
152- this ->m_stop ();
152+ this ->m_wait ();
153153 this ->control_thread = std::thread ([&]() {
154154 this ->is_moving = true ;
155155 try {
@@ -174,7 +174,7 @@ void FrankaHand::shut() {
174174 this ->is_moving = false ;
175175 return ;
176176 }
177- this ->m_stop ();
177+ this ->m_wait ();
178178 this ->control_thread = std::thread ([&]() {
179179 this ->is_moving = true ;
180180 this ->gripper .move (0 , this ->cfg .speed );
You can’t perform that action at this time.
0 commit comments