ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
maybe add some explicit file location to save to ? Key question is what are you saving it for ?
I like to write numpy to .csv for easy visualisation / analysis e.g. for numpy array "data":
with open("/home/mine/logs/log.csv", mode="a") as linefile:
data.tofile(linefile, sep=',')
linefile.write('\n')