See ./doc/index.rst for documentation.
tork-a / roswww Goto Github PK
View Code? Open in Web Editor NEWTiny web server for ROS (forked from https://github.com/jihoonl/roswww)
License: Other
Tiny web server for ROS (forked from https://github.com/jihoonl/roswww)
License: Other
See ./doc/index.rst for documentation.
Is a version for ROS noetic planned? I created a pull request with the necessary changes for compatibility with python3 #49
Just curios. If not how about renaming branch as something general? like develop
in rosbridge_suite?
Continued from a discussion.
For those who are interested in making this happen, please voice up here.
(As one of the maintainers, personally I'm not planning to spend any of my time on this in the forseeable future.)
They both contain tornado and it is installed by both. Just install the two packages to reproduce.
I don't know where the community for this package lives, so I am asking here even though this is not an issue. I am looking to host a simple web server on my Ros robot. Basically responding to HTTP GETs returning status html pages, or to HTTP POSTs to tell the robot to do something. This will allow me to create a non-ROS client on a mobile or just a web browser.
I am not clear whether this library only serves up static html pages or can respond with custom code to any http request, executing ROS code as a result.
Can you point me to a sample where this package is used so I can see how to do various things?
Single page applications do client side routing, but the application only have a singe page doing all the work. I'm proposing to add a flag to make this possible by serving the default page index.html for all 404 Not Found requests. Flag: --single-page-app (debatable)
I would also propose another option to only serve the content from a single package at the root of this server. This is useful for serving control interface applications for a specific system. Flag: --single-pkg=mypackage (debatable)
My use case is that I have a single page application that I am using as the control interface for my robot application that I would like to bundle and serve with the rest of my control software. I do not need to serve files from more than this single package.
I'm opening this issue to discuss if these are wanted functionality and if so, the API. I'm willing to submit a PR if you are interested.
Since roswww
is now merged into rwt_ros
(see tork-a/rwt_ros#2 (comment)), keeping a separate repository might be just confusing. roswww
used to be released into ROS Groovy too, but it was withdrawn.
@k-okada is there any plan to release 0.1.12
in kinetic ?
The current implementation forces to use www
as a package web root. If we utilise package export, each package can have different web page root. It would give users freedom to choose web root directory.
For example, roswww
uses www
directory as a web page root whereas my_webapp_package
uses apps
directory as a page root.
# package.xml in roswww
<export>
<roswww_root>www</roswww_root>
</export>
# package.xml in my_webapp_package
<export>
<roswww_root>apps</roswww_root>
</export>
Other usecases(rocon_app) reference,
roswww should depend on rosbridge_tools rather than rosbridge_server.
tornado is soon to be in rosbridge_tools package. #146 #147 #149
So that you can't either import nor execute.
In version 0.1.2.
Continued from #13 (comment)
Confirmed with de2d9e0 on Indigo, Trusty
Error description updated:
$ rosrun roswww webserver.py
then accessing http://localhost:8000 doesn't return (web browser keeps trying on and on). When I kill webserver.py's process, browser immediately shows "server not found", so I assume the browser is able to connect to the webserver (webserver log file might help here..).
I think I was expecting with #32 on http://docs.ros.org/jade/api/roswww/html/index.html that API page is auto-generated, in addition to the rosdoc-generated rst page we currently see. After #32 merged in I still don't see it.
Is there any plan to release a melodic version?
I was looking into roswww
implementation to utilise as webserver which does not bring any ros_comm related dependencies.
The following was requiring ros dependency in roswww
I would like to propose changes to keep ROS dependency minimal in roswww
Then roswww package will only depend on
I regret this proposal wasn't that right for the following reasons:
roswww
so that roswww can be released by itself.Actually I've already modified the repository name to roswww
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.