Comments (7)
@orensbruli
I have debugged the issue for a while and I think the problem is that startup_check_flag
is not initialized.
Nothing changes startup_check_flag
but class initialization, so when I print the value of startup_check_flag
in the class constructor, I found that it's set to a random integer, which means true
:
public:
idserver (QString prfx) { prefix = prfx.toStdString(); std::cout << startup_check_flag << std::endl; }
An uninitialized boolean is supposed to be set to false
though, which happens in Ubuntu 18.04, but not in Ubuntu 20.04.
So, I initialized startup_check_flag
to false
:
private:
void initialize();
std::string prefix;
TuplePrx tprx;
bool startup_check_flag = false;
from dsr-graph.
Yes, it works fine with all Ubuntu versions.
I will create a PR to change it in the components.
Also, I think it should be fixed in the code generator as well.
from dsr-graph.
I updated and tested the components in this PR : #12
from dsr-graph.
Thank you @DarkGeekMS
Could you make some debug for us? This flag should be set to false in initialization and to true only if --startup-check
option is given.
You can see this in the main.cpp file of the components. You can look for this // Search in argument list for --test argument (if exist)
to find where it's set to true and bool startup_check_flag = false;
to find where it's created and set. Could you make some debug of this in your Ubuntu 20.04?
from dsr-graph.
Sure thing, I'm working on it.
from dsr-graph.
Great! And with this change, the component starts as expected, right?
As far as these changes looks good for all the ubuntu versions I think you can make a Pull Request of this.
from dsr-graph.
@DarkGeekMS I'm fixing this in robocompdsl, thx.
from dsr-graph.
Related Issues (15)
- viriatoDSR doesn't inject depth into shared graph HOT 1
- libfclib-dev isn't available in ppa in Ubuntu 18.04 bionic HOT 11
- viriato-pyrep doesn't stop with keyboard interrupt HOT 1
- This Repository doen't have a contributing file HOT 3
- File TriangleFunctor for 20.04 version is missing in repository HOT 1
- any suggestions on how i can integrate this section of the project with a set of python files used for depth-estimation?
- Error using dsr_api::get_depth_image() HOT 1
- Problems with yolov4-tracker tutorial
- Problems with DSR tutorial
- Problems with graph_editor
- Problems with graph_editor 2
- fatal error: yolo_v2_class.hpp: No such file or directory HOT 25
- Error using dsr_api::insert_node() HOT 4
- Error while compiling idserver_nogui HOT 2
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 dsr-graph.