Skip to content

Commit 3fc7836

Browse files
committed
Test dumpRosbag in test.
1 parent 5c522d1 commit 3fc7836

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/src/TestBvhConverter.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ TEST(TestBvhConverter, Test1)
2121
// Dump URDF file
2222
std::string urdf_str = bvh_converter.convertToUrdf("TestBvhConverter");
2323
EXPECT_TRUE(urdf_str.size() > 0);
24+
25+
// Dump rosbag file
26+
ros::Time::init();
27+
bvh_converter.joint_traj_data_.dumpRosbag("/tmp/TestBvhConverter.bag");
2428
}
2529

2630
int main(int argc, char ** argv)

0 commit comments

Comments
 (0)