If dimWeight and activeJoints/unactiveJoints are specified at the same time in the task configuration in the YAML file, dimWeight is ignored.
I confirmed this with the following MomentumTask, but I think it is also true for other tasks that inherit from TrajectoryTaskGeneric.
If
dimWeight
andactiveJoints/unactiveJoints
are specified at the same time in the task configuration in the YAML file,dimWeight
is ignored. I confirmed this with the followingMomentumTask
, but I think it is also true for other tasks that inherit fromTrajectoryTaskGeneric
.I think this is because
dimWeight
is not taken over in the following line when setting active joints. https://github.com/jrl-umi3218/mc_rtc/blob/ea030def79f099f9b179e6eea0feef9cc569677a/include/mc_tasks/TrajectoryTaskGeneric.hpp#L216-L219