We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dccdac0 commit 93eea2eCopy full SHA for 93eea2e
motionplan/plan.go
@@ -373,7 +373,7 @@ func (p *PlanState) Configuration() referenceframe.FrameSystemInputs {
373
374
// ComputePoses returns the poses of a PlanState if they are populated, or computes them using the given FrameSystem if not.
375
func (p *PlanState) ComputePoses(fs referenceframe.FrameSystem) (referenceframe.FrameSystemPoses, error) {
376
- if p.poses != nil {
+ if len(p.poses) > 0 {
377
return p.poses, nil
378
}
379
0 commit comments