Closed davetcoleman closed 10 years ago
The std::sort structure was storing pointers, so I believe it was populating its binary search trees based on memory address locations, I've added a custom comparator that instead compares the joint model's names, ensureing alphabetical ordering.
std::sort
Fix for https://github.com/ros-planning/moveit_setup_assistant/issues/53
+1
I just ran this and the joints in joint_limits.yaml were still not in alphabetical order. Does this work for you?
oop, hold on, ran with wrong ROS_PACKAGE_PATH...
ok, works fine. :)
The
std::sort
structure was storing pointers, so I believe it was populating its binary search trees based on memory address locations, I've added a custom comparator that instead compares the joint model's names, ensureing alphabetical ordering.Fix for https://github.com/ros-planning/moveit_setup_assistant/issues/53