Skip to content

Commit

Permalink
Fix KDL::PI in chainiksolverpos_lma_demo.cpp (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmartin36 authored Oct 12, 2023
1 parent 41ca686 commit 7478f96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orocos_kdl/examples/chainiksolverpos_lma_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ void test_inverseposkin(KDL::Chain& chain) {
KDL::JntArray q_sol(n);
for (int trial=0;trial<num_of_trials;++trial) {
q.data.setRandom();
q.data *= PI;
q.data *= KDL::PI;
q_init.data.setRandom();
q_init.data *= PI;
q_init.data *= KDL::PI;
KDL::Frame pos_goal,pos_reached;
fwdkin.JntToCart(q,pos_goal);
//solver.compute_fwdpos(q.data);
Expand Down

0 comments on commit 7478f96

Please sign in to comment.