-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LaunchManipulation] --homePoss is not working #175
Comments
With 08f6a41:
|
With 72d4c8e:
|
My fault, but PolyDriver's docs and implementation are a bit weird wrt.
Looks like |
From PolyDriver.cpp: Value PolyDriver::getValue(const char *option) {
if (system_resource==nullptr) {
return Value::getNullValue();
}
return HELPER(system_resource).getValue(option);
} The bool PolyDriver::open(yarp::os::Searchable& config) {
if (isValid()) {
// already open - should close first
return false;
}
if (system_resource==nullptr) {
system_resource = new YarpDevMonitor;
}
yAssert(system_resource!=nullptr);
bool removeMonitorAfterwards = false;
if (config.getMonitor()==nullptr) {
config.setMonitor(&HELPER(system_resource));
removeMonitorAfterwards = true;
}
//dd = Drivers::factory().open(config);
coreOpen(config);
HELPER(system_resource).info.fromString(config.toString());
if (removeMonitorAfterwards) {
config.setMonitor(nullptr);
}
return isValid();
} The monitor linked to As pointed out by @rsantos88, this happens since 3fcf1b5 (roboticslab-uc3m/questions-and-answers#49). |
Partially reverted in 6467003, should be fine now. I'll be looking for some means to make this work again... |
Thanks @PeterBowman. Yes, it works now. |
The high-priority bug is solved, but the rationale behind the now-reverted commit affects more repos. Let's get back to roboticslab-uc3m/questions-and-answers#49 and track it properly at that place. |
Locally split back into #207. |
Since this commit (3fcf1b5),
--homePoss
is not working.The robot doesn't move to the home position and the shell shows this:
but no movement...
Doing
git checkout 72d4c8e5b615fc14d7ab4a087e54d70b6c052d1d
(reference: 72d4c8e) it works again without any problems.@PeterBowman could you fix it?
Thanks!
The text was updated successfully, but these errors were encountered: