Skip to main content

gtbook

The book can be found at https://www.roboticsbook.org and has the following chapters:

The structure of gtbook mirrors this organization, and then has a few more support modules for displaying graphs inside notebooks and for running the code in the book. The gtbook modules are listed above alongside the chapter.

How to use

In the book chapters, we should have a cell that fetches the latest version using pip:

%pip install -q -U gtbook

The above automatically installs other libraries on colab, e.g., gtsam and plotly.

You also needs a cell that imports what you need in a particular section, for example:

from gtbook.display import show
from gtbook.discrete import Variables

Further usage examples of these and more functions are given in the module documentation itself.

There are also some command line tools defined in the cli module.

Notes for development

Mostly for Frank as he adds to the library.

  • Use the root environment.yml for development and CI: conda env create -f environment.yml, then conda activate nbdev2.
  • Run pip install -e '.[dev]' to install gtbook and the nbdev tools. Package and development dependencies are maintained in settings.ini. CI uses the same setup.
  • to preview the docs do nbdev_preview
  • to push a new version, use nbdev_prepare and then push.

If VS code gives trouble:

export CONDA_PREFIX=/Users/dellaert/miniforge3/envs/nbdev2
conda activate nbdev2

To release a new version:

  • nbdev_bump_version
  • nbdev_pypi

Metadata

Release files for gtbook 0.0.41

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gtbook 0.0.41
File Size Uploaded
gtbook-0.0.41.tar.gz 34.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gtbook 0.0.41
File Interpreter ABI Platform
gtbook-0.0.41-py3-none-any.whl Python 3 none any Details

Total release size: 69.3 kB

Release files / gtbook-0.0.41.tar.gz

Download URL gtbook-0.0.41.tar.gz
Size 34.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c165f199046b7c20fb63fdcf69f5815cf4c7610c0187d41a2b79e8bd23a34c03
BLAKE2b-256 checksum
How to use checksums
379ed7c108f1ffb7fe18b2d7f10eac21f28b4b5884856f685fe68496e542c0d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Release files / gtbook-0.0.41-py3-none-any.whl

Download URL gtbook-0.0.41-py3-none-any.whl
Size 35.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
167095201707bc4b1c63dfe4adc573158b8eb70d36eccf51ce4efa93a293cb03
BLAKE2b-256 checksum
How to use checksums
0b52ca263b589201712bda45cf5b06c465d51ef2264c87d7924084084c39628f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.0.41 This release

2 release files

0.0.38

2 release files

0.0.37

2 release files

0.0.36

2 release files

0.0.35

2 release files

0.0.32

2 release files

0.0.31

2 release files

0.0.30

2 release files

0.0.29

2 release files

0.0.28

2 release files

0.0.27

2 release files

0.0.26

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page