Go to the documentation of this file.
38 #include <gtest/gtest.h>
70 urdf::JointConstSharedPtr jnt_cont1 = robot.getJoint(
"continuous1");
71 urdf::JointConstSharedPtr jnt_cont2 = robot.getJoint(
"continuous2");
72 urdf::JointConstSharedPtr jnt_rev = robot.getJoint(
"revolute");
78 ASSERT_TRUE(jnt_cont1 != NULL);
79 ASSERT_TRUE(jnt_cont2 != NULL);
80 ASSERT_TRUE(jnt_rev != NULL);
226 int main(
int argc,
char** argv)
228 testing::InitGoogleTest(&argc, argv);
229 ros::init(argc, argv,
"test_joint_calibration_simulator");
232 return RUN_ALL_TESTS();
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
double position_
The joint position in radians or meters (read-only variable)
boost::shared_ptr< const urdf::Joint > joint_
A pointer to the corresponding urdf::Joint from the urdf::Model.
bool calibration_falling_edge_valid_
URDF_EXPORT bool initFile(const std::string &filename)
int main(int argc, char **argv)
void simulateJointCalibration(pr2_mechanism_model::JointState *, pr2_hardware_interface::Actuator *)
bool calibration_rising_edge_valid_
bool calibration_reading_
double last_calibration_rising_edge_
double last_calibration_falling_edge_
pr2_mechanism_model
Author(s): Eric Berger berger@willowgarage.com, Stuart Glaser, Wim Meeussen
autogenerated on Mon Mar 6 2023 03:49:17