robotics-erlangen / framework Goto Github PK
View Code? Open in Web Editor NEWSoftware framework of the SSL-Team ER-Force
Home Page: https://robotics-erlangen.de
License: Other
Software framework of the SSL-Team ER-Force
Home Page: https://robotics-erlangen.de
License: Other
[ 29%] Building CXX object src/amun/processor/tracking/CMakeFiles/tracking.dir/tracking_autogen/mocs_compilation.cpp.o
[ 29%] Building CXX object src/amun/processor/tracking/CMakeFiles/tracking.dir/balltracker.cpp.o
[ 30%] Building CXX object src/amun/processor/tracking/CMakeFiles/tracking.dir/ballflyfilter.cpp.o
[ 30%] Building CXX object src/amun/processor/tracking/CMakeFiles/tracking.dir/ballgroundfilter.cpp.o
[ 30%] Building CXX object src/amun/processor/tracking/CMakeFiles/tracking.dir/balldribblefilter.cpp.o
[ 30%] Building CXX object src/amun/processor/tracking/CMakeFiles/tracking.dir/filter.cpp.o
[ 30%] Building CXX object src/amun/processor/tracking/CMakeFiles/tracking.dir/quadraticleastsquaresfitter.cpp.o
/home/robofei/Repository/ER-Force_Framework/src/amun/processor/tracking/quadraticleastsquaresfitter.cpp: In member function ‘float QuadraticLeastSquaresFitter::calculateError(const QuadraticLeastSquaresFitter::QuadraticFitResult&)’:
/home/robofei/Repository/ER-Force_Framework/src/amun/processor/tracking/quadraticleastsquaresfitter.cpp:93:21: error: ‘numeric_limits’ is not a member of ‘std’
93 | return std::numeric_limits<float>::infinity();
| ^~~~~~~~~~~~~~
/home/robofei/Repository/ER-Force_Framework/src/amun/processor/tracking/quadraticleastsquaresfitter.cpp:93:36: error: expected primary-expression before ‘float’
93 | return std::numeric_limits<float>::infinity();
| ^~~~~
/home/robofei/Repository/ER-Force_Framework/src/amun/processor/tracking/quadraticleastsquaresfitter.cpp:93:36: error: expected ‘;’ before ‘float’
93 | return std::numeric_limits<float>::infinity();
| ^~~~~
| ;
/home/robofei/Repository/ER-Force_Framework/src/amun/processor/tracking/quadraticleastsquaresfitter.cpp:93:41: error: expected unqualified-id before ‘>’ token
93 | return std::numeric_limits<float>::infinity();
| ^
make[2]: *** [src/amun/processor/tracking/CMakeFiles/tracking.dir/build.make:160: src/amun/processor/tracking/CMakeFiles/tracking.dir/quadraticleastsquaresfitter.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1424: src/amun/processor/tracking/CMakeFiles/tracking.dir/all] Error 2
make: *** [Makefile:101: all] Error 2
Including the header <limits>
on the file src/amun/processor/tracking/quadraticleastsquaresfitter.cpp
seems to solve it.
https://en.cppreference.com/w/cpp/types/numeric_limits
But I still get another error
[ 90%] Automatic MOC for target trajectory-cli
[ 90%] Built target trajectory-cli_autogen
[ 91%] Building CXX object src/trajectorycli/CMakeFiles/trajectory-cli.dir/trajectory-cli_autogen/mocs_compilation.cpp.o
[ 91%] Building CXX object src/trajectorycli/CMakeFiles/trajectory-cli.dir/trajectorycli.cpp.o
[ 91%] Building CXX object src/trajectorycli/CMakeFiles/trajectory-cli.dir/standardsampleroptimizer.cpp.o
[ 91%] Building CXX object src/trajectorycli/CMakeFiles/trajectory-cli.dir/common.cpp.o
[ 91%] Building CXX object src/trajectorycli/CMakeFiles/trajectory-cli.dir/endinobstacleoptimizer.cpp.o
[ 92%] Building CXX object src/trajectorycli/CMakeFiles/trajectory-cli.dir/alphatimetrajectoryoptimizer.cpp.o
[ 92%] Linking CXX executable ../../bin/trajectory-cli
[ 92%] Built target trajectory-cli
[ 92%] Performing build step for 'project_googletest'
Consolidate compiler generated dependencies of target gtest
[ 12%] Building CXX object googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
In file included from /home/robofei/Repository/ER-Force_Framework/build/project_googletest-prefix/src/project_googletest/googletest/src/gtest-all.cc:42:
/home/robofei/Repository/ER-Force_Framework/build/project_googletest-prefix/src/project_googletest/googletest/src/gtest-death-test.cc: In function ‘bool testing::internal::StackGrowsDown()’:
/home/robofei/Repository/ER-Force_Framework/build/project_googletest-prefix/src/project_googletest/googletest/src/gtest-death-test.cc:1301:24: error: ‘dummy’ may be used uninitialized [-Werror=maybe-uninitialized]
1301 | StackLowerThanAddress(&dummy, &result);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/home/robofei/Repository/ER-Force_Framework/build/project_googletest-prefix/src/project_googletest/googletest/src/gtest-death-test.cc:1290:13: note: by argument 1 of type ‘const void*’ to ‘void testing::internal::StackLowerThanAddress(const void*, bool*)’ declared here
1290 | static void StackLowerThanAddress(const void* ptr, bool* result) {
| ^~~~~~~~~~~~~~~~~~~~~
/home/robofei/Repository/ER-Force_Framework/build/project_googletest-prefix/src/project_googletest/googletest/src/gtest-death-test.cc:1299:7: note: ‘dummy’ declared here
1299 | int dummy;
| ^~~~~
cc1plus: all warnings being treated as errors
make[5]: *** [googletest/CMakeFiles/gtest.dir/build.make:76: googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:198: googletest/CMakeFiles/gtest.dir/all] Error 2
make[3]: *** [Makefile:146: all] Error 2
make[2]: *** [CMakeFiles/project_googletest.dir/build.make:87: project_googletest-prefix/src/project_googletest-stamp/project_googletest-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:1077: CMakeFiles/project_googletest.dir/all] Error 2
make: *** [Makefile:101: all] Error 2
OS: Manjaro Linux x86_64
Kernel: 5.12.5-1-MANJARO
Qt version: 5.15.2
Hi, thanks for this framework. I appreciate the effort you've put into developing and maintaining this library.
Recently, I attempted to implement a strategy handler in TypeScript by referring to the LUA demo example provided in your repository. Unfortunately, I encountered issues while trying to clone and adapt the example to TypeScript. The code did not work as expected, and there might be some differences or missing details in the TypeScript implementation.
To help me understand and resolve the issues, I would like to ask you to provide a TypeScript demo example for a strategy handler. Having a working example in TypeScript would greatly assist me and other developers who may face similar challenges.
If possible, please include detailed comments or documentation in the example to help users better understand the implementation. I believe this addition would significantly enhance the usability of your library for TypeScript developers.
Thank you for your time and assistance. I appreciate your support in making your library more accessible and user-friendly for the TypeScript community.
Best regards,
Bruno Castro
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.