I'm trying to publish data from the topic /mavros/global_position/compass_hdg which is a Float64 type message (std_msgs/Float64) but none of the Float64 type topics are publishing data on my Nvidia Jetson TX1.
So I figured, since Float32 types work well, I want to convert the ROS node's data type itself from Float64 to Float32. I tried modifying the C++ code and recompiling using catkin_make but had no luck.
Is there a way to change the ros node's type. And if so, do I have to re-build from source to apply the changes?