Add param for vel scaling of the scan movement #240
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.
The new parameter uses
setMaxVelocityScalingFactor()
to set the scaling of the velocity for the movement to/between the scan points.The function is called with the parameter in the
RobotScan::init()
function. This is actually not required because of the next bullet-point. However, I left it to be consistent with the other params like e.g.move_group_ptr_->setMaxVelocityScalingFactor(params_.move_scan_vel_scaling);
I also added this function to the
RobotScan::create_scan_trajectory(...)
function. So if one changes the parameter in the gui, it is applied for the next scan process.setEndEffectorLink(params_.tcp_frame)
Parameter got added in the
RobotScanParameters.msg
I set the default value and the one in
robot_scan.yaml(s)
to1
, which applies no scalingAdded the parameter to the gui(s)
Had to increase the hight of the gui(s) to make space for the new field