rosros
0.2.5
Simple unified interface to ROS1 / ROS2 Python API
Loading...
Searching...
No Matches
__init__.py
Go to the documentation of this file.
1
"""
2
Provides ROS1 API facade for ROS2, or imports rospy if ROS1 environment.
3
4
------------------------------------------------------------------------------
5
This file is part of rosros - simple unified interface to ROS1 / ROS2.
6
Released under the BSD License.
7
8
@author Erki Suurjaak
9
@created
06.03.2022
10
@modified
24.06.2022
11
------------------------------------------------------------------------------
12
"""
13
## @namespace rosros.rospify
14
import os
15
16
17
if os.getenv("ROS_VERSION") != "2":
18
from
rospy
import
*
19
from
rospy
import
timer
20
from
rospy
import
Timer, wait_for_message
21
else
:
22
from
rosros.rospify.rospify
import
*
rosros.rospify.rospify
Stand-in for `rospy` in ROS2.
Definition
rospify.py:1
rosros
rospify
__init__.py
Generated on Tue Jan 30 2024 20:00:19 for rosros by
1.9.7