ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Jeremy Zoss's profile - activity

2022-10-19 09:29:17 -0500 commented answer Any Examples of URDF/MoveIt for Parallel Robots?

For what it's worth: Blue Workforce, the manufacturers of the Ragnar robot and owner of its driver repository declared b

2022-03-19 04:51:34 -0500 received badge  Nice Answer (source)
2021-08-14 12:42:28 -0500 received badge  Nice Answer (source)
2020-05-28 11:54:58 -0500 received badge  Great Answer (source)
2020-05-28 11:54:58 -0500 received badge  Guru (source)
2020-01-13 04:32:20 -0500 received badge  Nice Answer (source)
2019-11-10 23:42:35 -0500 received badge  Great Answer (source)
2019-11-10 23:42:35 -0500 received badge  Guru (source)
2019-07-18 15:59:05 -0500 received badge  Good Answer (source)
2019-03-15 11:13:30 -0500 received badge  Guru (source)
2019-03-15 11:13:30 -0500 received badge  Great Answer (source)
2018-11-12 16:50:20 -0500 received badge  Good Answer (source)
2018-10-19 05:09:48 -0500 received badge  Self-Learner (source)
2018-10-19 05:09:48 -0500 received badge  Necromancer (source)
2018-10-19 05:09:48 -0500 received badge  Nice Answer (source)
2018-05-05 07:43:24 -0500 received badge  Nice Answer (source)
2018-01-23 10:07:51 -0500 received badge  Good Question (source)
2018-01-22 09:46:45 -0500 received badge  Great Answer (source)
2018-01-22 09:46:45 -0500 received badge  Guru (source)
2017-12-01 07:01:06 -0500 received badge  Great Answer (source)
2017-12-01 07:01:06 -0500 received badge  Guru (source)
2017-10-04 19:32:11 -0500 received badge  Good Answer (source)
2017-08-18 20:02:04 -0500 received badge  Favorite Question (source)
2017-07-13 14:46:22 -0500 marked best answer Custom kinematic plugins under moveit

I know I'm jumping the gun a bit, but I was wondering if anyone's had any experience integrating custom inverse-kinematics plugins (e.g. ikfast) with moveit.

I've created an ikfast solver for my robot, and followed the instructions at wiki/Industrial/Tutorials/Create_a_Fast_IK_Solution to generate a plugin. But it feels like this plugin may not be moveit-compatible??

When I run the moveit setup_assistant, I don't see my new plugin in the list of kinematics solvers (only KDL and PR2 solvers). If I manually edit kinematics.yaml to point to my new plugin, I get an error when running the planning environment: According to the loaded plugin descriptions, the class _____ does not exist. Declared types are ...KDL... and ...PR2...

I also checked the moveit documentation for Groovy/Kinematics/Custom_Plugin, but it doesn't exist yet.

Does anyone have any pointers, or is my best bet to wait for the documentation/code to be officially released?

Thanks!

2017-07-13 14:46:22 -0500 received badge  Great Answer (source)
2017-07-13 14:46:22 -0500 received badge  Guru (source)
2017-07-07 14:27:09 -0500 answered a question Kinect with UR5 avoiding collisions

Have you followed the steps listed on the MoveIt Tutorials page: 3D Perception/Configuration? In particular, you need t

2017-03-10 03:35:47 -0500 received badge  Good Answer (source)
2017-03-04 13:45:32 -0500 received badge  Good Answer (source)
2017-02-16 09:11:41 -0500 marked best answer Any Examples of URDF/MoveIt for Parallel Robots?

I'm working on providing MoveIt support for a parallel (Delta-style) robot. Are there any examples of current parallel-mechanism robots that are being used with ROS?

I have seen discussions from 2011 and 2013, but no links to actual code.

I understand that we'll need to "cheat" a little in representing the robot in URDF, and provide our own FK/IK routines. I think I've got a good handle on the required steps, but it would be helpful to review any other example implementations, if available.

2017-01-20 09:35:50 -0500 received badge  Nice Question (source)
2017-01-19 13:31:22 -0500 commented question Any Examples of URDF/MoveIt for Parallel Robots?

The URDF is created with all floating joints. The tool plate is defined relative to base_link (a hack). The robot publishes 4 driven joint positions. A custom state_publisher node performs kinematics to compute the positions of all 8 links and the tool plate, and publishes the resulting transform

2017-01-19 10:06:35 -0500 commented question Any Examples of URDF/MoveIt for Parallel Robots?

We've actually completed this work, and published the ROS package for the delta-style Ragnar robot back in December 2015.

2017-01-11 03:22:09 -0500 marked best answer data files for catkin gtest

I am creating a Unit-Test program for my catkin package, using gtest. I have set up my CMakeLists.txt to compile the unit-test program and link against my package library. In one of the tests, I would like to read in an external data file to use in the test routine. This data file is in the same directory as my utest.cpp file: <package>/test/test.dat.

In rosbuild, I run tests using make test, and the working directory is the package root. So, I can reference the test data file using a relative path: test/test.dat.

In catkin, I run make run_tests and the working directory is in the catkin_ws/devel tree. The build process does not copy my data file to this tree, so it is unclear how I should specify the relative path to my data file.

What is the best-practice for dealing with test data files under catkin?
NOTE: I don't want the test executable or data-file to be installed in the final package. These are for unit-test purposes only.

In case it's helpful, here's the relevant section of my CMakeLists.txt:

catkin_add_gtest(test_myPackage test/utest.cpp)
target_link_libraries(test_myPackage myPackage_lib)

EDIT :
NOTE: William has updated his example code, so the following bugs have been fixed. I'm leaving in this discussion for historical reasons, but the updated code should work as-is

I tried running the example code provided by @William below. When I rename test.dat to test1.dat, both tests still pass. I think the issue is with how the test code loops over the data file lines. No tests are run if the file is not found, but neither is an error thrown. Adding the following line helps to catch this case:

in.open("data/test.dat", std::fstream::in);
ASSERT_FALSE(in.fail());    // this is the new line
int op1, op2, expected;
while (in >> op1 >> op2 >> expected) {
  EXPECT_EQ(expected, test_with_data::add(op1, op2));
}

Once that line is added, both tests fail with the mis-named test1.dat file. However, once the file is restored to the correct name, the second method still fails. If I add a print of the current working directory to test_with_data2.cpp, it reports: ws/build/test_with_data/test. It looks like the WORKING_DIRECTORY argument is relative to the build directory. However, if you use an absolute path, the 2nd test method works as expected:

catkin_add_gtest(${PROJECT_NAME}2-test test/test_with_data2.cpp WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/test)
2016-12-17 19:25:45 -0500 received badge  Great Answer (source)
2016-12-17 19:25:45 -0500 received badge  Guru (source)