-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fmilano/cpt poinlaser hilti demo remove arm logic #105
Merged
francescomilano172
merged 14 commits into
fmilano/cpt_pointlaser_hilti_demo
from
fmilano/cpt_poinlaser_hilti_demo_remove_arm_logic
Nov 6, 2020
Merged
Fmilano/cpt poinlaser hilti demo remove arm logic #105
francescomilano172
merged 14 commits into
fmilano/cpt_pointlaser_hilti_demo
from
fmilano/cpt_poinlaser_hilti_demo_remove_arm_logic
Nov 6, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It is now assumed that when the HAL routine gets triggered, the arm is already in its initial pose. The latter is separately handled by the state machine.
The movements are now handled separately by the state machine. Note: this is a temporary commit, in a future version a separate service will be implemented to be called in order to take/add measurements after each movement of the routine.
The logic to handle arm movements are now handled separately by the state machine.
- Prototype of `initializeHALRoutine()`; - Forgotten semicolon; - Forgotten local variable declaration; - Style fix.
- Add further documentation on the way the method should be used; - Adapt return value based on success of the service call that turns the laser on; - Consequently adapt the return value of `MabiLocalizer::takeMeasurement`; - Add todo check.
Minor change: remove todo check.
The flag `initialized_hal_routine_` was wrongly set to true when the service turning the laser on failed to be executed.
@hermannsblum In case you wanted to take a quick look, these are the changes that I made |
Test FAILed. |
1 similar comment
Test FAILed. |
Test FAILed. |
1 similar comment
Test FAILed. |
…nlaser_hilti_demo_remove_arm_logic
hermannsblum
reviewed
Nov 6, 2020
modules/localization/cpt_pointlaser_loc/cpt_pointlaser_loc_ros/src/mabi_localizer.cpp
Outdated
Show resolved
Hide resolved
Change style of non-package include.
This way, the modules that use `cpt_pointlaser_loc_ros` do not need to build a custom empty message type.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Removes arm-control logic from
MabiLocalizer
. Now the HAL routine advertises two services:hal_take_measurement
, that is expected to be called after the arm is moved, add takes laser measurements to be added to the factor graph, together with arm-odometry measurements;high_acc_localize
: performs the actual HAL routine, by optimizing over the factor graph. Returns the corrected robot-base pose in the world frame.