Comments (5)
There is now a script for patching Ruckig for C++11.
from ruckig.
Ruckig makes use of several C++17 features, but I don't think that there would be some hidden errors. If it compiles in C++11, it should be fine! Please note that I really recommend a compiler supporting C++17, so perhaps it's easier to update the compiler before downgrading Ruckig?
Following steps come to my mind:
- As you've written, replace
std::optional
with some polyfill implementation. - Some
auto
parameters would indeed be replaced manually. - Ruckig uses
if constexpr
, which would probably the hardest to replace it in C++11. As a start, you could just drop theconstexpr
, resulting in a (very slightly) higher runtime duration. I don't know the exact support ofconstexpr
in C++11, so maybe it needs to be dropped for static variables as well. - There are some C++17 structured bindings in the codebase.
Feel free to complement this list if I forgot something.
from ruckig.
Thank you for your quick feedback @pantor .
Those are the only two problems I've had for the time being,and if constexpr
just results in some warnnings in C++11 but not error. Maybe I'll deal with those warnings later, but for now it doesn't affect the program very much.
from ruckig.
Just one remark: if constexpr
is a C++17 feature. However, as with all modern C++ features, its support depends on the exact compiler version.
from ruckig.
Thx a lot:)
from ruckig.
Related Issues (20)
- The problem encountered when using a class template with Ruckig. HOT 4
- Soft Terminal constrains? HOT 5
- Tutorial plot failure HOT 3
- Strange behaviour on target conditions HOT 1
- Retracement of position HOT 1
- ruckig pypi package for macos mislabeled as universal2 HOT 1
- How to integrate with an existing ros package? HOT 7
- Errors in solving cubic equation of one variable
- Pip install Ruckig fails on Windows 32bit, Py3.6 HOT 5
- ruckig on 32bit python >=3.6 HOT 2
- filter_intermediate_positions documentation missing/lacking HOT 2
- Is there a way to make ruckig GPU acceleration friendly? HOT 2
- Velocity constraint violated and no error thrown HOT 2
- Out of bound access when compiling tests HOT 2
- Integrating Ruckig with ROS2 HOT 1
- Runtime Error on aarch64 System HOT 4
- Acceleration Constrained motion vs jerk constrained motion HOT 2
- Result::ErrorExecutionTimeCalculation -by hualei HOT 4
- Velocity/acceleration/jerk constraints for entire motion (not per DOF) HOT 1
- Ruckig pro HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruckig.