We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d2a571 commit 6a01550Copy full SHA for 6a01550
core/src/stages/compute_ik.cpp
@@ -388,8 +388,10 @@ void ComputeIK::compute() {
388
double remaining_time = timeout();
389
auto start_time = std::chrono::steady_clock::now();
390
while (ik_solutions.size() < max_ik_solutions && remaining_time > 0) {
391
- if (tried_current_state_as_seed)
+ if (tried_current_state_as_seed) {
392
sandbox_state.setToRandomPositions(jmg);
393
+ sandbox_state.update();
394
+ }
395
tried_current_state_as_seed = true;
396
397
size_t previous = ik_solutions.size();
0 commit comments