Cant compile
What is wrong with fromMsg?
CMakeFiles/repeat.dir/src/repeat.cpp.o: In function `main':
repeat.cpp:(.text+0x461): undefined reference to `void tf2::fromMsg<geometry_msgs::TransformStamped_<std::allocator<void> >, tf2::Transform>(geometry_msgs::TransformStamped_<std::allocator<void> > const&, tf2::Transform&)'
repeat.cpp:(.text+0x489): undefined reference to `void tf2::fromMsg<geometry_msgs::TransformStamped_<std::allocator<void> >, tf2::Transform>(geometry_msgs::TransformStamped_<std::allocator<void> > const&, tf2::Transform&)'
collect2: error: ld returned 1 exit status
labpkg/CMakeFiles/repeat.dir/build.make:120: recipe for target '/home/adam/CSE180robotics/devel/lib/labpkg/repeat' failed
make[2]: *** [/home/adam/CSE180robotics/devel/lib/labpkg/repeat] Error 1
CMakeFiles/Makefile2:1607: recipe for target 'labpkg/CMakeFiles/repeat.dir/all' failed
make[1]: *** [labpkg/CMakeFiles/repeat.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
Please change the title of your question. As it is it does not follow the support guidelines as it does not give any indication of what your real issue is.