TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
joint_safety.h
Go to the documentation of this file.
1#ifndef TINYURDF_JOINTSAFETY_H
2#define TINYURDF_JOINTSAFETY_H
3
4// Copyright 2025 Wissem CHIHA
5
6#include "property_base.h"
7#include <ostream>
8#include <string>
9
11public:
13 bool isA(const char* name) override;
14 void print(std::ostream& os) override;
15 void clear() override;
16 void setSoftUpperLimit(double value);
17 void setSoftLowerLimit(double value);
18 void setKPosition(double value);
19 void setKVelocity(double value);
20private:
21 double soft_upper_limit, soft_lower_limit;
22 double k_position, k_velocity;
23};
24#endif // TINYURDF_JOINTSAFETY_H
Definition joint_safety.h:10
void setKPosition(double value)
Definition joint_safety.cc:32
void setSoftUpperLimit(double value)
Definition joint_safety.cc:28
JointSafety()
Definition joint_safety.cc:3
void setKVelocity(double value)
Definition joint_safety.cc:34
void setSoftLowerLimit(double value)
Definition joint_safety.cc:30
bool isA(const char *name) override
Definition joint_safety.cc:9
void print(std::ostream &os) override
Definition joint_safety.cc:13
void clear() override
Definition joint_safety.cc:21
Definition property_base.h:9