GithubHelp home page GithubHelp logo

Comments (8)

linas avatar linas commented on May 20, 2024

errors in the face tracker:

/home/hansonrobotics/HEAD/src/vision/icog_face_tracker/src/3rdparty/cvblobs/BlobResult.cpp: In member function 'void CBlobResult::PrintBlobs(char*) const':
/home/hansonrobotics/HEAD/src/vision/icog_face_tracker/src/3rdparty/cvblobs/BlobResult.cpp:939:112: warning: format '%f' expects a matching 'double' argument [-Wformat=]
      i, area[i], perimetre[i], externPerimeter[i], perimetreConvex[i], exterior[i], compacitat[i], longitud[i] );
                                                                                                                ^
/home/hansonrobotics/HEAD/src/vision/icog_face_tracker/src/libopentld/tld/TLD.cpp: In member function 'void tld::TLD::writeToFile(const char*)':
/home/hansonrobotics/HEAD/src/vision/icog_face_tracker/src/libopentld/tld/TLD.cpp:441:74: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<tld::NormalizedPatch>::size_type {aka long unsigned int}' [-Wformat=]
     fprintf(file, "%d #Positive Sample Size\n", nn->truePositives->size());
                                                                          ^
/home/hansonrobotics/HEAD/src/vision/icog_face_tracker/src/libopentld/tld/TLD.cpp:460:75: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<tld::NormalizedPatch>::size_type {aka long unsigned int}' [-Wformat=]
     fprintf(file, "%d #Negative Sample Size\n", nn->falsePositives->size());
                                                                           ^
/home/hansonrobotics/HEAD/src/vision/icog_face_tracker/src/libopentld/tld/TLD.cpp:509:53: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<tld::TldExportEntry>::size_type {aka long unsigned int}' [-Wformat=]
         fprintf(file, "%d #numLeaves\n", list.size());
                                                     ^

from head.

linas avatar linas commented on May 20, 2024

in manyears:

/home/hansonrobotics/HEAD/src/sound/manyears_ros/src/manyears_node.cpp: In member function 'bool manyears_ros::ManyEarsNode::parseParams(const ros::NodeHandle&)':
/home/hansonrobotics/HEAD/src/sound/manyears_ros/src/manyears_node.cpp:162:107: warning: format '%i' expects a matching 'int' argument [-Wformat=]
                 ROS_ERROR("Pos element of microphone %i is not a struct, "
                                                                                                           ^
/home/hansonrobotics/HEAD/src/sound/manyears_ros/src/manyears_ros.cpp: In constructor 'manyears_node::many_ears::many_ears(ros::NodeHandle)':
/home/hansonrobotics/HEAD/src/sound/manyears_ros/src/manyears_ros.cpp:165:140: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                 outputInit(libraryContext_.myOutputSeparated, libraryContext_.myParameters, NULL, NULL, "/tmp/source_sep_****.wav", '*');
                                                                                                                                            ^
/home/hansonrobotics/HEAD/src/sound/manyears_ros/src/manyears_ros.cpp:166:143: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                 outputInit(libraryContext_.myOutputPostfiltered, libraryContext_.myParameters, NULL, NULL, "/tmp/source_post****.wav", '*');

from head.

tesYolan avatar tesYolan commented on May 20, 2024

All of the codes that you noticed the warning's are their own library which have been added to the HR repo. I don't think any person in HR have actually modified or touched those particular codes. And if desired to suppress those particular errors it's better to take those repo out in to their own repository or work from the initial repo.

from head.

natnaelargaw avatar natnaelargaw commented on May 20, 2024

I couldn't find any persuading reason that caused - potentially fatal error (long long timertype). the variable is long long and it can hold upto 17 digits. any way, addresssed it by replacing the previous multiplication statement by the its own final product and incorporated LOC to get rid of depreciated warnings . checkout nmpt branch.

from head.

linas avatar linas commented on May 20, 2024

what does "any person in HR have actually modified or touched those particular codes" mean? Someone wrote that code -- who? You? Someone else? Whoever wrote that code should also make sure that it builds cleanly ...

from head.

tesYolan avatar tesYolan commented on May 20, 2024

What i was trying to get at is;

  1. The ManyEar's code code is really (if i am not mistaken) the code that rests;

https://github.com/introlab/irl_audio/tree/master/manyears_ros
During development and integration they included the code to the HR repo for building the dependent packages that mandeep and naty are working on.

  1. The ros_nmpt code is also really the code

https://github.com/geni-lab/ros_nmpt_saliency

(which coincidentally mandeep is also the contributor) incoporated in the HR repo during setting up the HEAD repo.

  1. The icog-tracker is also particulary quick way in order to incoporate the opentld as library in the tracker in a quick way by another person that worked on it a while back.  ( The opentld is a previous work of the guys who wrote the CppMT). Also the original library code is located at:

https://github.com/gnebehay/OpenTLD/

I didn't do any of this aforementioned jobs and was explaining the state how things where done by various other parties.

On Friday, July 29, 2016 7:12 PM, Linas Vepštas <[email protected]> wrote:

what does "any person in HR have actually modified or touched those particular codes" mean? Someone wrote that code -- who? You? Someone else? Whoever wrote that code should also make sure that it builds cleanly ...—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

from head.

linas avatar linas commented on May 20, 2024

On Fri, Jul 29, 2016 at 11:52 AM, Tesfa Yohannes [email protected]
wrote:

What i was trying to get at is;

  1. The ManyEar's code code is really (if i am not mistaken) the code that
    rests;

https://github.com/introlab/irl_audio/tree/master/manyears_ros
During development and integration they included the code to the HR repo
for building the dependent packages that mandeep and naty are working on.

We should NOT be copying other peoples code into HEAD! This is a time-bomb
waiting to explode. IED - improvised explosive device, I think they call
them in the middle east. If we need to make changes to that code, we
could/should create a clone, e.g. to
https://github.com/hansonrobotics/irl_audio Under no circumstances is it
ever correct to copy other people's code into HEAD !!

  1. The ros_nmpt code is also really the code

https://github.com/geni-lab/ros_nmpt_saliency

(which coincidentally mandeep is also the contributor) incoporated in the
HR repo during setting up the HEAD repo.

Same remarks as above -- this is a basic operating error.

  1. The icog-tracker is also particulary quick way in order to incoporate
    the opentld as library in the tracker in a quick way by another person that
    worked on it a while back. ( The opentld is a previous work of the guys
    who wrote the CppMT). Also the original library code is located at:

https://github.com/gnebehay/OpenTLD/

I didn't do any of this aforementioned jobs and was explaining the state
how things where done by various other parties.

Same remarks as 1,2 -- the problem is exactly the "other parties" problem
-- one looses all ability to track the master branches, merge outstanding
pull requests, view the change history, create issues/bug reports in git to
report problems ... everything that makes git and github useful and
interesting and important is completely lost, completely erased, the minute
you copy other peoples repos!

Since I'm already being bombastic, I may as well add -- the reason that
git was invented was to solve the repository management problems that arise
when working with multiple authors. Copying code like this is working in
exactly the opposite direction of the basic idea of git and of source-code
control in general!

--linas

On Friday, July 29, 2016 7:12 PM, Linas Vepštas [email protected]
wrote:

what does "any person in HR have actually modified or touched those
particular codes" mean? Someone wrote that code -- who? You? Someone else?
Whoever wrote that code should also make sure that it builds cleanly ...—
You are receiving this because you were assigned.

from head.

wenwei-dev avatar wenwei-dev commented on May 20, 2024

Obsolete. Closing.

from head.

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.