I have figured out the solution for the problem. I was using the driver folder directly to run the package. Instead if you are going to use the driver on this link http://wiki.ros.org/xsens_mti_driver , follow exactly every step through.
Especially, execute this mtsdk_linux-x##_####.#.sh file as stated, and then follow the 5th step. Otherwise, you may get ...
I found a solution which works yet is not perfect. When the argument value in the launch file is formatted as:
argument.default_value = "['(1, 0, 0)', '(0, 1, 0)', '(0, 0, 1)']"
the argument is passed to the node as:
>>> '(1, 0, 0)'
>>> (1, 0, 0)
If anyone knows a way to skip eval(..) ...
Install ROS properly again using (Just execute this command, don't worry nothing will be installed twice)
sudo apt-get update
sudo apt-get install ros-melodic-desktop-full
also source your ROS packages using (there seems to be a typo in what you've typed above)
You can add this line to your .bashrc file so your ROS ...