bringBackm / ROS-Audio

ROS driver for IFlyTek 6MIC-ARRAY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ROS driver for IFlyTek 6MIC-ARRAY

Project Environment

  • Software: Ubuntu 16.04 LTS, ROS Kinetic
  • Hardware: IFlyTek XFM-EVB-01, XFM10621, 6MIC-ARRAY

Publisher

1. Microphone Mode

  • name: mode_info_pub

  • topic: microphone_mode_info

  • type: std_msg::Int8

  • description: publish the microphone mode

  • data range: {-2, 0, 1, 2}

  • Data | Description

     0        |    eMicPhone_Closed
     1        |    eMicPhone_Activate
     2        |    eMicPhone_Communicate
     -2       |    eMicPhone_Communicate_Quit
    

2. Wake-up Angle

  • name: angle_pub

  • topic: wake_up_angle

  • type: std_msg::Int8

  • description: publish the wake-up angle

  • data rangle: 0~360


3. Communicate Mode

  • name: communicate_pub

  • topic: communicate

  • type: std_msg::Bool

  • description: publish the command to start Python node to record audio

  • data rangle: {False, True}

  • Data | Description

     False        |    stop record
     True         |    start record
    

4. Audio Data

  • name: wav_pub

  • topic: wav_data

  • type: std_msg::String

  • description: publish the raw audio data in wav format

  • data rangle: Unknown


Subscriber

1. Microphone Command

  • name: microphone_cmd_sub

  • topic: microphone_mode_cmd

  • type: std_msg::Int8

  • description: receive commands from user to change the microphone mode

  • data rangle: {-2, 0, 2}

  • Data | Description

     -2        |    stop communication
     2         |    start communication
     0         |    reset(will not receive audio data until activated or user commands to communicate)
    

2. Communicate Mode

  • name: communicate_sub

  • topic: communicate

  • type: std_msg::Bool

  • description: subscribe the command to start Python node to record audio

  • data rangle: {False, True}

  • Data | Description

     False        |    stop record
     True         |    start record
    

About

ROS driver for IFlyTek 6MIC-ARRAY

License:Apache License 2.0


Languages

Language:C 73.7%Language:C++ 17.4%Language:CMake 6.9%Language:Python 1.9%Language:Shell 0.1%