I have a script that uses np.loadtext to populate a numpy array. This process is only done on init and basically acts like a look up table from there on.
I want to implement this in Ros Kinetic. I have created a ROS node that performs the task and now I am wondering what is the best way to populate this array on init? Is there an analog to np.loadtext I can use? Do I need to convert it to something like a roslaunch xml or rosbag. I'm relatively new to ROS so not so familiar with parameter server etc.
I'd like to be able to change the files every now and then for different test scenarios and have the values picked up on init and the file is fairly large ~7Mb.
Thanks in advance.