This is an old revision of the document!


Daily Activity Dataset recording

with Ensta

Sensors :

  • Kinect 360 v2
  • Optris IR camera
  • Flir IR Camera
  • xsens
  • FishEye camera
  • smarthome sensors
    • sensefloor to detect localisation wrt each room
    • motion sensors for each room
    • opening/closing cupboards
    • lights
    • power consumption of stove, oven, boiler, plugs, tv
    • pressure sensor for bed, sofa

Recorded on the drive 10To La Cie/dataset. The folders are organised as : s1/experiment2 for the subjectNumber and recording number In each folder are files :

Documents describing the dataset

Recording procedure

describe how we launch the scripts, which programs to open

Set up the hardware

Computers :

  • A linux computer with USB 3 (for the Optris IR camera) with
  • a Windows computer with USB 3 (for the Kinect v2 360) with
    • Microsoft Kinect Studio
    • MVN Studio Biomech
  • a macos computer to record the videos via the network (ffmpeg)

Pluging of the sensors :

  • Plug the Optris IR Camera with USB 3 on computer1 with ROS.
  • The Flir IR Camera is connected to the smart home system and can be streamed via the network with RJ45. For instance, ffmpeg can record the stream into a file with the command ffmpeg -i rtsp:/ /xaal-c.enstb.org:8554/flir1 filename210701.mp4.
  • The Kinect v2 360 is connected via USB 3 to the ZED computer with windows and Microsoft Kinect Studio installed.
  • The FishEye camera is connected via wifi and can be streamed via the network.
  • The power, pressure, door, motion detectors are connected via xaal
  • The x-sens hub is connected via usb to the ZED computer with windows with MVN Studio Biomech installed

Launch the programs

  1. Move the previous recordings to the right folder
    1. Move xsens recording .mvn file from folder Desktop/Xsens/ to the folder dataset/subject_tmp
    2. Move the folder dataset/subject_tmp to /dataset/sN so that the data does not get erased
  2. Create folder dataset/subject_tmp
  3. Push on button Start
  4. To end, push on button Stop

Post-processing procedure

Kinect data

X-sens data

IR camera data

xaal data

Troubleshooting

  • ffmeg on windows computer ZED does not work well
  • Les ordinateurs doivent être au maximum connecté en Ethernet
  • Activer l'environnement python xaal, ouvrir dans powershell et exécuter : .\xaal_env/Scripts/activate
  • Exécuter ces 2 commandes dans 2 fenêtres de terminal différentes :
    • roscore
    • roslaunch optais_drivers optais_drivers.launch
  • Lancer les scripts :
    • python xaal_btn_base.py
    • python xaal_activity_fish_eye.py : vérifier que le path du script correspond à l'ordinateur utiliser
    • python xaal_activity_IR_cams.py
    • python xaal_activity_kinect_xsens.py
  • Porter les capteurs Xsens avec du sparadra pour pas que ça bouge pendant les scénarios
  • Faire le calibrage dans l'angle de l'entrée du LivingLab pour la position absolu pour Xsens.
  • Ne pas commencer à enregistrer (appui sur bouton start), si tous les capteurs ne sont pas dans l'état souhaité. Exemple : capteur de mouvement D-Room - attendre 180 secondes pour qu'il revient à l'état False)
  • Dire à haute voix ce que l'on va faire avant de le faire et attendre un retour par ses collègues que l'appui sur le bouton d'activité est fait
  • Faire attention aux dalles mortes (cuisine/salle de bain : trop proche de la fenêtre ou trop proche des meubles/frigo)
  • Dans le fauteuil et dans le lit : bien s'asseoir et vérifier sur l'écran Graffana que le capteur de pression est bien activé
  • Ne pas allumer les plaques en même temps que le four, car cela fait sauter les plombs
  • Fermer Kinect Studio
  • Renommer subject_tmp par le nom de dossier experiment souhaité et déplacer le dossier dans le dossier du sujet
  • Déplacer le fichier mvn (C:Users/zed/Desktop/Xsens) dans le dossier du sujet (E:dataset/) : s1, s2, s3 ..
  • daily_activity_dataset_imta_ensta.1625815577.txt.gz
  • Last modified: 2021/07/09 07:26
  • by jgrosset