Skip to content

Commit

Permalink
jazzy_compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
ufrhaidar committed Sep 10, 2024
1 parent 0a0d9a2 commit ca6246a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rosapi/src/rosapi/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,14 @@
from rcl_interfaces.msg import Parameter, ParameterType, ParameterValue
from rcl_interfaces.srv import ListParameters
from ros2node.api import get_absolute_node_name
from ros2param.api import call_get_parameters, call_set_parameters, get_parameter_value
from ros2param.api import call_get_parameters, call_set_parameters
from rosapi.proxy import get_nodes

try:
from ros2param.api import get_parameter_value
except ImportError:
from rclpy.parameter import get_parameter_value

""" Methods to interact with the param server. Values have to be passed
as JSON in order to facilitate dynamically typed SRV messages """

Expand Down

0 comments on commit ca6246a

Please sign in to comment.