I want to debug my code, and there’s a vector especially that I want to see the content off, how can I make this happen?
I’m using Visual Studio.
Here’s my code:
Eigen::VectorXf q_positions(n);
// Retrieve positions into q_positions
for (int i = 0, d = 0; d < n; d += n) {
q_positions.segment(i * 3, 3) = q.segment(d * 6, 3);
i += 1;
}
1