TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
joint_dynamics.h
Go to the documentation of this file.
1#ifndef TINYURDF_JOINTDYNAMICS_H
2#define TINYURDF_JOINTDYNAMICS_H
3
4// Copyright 2025 Wissem CHIHA
5
6#include "property_base.h"
7#include <string>
8#include <ostream>
9
11public:
13 bool isA(const char* name) override;
14 void print(std::ostream& os) override;
15 void clear() override;
16 void setDamping(double d);
17 void setFriction(double f);
18 void setInertia(double i);
19private:
20 double damping, friction, inertia;
21};
22#endif // TINYURDF_JOINTDYNAMICS_H
Definition joint_dynamics.h:10
void clear() override
Definition joint_dynamics.cc:18
bool isA(const char *name) override
Definition joint_dynamics.cc:6
JointDynamics()
Definition joint_dynamics.cc:3
void setInertia(double i)
Definition joint_dynamics.cc:36
void setDamping(double d)
Definition joint_dynamics.cc:24
void setFriction(double f)
Definition joint_dynamics.cc:30
void print(std::ostream &os) override
Definition joint_dynamics.cc:10
Definition property_base.h:9