ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to control a physical robot using a web interface

asked 2020-04-20 04:17:42 -0500

saintdere gravatar image

updated 2020-04-20 04:19:22 -0500

I would like to know how I could control the movement of a physical robot using a web interface. For example, I have created a web interface with four movement buttons (front, back, left, right) but do not know how to connect that interface to the physical robot and control its movements. I have experience in controlling a simulated Turtlebot (in Gazebo) with the interface locally on my laptop using ROSBRIDGE and SimpleHTTPServer. Would I have to use these as well to control a physical robot?

I'm running ROS2 Crystal, Ubuntu 18.04. Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-20 21:34:42 -0500

hashirzahir gravatar image

Ya the concept is similar for simulated and real life robots. Just define your architecture and the UI should be able to convert some GUI based action to a ROS service or topic that will provide a goal for your robot. In your architecture, a low level controller or move_base can accept the goal given by your UI and move to that goal based on whatever control algorithm you have used.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-04-20 04:17:42 -0500

Seen: 491 times

Last updated: Apr 20 '20