-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pepper stores compressed image on mongo #1714
Comments
i think for mongo, it is better to store data periodically, like smach execution because mongo is slow and heavy. honestly, the mongo server will be slow and heavy soon, and i dont want to maintain the musca mongo server so often. cc. @tkmtnt7000 |
Oh, I didn't know that. Please explain how to backup mongo data, I am happy to maintain that. Beacause this is an essense of our furutre research direction and also I'd like to show how to utilize stored data in next demonstaration (assiged: @tkmtnt7000, @mqcmd196 )
periodically? on an as-needed basis ??
I'd like to build memory of robot when @tkmtnt7000 and @a-ichikura talking each other and show some object based on their conversation in front of the robot. May be we can store good image sequence if we build smach which the state changes in very fast loop, but keep images other than smach state also make sense, I think.
I agree, thus why I am waiting for jsk-ros-pkg/jsk_3rdparty#372 and #1574. But I understand that moving to new system is not as easy as we thought in the beginning, and I always beleive "worse is always better than worst". I think one reason of heavy db is we store all data in to one collection, if this is true, one idea is to separate collection based on episode. |
We have QNAP (called $ sudo crontab -l
0 5 * * SUN /bin/bash /home/furushchev/Development/jsk_database/jsk_database_scripts/mongodb/backup_to_qnap.sh >> /var/log/backup_to_qnap.log
0 4 * * SUN /sbin/shutdown -r now And when the hard disk of
as-needed basis, I mean.
Hmmm, I want to store the image data in directory and save the path...
OK, I will implement smach logger soon.
thats true. |
For compressed depth, I made the big issue for the compressed depth is that the png compression is too slow, and the image_transport runs in serial, |
I discussed with @tkmtnt7000 , and we first try to store the @tkmtnt7000 is now making |
We need to change
We also implement
cc. @tkmtnt7000 |
@knorth55 @tkmtnt7000 I try to add lifelog setting to spot robot (#1701 (comment)) and what do we need to add/imprement topics to be sotred. Just to use
|
yes you only need to add several nodes like that! |
speech_logger: -> done??
c.f. #1701 |
#1701 is logger for what robot speaks. jsk_robot/jsk_fetch_robot/jsk_fetch_startup/launch/fetch_bringup.launch Lines 143 to 181 in ebf43f0
|
I have found that it is difficult to extract compressed image data from collection:
Probably we should use |
@k-okada
pepper stores compressed image on mongodb in musca, which will cause slow query soon.
This was the reason why I gave up using mongo at the past.
If you want to enable compressed image for all robot, we need a better computer with better storage.
Also, we need to run Mongo backup more frequently, which i have done manually.
what is your plan?
The text was updated successfully, but these errors were encountered: