Skip to content
Snippets Groups Projects
Commit b5a42e00 authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Added get_current_room and get_current_person_pose servcies. Removed pose and...

Added get_current_room and get_current_person_pose servcies. Removed pose and room from from feedback and result
parent 96b442d4
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,8 @@ add_service_files(
FILES
get_rooms_to_search.srv
upload_answers.srv
get_current_room.srv
get_current_person_pose.srv
# Service1.srv
# Service2.srv
)
......
......@@ -21,9 +21,10 @@ uint8 CATALAN=1
uint8 SPANISH=2
##### Tone/Sentiment code
uint8 HAPPY=0
uint8 SAD=1
uint8 NEUTRAL=2
uint8 UNKNOWN=0
uint8 HAPPY=1
uint8 SAD=2
uint8 NEUTRAL=3
##### Status code
uint8 SEARCHING=0 # Searching the person
......@@ -31,10 +32,6 @@ uint8 APPROACHING=1 #Person found. Approaching person.
uint8 ASKING=2 # Asking the questionary
uint8 RETURNING=3 # Returning home.
##### Person pose code
uint8 SIT=0
uint8 STANDING=1
uint8 LYING=2
string questionary_id #Questionary name.
string[] questions_id #Vector with the questions references to ask. If empty ask all.
......@@ -51,11 +48,6 @@ bool get_pose # Bool to get person pose
---
int32 result_code #Result code.
string result_str # Result human readable string.
int32 final_pose # person pose code
int32 sentiment # person sentiment
string room #
---
int32 status_code #Status code.
string status_str # Status human readable string.
int32 pose # person pose code
int32 sentiment # person sentiment
......@@ -10,9 +10,9 @@ uint8 CATALAN=1
uint8 SPANISH=2
##### Tone/Sentiment code
uint8 HAPPY=0
uint8 SAD=1
uint8 NEUTRAL=2
uint8 HAPPY=1
uint8 SAD=2
uint8 NEUTRAL=3
string questionary_id #Questionary name.
string[] questions_id #Vector with the questions references to ask. If empty ask all.
......
# Service to get the current person pose.
##### Person pose code
uint8 UNKNOWN=0
uint8 SIT=1
uint8 STANDING=2
uint8 LYING=3
---
int32 pose # person pose code
# Service to get current room
---
string room # Current_room
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment