I am using bran V2 and planning to collect image(plus depth), point cloud, and so on. I would like to record data and store it into external storage connected to the brain since I expect the volume will be large.
I worked on this example of recorder, and it seems that the data is automatically recorded into mnt/data. I would like to change the output path to the external storage connected to the amiga. Where can I make the change in the code? I have not been able to find it yet in the repo.
Obviously, someone tried and did it in this post, but how they did it was not mentioned, so I wonder if I could get some help.
Regarding the other post, we ended up leaving the HDD mounting as-is and just ran all of our apps as sudo.
When you plug in a HDD it will automatically mount at /media/adminfarmng/hdd_name. So you can edit your script to write there, as long as it has permissions.
One thing to be careful of, is if the HDD isn’t plugged in, you can probably still write to that path but it will be on the internal disk and wiped at reboot. We added a check to make sure that path is linked to a physical device (eg. /sda1 etc), so we weren’t accidentally writing to the internal disk.
I can’t speak for where the write occurs in the recorder example as we were using a standalone custom app.
That would be my advice as well… We currently do no support writing from the recorder directly to an external data because we can’t guarantee that volume is there.
What we do here is to use a workflow to download data over wired connection at the end of every data collection filed day… how large do you expect your files to be?
I would expect easily over 100gb per collection. I plan to use 4 cameras and take rgb, depth, imu at least (I would like to get point cloud too) and plan to get rtk gps data.
When you say custom application, you meant just creating a service subscribing to topics of interest and save data in where I want?