...
 
Commits (3)
......@@ -4,25 +4,26 @@
ORG= pal-robotics
VERSION= 1.3.1
PKGBASE= pal-statistics
PKGNAME= ${PKGTAG.python-}${PKGBASE}-${VERSION}
DISTNAME= ${VERSION}
ROSNAME= $(subst -,_,${PKGBASE})
NAME= pal-statistics
PKGREVISION= 4
ROSNAME= $(subst -,_,${NAME})
PKGNAME= ${PKGTAG.python-}${NAME}-${VERSION}
WRKSRC= ${WRKDIR}/${ROSNAME}-${VERSION}
DIST_SUBDIR= ${PKGBASE}
PKGREVISION= 3
DISTNAME= ${VERSION}
DIST_SUBDIR= ${NAME}
# old package name and other Python versions
CONFLICTS= ${PKGBBASE}-[0-9]*
CONFLICTS+= py[0-9][0-9]-${PKGBBASE}-[0-9]*
CONFLICTS+= ${NAME}-[0-9]*
CONFLICTS+= py[0-9][0-9]-${NAME}-[0-9]*
CATEGORIES= wip
MASTER_REPOSITORY= ${MASTER_REPOSITORY_GITHUB}${ORG}/${NAME}.git
CHECKOUT_VCS_OPTS+= --recursive
HOMEPAGE= ${MASTER_SITE_GITHUB:=${ORG}/${ROSNAME}}
MASTER_SITES= ${HOMEPAGE}/archive/
COMMENT= Provides statistics
LICENSE= gnu-gpl-v3
......
......@@ -4,27 +4,28 @@
ORG= pal-robotics-forks
VERSION= 0.2.8
PRFNAME= ros-control
PKGBASE= prf-${PRFNAME}
PKGNAME= ${PKGTAG.python-}${PKGBASE}-${VERSION}
DISTNAME= ${VERSION}
ROSNAME= $(subst -,_,${PRFNAME})
NAME= ros-control
PKGREVISION= 2
PRFNAME= prf-${NAME}
ROSNAME= $(subst -,_,${NAME})
PKGNAME= ${PKGTAG.python-}${PRFNAME}-${VERSION}
WRKSRC= ${WRKDIR}/${ROSNAME}-${VERSION}
DIST_SUBDIR= ${PKGBASE}
PKGREVISION= 1
DISTNAME= ${VERSION}
DIST_SUBDIR= ${PRFNAME}
# old package name and other Python versions
CONFLICTS= ${PKGBBASE}-[0-9]*
CONFLICTS+= py[0-9][0-9]-${PKGBBASE}-[0-9]*
CONFLICTS+= ros-control-[0-9]*
# old package name, other Python versions, and forked package.
CONFLICTS+= ${PRFNAME}-[0-9]*
CONFLICTS+= py[0-9][0-9]-${PRFNAME}-[0-9]*
CONFLICTS+= ${NAME}-[0-9]*
CATEGORIES= wip
MASTER_REPOSITORY= ${MASTER_REPOSITORY_GITHUB}${ORG}/${NAME}.git
CHECKOUT_VCS_OPTS+= --recursive
HOMEPAGE= ${MASTER_SITE_GITHUB:=${ORG}/${ROSNAME}}
MASTER_SITES= ${HOMEPAGE}/archive/
COMMENT= ros_control package with torque sensors
LICENSE= 2-clause-bsd
......
SHA1 (prf-ros-control/0.2.8.tar.gz) = 9f233c0697c49e55617ceb3d80826ccfb66ec4a1
RMD160 (prf-ros-control/0.2.8.tar.gz) = b724b3753612cdeab07d4cde3eda277be78603a9
Size (prf-ros-control/0.2.8.tar.gz) = 661320 bytes
SHA1 (patch-aa) = 8a31a5cb213f1e2049b71d425b5cb33b19a5fc12
fix syntax for python 3
--- controller_manager/src/controller_manager/controller_manager_interface.py.orig 2019-09-06 13:44:16.000000000 +0200
+++ controller_manager/src/controller_manager/controller_manager_interface.py 2020-03-25 12:44:32.135519217 +0100
@@ -1,6 +1,8 @@
#! /usr/bin/env python
# Wrappers around the services provided by MechanismControlNode
+from __future__ import print_function
+
import roslib; roslib.load_manifest('controller_manager')
import sys
@@ -13,7 +15,7 @@
s = rospy.ServiceProxy('controller_manager/list_controller_types', ListControllerTypes)
resp = s.call(ListControllerTypesRequest())
for t in resp.types:
- print t
+ print(t)
def reload_libraries(force_kill, restore = False):
rospy.wait_for_service('controller_manager/reload_controller_libraries')
@@ -23,16 +25,16 @@
load_srv = rospy.ServiceProxy('controller_manager/load_controller', LoadController)
switch_srv = rospy.ServiceProxy('controller_manager/switch_controller', SwitchController)
- print "Restore:", restore
+ print("Restore:", restore)
if restore:
originally = list_srv.call(ListControllersRequest())
resp = s.call(ReloadControllerLibrariesRequest(force_kill))
if resp.ok:
- print "Successfully reloaded libraries"
+ print("Successfully reloaded libraries")
result = True
else:
- print "Failed to reload libraries. Do you still have controllers loaded?"
+ print("Failed to reload libraries. Do you still have controllers loaded?")
result = False
if restore:
@@ -45,7 +47,7 @@
switch_srv(start_controllers = to_start,
stop_controllers = [],
strictness = SwitchControllerRequest.BEST_EFFORT)
- print "Controllers restored to original state"
+ print("Controllers restored to original state")
return result
@@ -54,10 +56,10 @@
s = rospy.ServiceProxy('controller_manager/list_controllers', ListControllers)
resp = s.call(ListControllersRequest())
if len(resp.controller) == 0:
- print "No controllers are loaded in mechanism control"
+ print("No controllers are loaded in mechanism control")
else:
for c in resp.controller:
- print '%s - %s ( %s )'%(c.name, c.hardware_interface, c.state)
+ print('%s - %s ( %s )'%(c.name, c.hardware_interface, c.state))
def load_controller(name):
@@ -65,10 +67,10 @@
s = rospy.ServiceProxy('controller_manager/load_controller', LoadController)
resp = s.call(LoadControllerRequest(name))
if resp.ok:
- print "Loaded", name
+ print("Loaded", name)
return True
else:
- print "Error when loading", name
+ print("Error when loading", name)
return False
def unload_controller(name):
@@ -76,10 +78,10 @@
s = rospy.ServiceProxy('controller_manager/unload_controller', UnloadController)
resp = s.call(UnloadControllerRequest(name))
if resp.ok == 1:
- print "Unloaded %s successfully" % name
+ print("Unloaded %s successfully" % name)
return True
else:
- print "Error when unloading", name
+ print("Error when unloading", name)
return False
def start_controller(name):
@@ -107,13 +109,13 @@
resp = s.call(SwitchControllerRequest(start, stop, strictness))
if resp.ok == 1:
if st:
- print "Started %s successfully" % names
+ print("Started %s successfully" % names)
else:
- print "Stopped %s successfully" % names
+ print("Stopped %s successfully" % names)
return True
else:
if st:
- print "Error when starting ", names
+ print("Error when starting ", names)
else:
- print "Error when stopping ", names
+ print("Error when stopping ", names)
return False
......@@ -4,26 +4,29 @@
ORG= pal-robotics-forks
VERSION= 0.3.15
PRFNAME= ros-controllers
PKGBASE= prf-${PRFNAME}
PKGNAME= ${PKGTAG.python-}${PKGBASE}-${VERSION}
DISTNAME= ${VERSION}
ROSNAME= $(subst -,_,${PRFNAME})
NAME= ros-controllers
PKGREVISION= 2
PRFNAME= prf-${NAME}
ROSNAME= $(subst -,_,${NAME})
PKGNAME= ${PKGTAG.python-}${PRFNAME}-${VERSION}
WRKSRC= ${WRKDIR}/${ROSNAME}-${VERSION}
PKGREVISION= 1
DISTNAME= ${VERSION}
DIST_SUBDIR= ${PRFNAME}
# old package name and other Python versions
CONFLICTS= ${PKGBBASE}-[0-9]*
CONFLICTS+= py[0-9][0-9]-${PKGBBASE}-[0-9]*
CONFLICTS= talos-ros-controllers
# old package name, other Python versions, and forked package.
CONFLICTS+= ${PRFNAME}-[0-9]*
CONFLICTS+= py[0-9][0-9]-${PRFNAME}-[0-9]*
CONFLICTS+= ${NAME}-[0-9]*
CONFLICTS+= talos-${NAME}-[0-9]*
CATEGORIES= wip
MASTER_REPOSITORY= ${MASTER_REPOSITORY_GITHUB}${ORG}/${NAME}.git
CHECKOUT_VCS_OPTS+= --recursive
HOMEPAGE= ${MASTER_SITE_GITHUB:=${ORG}/${ROSNAME}}
MASTER_SITES= ${HOMEPAGE}/archive/
COMMENT= Library of ros controllers
LICENSE= 2-clause-bsd
......
SHA1 (0.3.15.tar.gz) = bfd6696e961f05a7a0957d2a3a28880071cd3318
RMD160 (0.3.15.tar.gz) = 1d93e609e8d022d9d60f891dfc687fabe71e5346
Size (0.3.15.tar.gz) = 484646 bytes
SHA1 (prf-ros-controllers/0.3.15.tar.gz) = bfd6696e961f05a7a0957d2a3a28880071cd3318
RMD160 (prf-ros-controllers/0.3.15.tar.gz) = 1d93e609e8d022d9d60f891dfc687fabe71e5346
Size (prf-ros-controllers/0.3.15.tar.gz) = 484646 bytes
SHA1 (patch-ab) = 6071abb0ea9918238ade52ebf0d145d8d8587b45