A lightweight package for providing and consuming ROS services, actions, and topics as RESTful web services
dependabot[bot] on pip
Bump flask from 0.10.1 to 1.0 i… (compare)
asmodehn on scheduled-update-2019-05-13
asmodehn on scheduled-update-2019-05-20
Update numpy from 1.14.2 to 1.1… (compare)
asmodehn on scheduled-update-2019-05-20
Update hypothesis from 3.56.3 t… (compare)
asmodehn on scheduled-update-2019-05-20
Update pytest-xdist from 1.22.2… (compare)
asmodehn on scheduled-update-2019-05-20
Update pytest from 3.5.0 to 4.5… (compare)
asmodehn on scheduled-update-2019-05-20
asmodehn on scheduled-update-2019-05-06
The usual Pythonic way of doing it is something like this:
_ROCON = False
try:
import rocon
_ROCON = True
except: pass
if _ROCON:
def func_that_uses_rocon():
pass
class RoconWrapper(object):
pass
class SomeClass(object):
def always_want_this(self):
pass
if _ROCON:
def this_method_only_with_rocon(self):
pass
Does that make sense?
@benkehoe I am wondering about some design detail inside rostful. When adding or removing Topic, Service, and Action, a lot of method have a
if ws_name is None:
ws_name = topic_name
if ws_name.startswith('/'):
ws_name = ws_name[1:]
I couldn't figure out so far what was the use of it... I am always using only the first case... Could you please explain it to me ?