Git Product home page Git Product logo

Comments (2)

EdsterG avatar EdsterG commented on August 11, 2024

Run the tests with the --verbose flag.

from trajopt.

ruiaisun avatar ruiaisun commented on August 11, 2024

@EdsterG Do you know how to solve this error?

Test project /home/geriatronics/Projects/trajopt/build
      Start  1: arm_to_joint_target.py
 1/10 Test  #1: arm_to_joint_target.py .............***Exception: Numerical  0.28 sec
      Start  2: arm_to_cart_target.py
 2/10 Test  #2: arm_to_cart_target.py ..............***Exception: Numerical  0.28 sec
      Start  3: fullbody_plan.py
 3/10 Test  #3: fullbody_plan.py ...................***Exception: Numerical  0.28 sec
      Start  4: position_base.py
 4/10 Test  #4: position_base.py ...................***Failed    0.03 sec
      Start  5: this_side_up.py
 5/10 Test  #5: this_side_up.py ....................***Exception: Numerical  0.28 sec
      Start  6: arm_to_cart_target_position_only
 6/10 Test  #6: arm_to_cart_target_position_only ...***Exception: Numerical  0.28 sec
      Start  7: sco-unit
 7/10 Test  #7: sco-unit ...........................   Passed    0.03 sec
      Start  8: collision-checker-unit
 8/10 Test  #8: collision-checker-unit .............   Passed    0.03 sec
      Start  9: planning-unit
 9/10 Test  #9: planning-unit ......................   Passed    0.95 sec
      Start 10: cast-cost-unit
10/10 Test #10: cast-cost-unit .....................   Passed    0.02 sec

40% tests passed, 6 tests failed out of 10

Total Test time (real) =   2.45 sec

The following tests FAILED:
	  1 - arm_to_joint_target.py (NUMERICAL)
	  2 - arm_to_cart_target.py (NUMERICAL)
	  3 - fullbody_plan.py (NUMERICAL)
	  4 - position_base.py (Failed)
	  5 - this_side_up.py (NUMERICAL)
	  6 - arm_to_cart_target_position_only (NUMERICAL)
Errors while running CTest
Output from these tests are in: /home/geriatronics/Projects/trajopt/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.

when I run 'python arm_to_joint_target.py' in the folder /python_examples, ithe error just like:

You can set logging level with TRAJOPT_LOG_THRESH. Valid values: FATAL ERROR WARN INFO DEBUG TRACE. Defaulting to INFO
Traceback (most recent call last):
  File "arm_to_joint_target.py", line 7, in <module>
    import trajoptpy
  File "/home/geriatronics/Projects/trajopt/trajoptpy/__init__.py", line 1, in <module>
    from ctrajoptpy import *
ImportError: dynamic module does not define init function (initctrajoptpy)
Floating point exception (core dumped)

from trajopt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.