-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add walk notifier app to notify mail with place and image during walking #69
Conversation
jsk_unitree_robot/jsk_unitree_startup/launch/get_location.launch
Outdated
Show resolved
Hide resolved
rate.sleep() | ||
rospy.loginfo('[WalkMail] waiting image') | ||
|
||
def get_place(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please consider using jsk-ros-pkg#1558, because as you named your node as notifier
, so sending E-mail is not important, but to send notification is important.
Current implementation start storing smach description from START. And send email when SMACH goes to END state.
So if we want to send email periodically, we need to write smach like
flowchart TB
INIT --> START
START --> GET-LOCATION
GET-LOCATION --> END
END --> WALK
WALK --> START
END --> TERMINATE
Or, we could update jsk-ros-pkg#1558 to select send notification every state or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I created walk_notifier.l
by using smach.
https://github.com/iory/jsk_robot/blob/unitree-camera-walk-app/jsk_unitree_robot/jsk_unitree_startup/scripts/walk-notifier.l
8aaa1b2
to
83bf46b
Compare
b6813f3
to
2a25400
Compare
ぼくもこのプルリクをつかって試してみて,動くことを確認しました. |
2a25400
to
49d698d
Compare
49d698d
to
31f07e4
Compare
moved to jsk-ros-pkg#1611, jsk-ros-pkg#1612, jsk-ros-pkg#1613, jsk-ros-pkg#1614, jsk-ros-pkg#1615 .... |
What is this
Walk Notifier
Send an email with the location of the walk and a camera image of the walk.
prerequirement
The key for google map needs to be placed in
/var/lib/robot/google_map_location_key.yaml
([email protected]) with 'location_key' as the key.For JSK members, the yaml file are available at Google Drive
Also, place a yaml file with the email addresses of the sender and receiver in
/var/lib/robot/email_topic.yaml
.Using this patch, we can get notifications like as follow image during walking.
tar.gz Updated (2022-08-30)
https://drive.google.com/drive/folders/1EMpbL3MpARtYtq7C6x-fT9IC53PKwvJ0?usp=sharing