TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
joint_mimic.h
Go to the documentation of this file.
1#ifndef TINYURDF_JOINTMIMIC_H
2#define TINYURDF_JOINTMIMIC_H
3
4// Copyright 2025 Wissem CHIHA
5
6#include "property_base.h"
7#include <string>
8#include <ostream>
9
10class JointMimic : public PropertyBase {
11public:
12 JointMimic();
13 bool isA(const char* name) override;
14 void print(std::ostream& os) override;
15 void clear() override;
16 void setOffset(double o);
17 void setMultiplier(double m);
18 void setName(std::string& n_);
19private:
20 double offset, multiplier;
21 std::string name;
22};
23#endif // TINYURDF_JOINTMIMIC_H
Definition joint_mimic.h:10
void setMultiplier(double m)
Definition joint_mimic.cc:28
void setOffset(double o)
Definition joint_mimic.cc:24
void print(std::ostream &os) override
Definition joint_mimic.cc:10
JointMimic()
Definition joint_mimic.cc:3
void clear() override
Definition joint_mimic.cc:18
void setName(std::string &n_)
Definition joint_mimic.cc:34
bool isA(const char *name) override
Definition joint_mimic.cc:6
Definition property_base.h:9