Skip to content

fix: fig6_26 and fig6_27 pass lidar=True to PoseGraph, not laser= - #56

Open
petercorke wants to merge 1 commit into
mainfrom
fix/fig6-26-27-lidar-argument
Open

petercorke wants to merge 1 commit into
mainfrom
fix/fig6-26-27-lidar-argument

Conversation

@petercorke

Copy link
Copy Markdown
Owner

Summary

fig6_26.py and fig6_27.py called PoseGraph('data/killian.g2o.zip', laser=True). The argument is lidar (it is in the released RTB 1.4.4 signature, PoseGraph(filename, lidar=False, verbose=False)), so both scripts raised TypeError and could not run. The chapter 6 notebook already uses lidar=True.

Two lines changed; no other behaviour. Works with the released RTB, so this can merge now.

Test plan

  • PoseGraph.__init__ signature of the released RTB 1.4.4 wheel checked: lidar=False
  • Regenerate Fig 6.26 and 6.27

🤖 Generated with Claude Code

PoseGraph's argument has been called lidar since RTB 1.4.0; laser= raised
TypeError so these two figure scripts could not run.  The chapter 6 notebook
already uses lidar=True.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant