Skip to content

Commit

Permalink
Merge pull request #2 from universal-field-robots/jazzy_compatible
Browse files Browse the repository at this point in the history
jazzy_compatible
  • Loading branch information
joshjowen authored Oct 2, 2024
2 parents 0a0d9a2 + ca6246a commit 12d6d3b
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 12d6d3b

Please sign in to comment.