【发布时间】:2020-03-04 21:42:10
【问题描述】:
我无法理解这些代码行的某些部分:
fn_ = boost::bind(&CheckFeasibility, this, &world_, _1, _2, _3 );
if (robot_state_->setFromIK(arg1, arg2, arg3, arg4, arg5, fn_ ))
第一行中this 的用途是什么?CheckFeasibility 的参数何时以及如何确定并传递给它?
这是CheckFeasibility 函数的样子(我省略了参数的数据类型):
bool CheckFeasibility(*world, *state, *grp, *values)
谢谢
【问题讨论】:
标签: c++ boost-bind