-
Notifications
You must be signed in to change notification settings - Fork 23
Gesture based HRP control
- HRP-enabled mower;
- Android smartwatch;
- Android phone;
- Laptop with Ubuntu distribution.
-
Follow the IMU Stream guide to properly install wearable and mobile apps;
-
Clone in the src folder of your catkin workspace the MQTT ROS Bridge, Gesture based controller and AM Drivers repositories;
-
Build your catkin workspace
catkin_make
-
Install the Mosquitto broker has described in the MQTT ROS Bridge repository;
-
Connect the target computer to the HRP-enabled mower with a USB cable;
-
Activate the USB port communication with the command;
sudo chmod 666 /dev/ttyACM0
-
Disable the loop wire check;
-
Rune the roscore;
roscore
-
Run the am_driver;
rosrun am_driver am_driver_node
-
Run the hrp_gb_controller;
roslaunch gesture_based_controller hrp_gb_controller.launch
-
Connect Smartphone and Laptop to the same WiFi network;
-
Check the Mosquitto broker status;
sudo service mosquitto status
-
If the Mosquitto is not running, start it;
mosquitto
-
Start the imu_bridge;
roslaunch mqtt_ros_bridge imu_bridge.launch
-
Start IMU Stream app on the smartwatch and press start, IMU data stream will appear on the monitor;
-
Start IMU Stream app on the smartphone and press MQTT comunication;
-
Insert the IP of your laptop, leave default port 1883 and empty the user/password fields;
-
As soon as you press the Start button the communication between the smartphone and the computer is established and the gesture-based controller starts working.
- Alessandro Carfì, dept. DIBRIS Università degli Studi di Genova (Italy), alessandro.carfi@dibris.unige.it
- Barbara Bruno, dept. DIBRIS Università degli Studi di Genova (Italy), barbara.bruno@unige.it