Closed hmatsushita closed 8 years ago
次の軌道データ (trajectory_msgs/JointTrajectoryPoint[]) の実行時間 (実行契機) の計算の際、timestamp + 次のインデックスの duration となるべき所が、timestamp + 現在のインデックスの duration となっています。
こちらも正解はどうあるべきかというドキュメントはどこかにありますでしょうか?
少々お時間をください。
https://github.com/fkanehiro/choreonoid_ros_pkg/blob/master/choreonoid_plugins/src/BodyRosJointControllerItem.cpp#L185-L188 が問題の箇所となります。
9ae6cba で修正を確認しました。
次の軌道データ (trajectory_msgs/JointTrajectoryPoint[]) の実行時間 (実行契機) の計算の際、timestamp + 次のインデックスの duration となるべき所が、timestamp + 現在のインデックスの duration となっています。