Closed adambinch closed 4 years ago
@Jailander @marc-hanheide This needs a fix (execute_policy has this parameter setting in rasberry).
This parameter is not set in navigate.py
for each edge, but is set in execute_policy_server.py
.
I am not sure whether there is any reason for this.
We could either not set max_vel_trans
or split into master
(for melodic
) and kinetic-devel
branches.
Can't we just ensure both are set to avoid having to maintain different releases?
It will throw an error as the parameter max_trans_vel
does not exist and configured for reconfig.
File "/opt/ros/melodic/lib/python2.7/dist-packages/dynamic_reconfigure/client.py", line 185, in update
_configuration
raise DynamicReconfigureParameterException('don\'t know parameter: %s' % name)
DynamicReconfigureParameterException: don't know parameter: max_trans_vel
Nothing a try...except
block can't handle. I'd still make it so that it's backwards compatible and can be done in one single branch.
I made a PR with a temp fix. Ideally we shouldn't hardcode the parameters as we are doing now, to make it compatible with different local planners. @adambinch may agree with this, as he had trouble to get teb_local_planner
working.
I made a PR with a temp fix. Ideally we shouldn't hardcode the parameters as we are doing now, to make it compatible with different local planners. @adambinch may agree with this, as he had trouble to get
teb_local_planner
working.
Very true!
The kinetic version appears in the dwa params that can be reconfigured by toponav.