FancySafeBot 0.0.1
A safe robotics library
Loading...
Searching...
No Matches
fsb_urdf_joint.h
1
2#pragma once
3
4#include "fsb_motion.h"
5#include "fsb_types.h"
6#include "fsb_urdf_error.h"
7#include "fsb_joint.h"
8
9#include <string>
10#include <tinyxml2.h>
11
12namespace fsb::urdf
13{
14
22{
24 real_t lower_position = 0.0;
25
27 real_t upper_position = 0.0;
28
30 real_t max_velocity = 0.0;
31
33 bool set = false;
34};
35
40{
42 std::string joint_name;
43
46
48 std::string parent_name;
49
51 std::string child_name;
52
55
58
60 bool reversed = false;
61};
62
82UrdfJoint urdf_parse_joint(const std::string& fname, const tinyxml2::XMLElement* joint_xml, UrdfError& err);
83
88} // namespace fsb
Urdf parsing error.
Definition fsb_urdf_error.h:76
JointType
Joint type.
Definition fsb_joint.h:28
@ FIXED
Fixed joint.
UrdfJoint urdf_parse_joint(const std::string &fname, const tinyxml2::XMLElement *joint_xml, UrdfError &err)
Parse a URDF joint element.
Definition fsb_urdf_joint.cpp:278
Coordinate transform.
Definition fsb_motion.h:22
Definition fsb_urdf_joint.h:22
real_t upper_position
Definition fsb_urdf_joint.h:27
real_t max_velocity
Definition fsb_urdf_joint.h:30
real_t lower_position
Definition fsb_urdf_joint.h:24
bool set
Definition fsb_urdf_joint.h:33
Structure representing a URDF joint.
Definition fsb_urdf_joint.h:40
JointType joint_type
Definition fsb_urdf_joint.h:45
UrdfJointLimits limits
Definition fsb_urdf_joint.h:57
bool reversed
reversed direction of the joint axis
Definition fsb_urdf_joint.h:60
std::string child_name
Definition fsb_urdf_joint.h:51
std::string parent_name
Definition fsb_urdf_joint.h:48
Transform parent_child_transform
Definition fsb_urdf_joint.h:54
std::string joint_name
Definition fsb_urdf_joint.h:42