Closed furushchev closed 9 years ago
Who does save the image?
2015年8月20日木曜日、Furushchevnotifications@github.comさんは書きました:
pr2 often fails to tweet with image: https://twitter.com/pr2jsk/status/634221745029820416
Amazing! Furushchev has used PR2 for 55 minutes, I'm not tired! (image not published)
rostwitter uses /tmp to store image published, but PR2 does not share /tmp on 2 PCs (c1 and c2), because rostwitter could not find image tweeted on another pc.
may be good to store image on $HOME/.rostwitter?
— Reply to this email directly or view it on GitHub https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/14.
✉︎ from iPhone
Or scp image to host which executes tweet.py when needs?
(maybe need to change jsk_robot_start/lifelog/tweet_client.l
)
so you need to run iamge_saver at the machine runnning rostwitter
@garaemon every nodes which publishes /tweet
topic.
@k-okada ok. I'll create PR.
I don't think this is rostwitter problem, but pr2 launch file is not correct. see papper case, running rostwitter and image_save at same machine and https://github.com/jsk-ros-pkg/jsk_robot/blob/master/jsk_pepper_robot/jsk_pepper_startup/nodes/tweet.l just calls to save images
(the papper code is same as https://github.com/jsk-ros-pkg/jsk_robot/blob/master/jsk_robot_common/jsk_robot_startup/lifelog/tweet.l#L18, so we need to merge them)
How about saving image inside of rostwitter instead of using image_saver?
is there no problem if we remove the feature to read image topic from parameter /active_user/image_topic
?
and use remap instead.
(defvar *camera-topic-name* "/kinect_head_c2/rgb/image_rect_color")
(when (ros::has-param "/active_user/image_topic")
(setq *camera-topic-name* (ros::get-param "/active_user/image_topic"))
)
On Thu, Aug 20, 2015 at 4:20 PM, Furushchev notifications@github.com wrote:
the feature to read image topic from parameter /active_user/image_topic?
what it this? who is reading this topic?
◉ Kei Okada
oh, you can change tweet_client.l to use image_saver, not extract_images
◉ Kei Okada
On Thu, Aug 20, 2015 at 11:59 PM, Furushchev notifications@github.com wrote:
— Reply to this email directly or view it on GitHub https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/14#issuecomment-133041044 .
pr2 often fails to tweet with image: https://twitter.com/pr2jsk/status/634221745029820416
rostwitter
uses/tmp
to store image published, but PR2 does not share/tmp
on 2 PCs (c1 and c2), becauserostwitter
could not find image tweeted on another pc.may be good to store image on
$HOME/.rostwitter
?