Giter Club home page Giter Club logo

Comments (7)

reinzor avatar reinzor commented on June 2, 2024

I think this error message is correct. What is the issue?

from image_recognition.

LoyVanBeek avatar LoyVanBeek commented on June 2, 2024

There are 2 errors here:

  • ~save_images_folder is not defined but we would like to save images This is part of the launch file that is configured to save images but then the location is not specified
  • When yielding that error, TypeError: signal_shutdown() takes exactly 1 argument (0 given) occurs because apparently that misses an argument (I guess signal_shutdown(-1) or something)

from image_recognition.

MatthijsBurgh avatar MatthijsBurgh commented on June 2, 2024

The problem is not only in the launch file, but also in https://github.com/tue-robotics/image_recognition/blob/master/openface_ros/scripts/face_recognition_node#L196. Which doesn't check the service and topic variable to save images.

from image_recognition.

reinzor avatar reinzor commented on June 2, 2024

Let's discuss next tuesday; this is a configuration fault imo, not in the implementation

from image_recognition.

MatthijsBurgh avatar MatthijsBurgh commented on June 2, 2024

Let me describe an error case. save_images is false, because this is equal to ROBOT_REAL, so false is sim. Then the path is not retrieved from the param server. While topic_save_images or service_save_images could be true. This way the error is currently created.

Because save_images is also not passed to the OpenFaceRos, I think you should remove the parameter and don't use it to determine to retrieve the path or not. OR use it to overrule the topic/service parameter. But I don't think that is the correct use.

from image_recognition.

reinzor avatar reinzor commented on June 2, 2024

Again, lets discuss Tuesday ... I do agree the configuration is kinda vague but the behavior is totally fine.

from image_recognition.

MatthijsBurgh avatar MatthijsBurgh commented on June 2, 2024

I would say, https://github.com/tue-robotics/image_recognition/blob/master/openface_ros/scripts/face_recognition_node#L196 is still incorrect.

from image_recognition.

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.