Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name change of internal rosapi/src/rosapi to rosapi/src/ros_api to remov... #170

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions rosapi/scripts/rosapi
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@

import rospy

from rosapi import proxy, objectutils, params
import ros_api
from ros_api import proxy, objectutils, params
from rosapi.srv import *
from rosapi.msg import *

Expand Down Expand Up @@ -137,24 +138,24 @@ def get_service_response_details(request):
return ServiceResponseDetailsResponse([dict_to_typedef(d) for d in objectutils.get_service_response_typedef_recursive(request.type)])

def set_param(request):
rosapi.params.set_param(request.name, request.value)
ros_api.params.set_param(request.name, request.value)
return SetParamResponse()

def get_param(request):
return GetParamResponse(rosapi.params.get_param(request.name, request.default))
return GetParamResponse(ros_api.params.get_param(request.name, request.default))

def has_param(request):
return HasParamResponse(rosapi.params.has_param(request.name))
return HasParamResponse(ros_api.params.has_param(request.name))

def search_param(request):
return SearchParamResponse(rosapi.params.search_param(request.name))
return SearchParamResponse(ros_api.params.search_param(request.name))

def delete_param(request):
rosapi.params.delete_param(request.name)
ros_api.params.delete_param(request.name)
return DeleteParamResponse()

def get_param_names(request):
return GetParamNamesResponse(rosapi.params.get_param_names())
return GetParamNamesResponse(ros_api.params.get_param_names())

def get_time(request):
return GetTimeResponse(rospy.get_rostime())
Expand Down
2 changes: 1 addition & 1 deletion rosapi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
packages=['rosapi'],
packages=['ros_api'],
package_dir={'': 'src'}
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.