Skip to main content

Info

node : voice

description

  1. 명령 수신 : 낙상 의심, CO농도, 배터리, 터치

  2. 상태 전송 : 감정 상태, 목 제어, 팔 제어

command

ros2 run mjbot_voice mjbot_voice.py

topic list

  • /bat, /co_ppm
  • /touch
  • /emo
  • /owner_fall
  • /bat_percent
  • /bat_time
namepub/submsg typemsg structurehzdescription
/batsubstd_msgs/msg/Stringdata = "90%, 1h 20m"1배터리 잔량, 남은 시간
/touchsubstd_msgs/msg/Booldata = 0 or 1
1 : touch
0 : no touch
event터치 상태
/co_ppmsubstd_msgs/msg/Int32data = 20 ~ 20001CO 농도(ppm)
/owner_fallsubstd_msgs/msg/Booldata = 0 or 1
1 : fall
0 : usual
낙상 의심 발생 시낙상 의심 여부
/emopubstd_msgs/msg/Stringdata = "NULL" ~ "mic_waiting"
"NULL" : NULL
"close" : close
"moving" : 당황
"wink" : 윙크
"angry" : 분노
"sad" : 슬픔
"daily" : 평소
"mic_wating" : 음성 기다림
미정감정 상태
/bat_percentstd_msgs/msg/Stringmsg.data = "0.00" ~ "100.00"0.3배터리 잔량 (%)
/bat_timestd_msgs/msg/Stringmsg.data = "0h 0m" ~ "99h 99m"0.3배터리 지속 시간