38 #include <gtest/gtest.h> 72 ASSERT_TRUE(jnt_cont1 != NULL);
73 ASSERT_TRUE(jnt_cont2 != NULL);
74 ASSERT_TRUE(jnt_rev != NULL);
220 int main(
int argc,
char** argv)
222 testing::InitGoogleTest(&argc, argv);
223 ros::init(argc, argv,
"test_joint_calibration_simulator");
226 return RUN_ALL_TESTS();
URDF_EXPORT bool initFile(const std::string &filename)
double last_calibration_rising_edge_
void simulateJointCalibration(pr2_mechanism_model::JointState *, pr2_hardware_interface::Actuator *)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
boost::shared_ptr< const urdf::Joint > joint_
A pointer to the corresponding urdf::Joint from the urdf::Model.
double position_
The joint position in radians or meters (read-only variable)
bool calibration_rising_edge_valid_
bool calibration_falling_edge_valid_
int main(int argc, char **argv)
double last_calibration_falling_edge_
bool calibration_reading_