|
bitsim
Model, simulate, estimate and control robots in C++
|
The examples go through the library in order, from its basic types to robots that run on real hardware, and each section uses what the sections before it showed. They live in examples/<section>/<example>/ and are built with the library when ENABLE_EXAMPLES is ON; the executable has the name of the example. Some need optional dependencies, and the page of each example says which. See Installing bitsim for how to build bitsim.
With ENABLE_TESTS=ON, ctest -L examples runs every example that needs no hardware, no server and no window, and checks that it finishes without an error.
Where things are, and which way they face.
How the joints of an arm, or the wheels of a robot, move what they carry.
When to be where along a path.
Building a map of the obstacles from range scans, then finding a path that avoids them.
What a robot measures with, and what it moves with.
Simulating bodies and robots with Chrono. These need bitsim built with ENABLE_CHRONO=ON.
What a robot can work out about itself from its sensors.
Real boards and sensors, and the simulated robot with real parts: motors on a board, a camera on a Raspberry Pi.
Running independent work on all the cores, and passing data between threads.
Robots simulated by separate participants, threads or processes on several machines, that tell each other where their robots are; in lockstep, or keeping pace with the wall clock and with real robots.
Coupled subsystems, each with its own solver, that meet every macro step to exchange forces and motions: loosely, or tightly, repeating a step until they agree. The subsystems can be threads, or processes on several machines.
The lessons of the robotics course are examples of the sections above. In the order of the course: