bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim_consts.h File Reference
#include "bitsim/bitsim_types.h"
#include <filesystem>
#include <numbers>
#include <string>
Include dependency graph for bitsim_consts.h:

Go to the source code of this file.

Namespaces

namespace  bitsim
namespace  bitsim::consts
namespace  bitsim::consts::maths

Functions

std::filesystem::path bitsim::consts::data_dir ()
 The directory that holds the robot, sensor and world definitions.
std::filesystem::path bitsim::consts::build_robot_file_path (const std::string filename)

Variables

const uint_t bitsim::consts::INVALID_ID = static_cast<uint_t>(-1)
 Invalid id.
const std::string bitsim::consts::INVALID_STR = std::string("INVALID")
 Invalid string.
const real_t bitsim::consts::TOLERANCE = 1.0e-8
 Tolerance used around the library.
const std::string bitsim::consts::ROBOTS_DIR = (data_dir() / "robots").string()
 Path to robots definitions.
const std::string bitsim::consts::SENSORS_DIR = (data_dir() / "sensors").string()
 Path to sensors definitions.
const real_t bitsim::consts::maths::PI = std::numbers::pi
 The PI constant.
const real_t bitsim::consts::maths::G = 9.81
 Acceleration due to gravity m/secs.