Set an environment for easy work with ROS in python without setting things up
Project description
pyrosenv
Set an environment for easy work with ROS in python without setting things up
Installation
pip install pyrosenv
Usage
For easy working with ROS in Python 3 in your IDE (Pycharm, VSCode, etc.) Do one or more of the following imports. Actually after import pyrosenv you can import anything that you would import in ROS environemnt.
# set things up and then import
import pyrosenv
import rospy
# ...
#import ros libraries
from pyrosenv import rospy
from pyrosenv import rosbag
from pyrosenv import roslaunch
from pyrosenv import rosgraph
from pyrosenv import roslib
from pyrosenv import genpy
from pyrosenv import cv_bridge
# import std msgs
from pyrosenv.std_msgs.msg import Int16
from pyrosenv.std_msgs.msg import Bool
# ...
# import sensor msgs
from pyrosenv.sensor_msgs.msg import PointCloud2
msg = PointCloud2()
from pyrosenv.sensor_msgs import point_cloud2
point_cloud2.read_points(msg)
from pyrosenv.cv_bridge import CvBridge, CvBridgeError
# ...
Then you can just use rospy, rosbag, std_msgs, sensor_msgs, etc. as you would in ROS environment.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyrosenv-0.0.4.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file pyrosenv-0.0.4.tar.gz
.
File metadata
- Download URL: pyrosenv-0.0.4.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90e0d90becd328d99aa83667212b352263ef398133792497247fad1780b6f7f0 |
|
MD5 | 50c981421e8c4ce2f50039f79272f019 |
|
BLAKE2b-256 | e6cf0cab7d477bbc8282115569f0eb33a6dc4cbada94df201ee68d2352ee2761 |
File details
Details for the file pyrosenv-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: pyrosenv-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63de12c37f90f7f4cc37da033b5f84a979b1492d76f5b1c58d8d2daa79a1c68b |
|
MD5 | dade0b95b732edc54d2e5f6751d7ad01 |
|
BLAKE2b-256 | a61b855d13d59c0cf1b3712912a9727123f20c5484f5c1f1404a1c9780e728c3 |