Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.
/ ROS-Workshop-2.0 Public archive

3-DOF Manipulator, interfaced with ROS & implemented with ESP32

Notifications You must be signed in to change notification settings

SRA-VJTI/ROS-Workshop-2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ROS-Workshop-2.0

Note: This repository is no longer being developed.

Official Repository for ROS-based Manipulator, implemented with ESP32

Prerequisites: ROS Kinetic, initialiased with a catkin_ws workspace; ESP-IDF v3.3

Run the following command for a quick install:

./install.sh

Steps:

  1. Flash the code 'Server_with_Servo_Control' onto your ESP32; wait till it connects to the server
cd ~/esp/esp-idf/codes/Server_with_Servo_Control
make -j8 flash monitor
  1. Start the ROS Core service i.e. the ROS Master by the roscore command.

  2. Start the ROS Publisher by executing the relevant python script: (e.g. angle -> coordinates)

rosrun sra Publisher_ForwardKinematics.py
  1. Start the ROS Subscriber by executing the relevant python script, which would then connect to the ESP32 via the server
rosrun sra SubscriberSocketTCP.py
  1. Enter the angles on the publisher side and voila! See your manipulator moving!