Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emotion_recognition
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
socrates_ws
emotion_recognition
Commits
5e7dc81e
Commit
5e7dc81e
authored
7 years ago
by
root
Browse files
Options
Downloads
Patches
Plain Diff
Updated scripts
parent
6aee5211
No related branches found
No related tags found
1 merge request
!1
Emotion recognition
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
genEmotions.pyc
+0
-0
0 additions, 0 deletions
genEmotions.pyc
talker.py
+2
-1
2 additions, 1 deletion
talker.py
with
2 additions
and
1 deletion
genEmotions.pyc
0 → 100644
+
0
−
0
View file @
5e7dc81e
File added
This diff is collapsed.
Click to expand it.
talker.py
+
2
−
1
View file @
5e7dc81e
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
## to the 'chatter' topic
## to the 'chatter' topic
import
rospy
import
rospy
from
genEmotions
import
get_emotion
from
std_msgs.msg
import
String
from
std_msgs.msg
import
String
def
talker
():
def
talker
():
...
@@ -44,7 +45,7 @@ def talker():
...
@@ -44,7 +45,7 @@ def talker():
rospy
.
init_node
(
'
talker
'
,
anonymous
=
True
)
rospy
.
init_node
(
'
talker
'
,
anonymous
=
True
)
rate
=
rospy
.
Rate
(
10
)
# 10hz
rate
=
rospy
.
Rate
(
10
)
# 10hz
while
not
rospy
.
is_shutdown
():
while
not
rospy
.
is_shutdown
():
hello_str
=
"
hello goodbye %s
"
%
rospy
.
get_time
()
hello_str
=
get_emotion
()
rospy
.
loginfo
(
hello_str
)
rospy
.
loginfo
(
hello_str
)
pub
.
publish
(
hello_str
)
pub
.
publish
(
hello_str
)
rate
.
sleep
()
rate
.
sleep
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment