mainloop plops yz-plane again

This commit is contained in:
Leonetienne
2025-12-14 22:43:56 +01:00
parent bc853ce4e1
commit 6a839e6e01
+4 -4
View File
@@ -43,7 +43,7 @@ void MainLoop::run()
static std::chrono::steady_clock::time_point lastBegin =
std::chrono::high_resolution_clock::now();
//YZConsolePlotter plot(-200, 200, 20, 2);
YZConsolePlotter plot(-200, 200, 20, 2);
double j0Pos = 0;
double j1Pos = 0;
@@ -63,7 +63,7 @@ void MainLoop::run()
isRunning = false;
}
constexpr double speed = 3000;
constexpr double speed = 5000;
VkbInputs vkbi = leftVKB.get();
// Calculate new joint positions
@@ -85,8 +85,8 @@ void MainLoop::run()
}
const Vector3d ef = arm.getJ2().getGlobalEndpoint();
std::cout << j2Pos << std::endl;
//plot.draw(ef);
//std::cout << ef << std::endl;
plot.draw(ef);
arm.update(frametime);