Skip to main content

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

# 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)
# ...

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.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

pyrosenv-0.0.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pyrosenv-0.0.1.tar.gz.

File metadata

  • Download URL: pyrosenv-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 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.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.0

File hashes

Hashes for pyrosenv-0.0.1.tar.gz
Algorithm Hash digest
SHA256 41732b7ca90e00bdbeab7351596ce612bc02b752d03f64aba40001f364cf7516
MD5 2130bc472e5e52d0520fd0651a3cf233
BLAKE2b-256 301cf8df08e8a513dfaa0738b6e6a631c333c9dd7bd327070c8211862d3483fa

See more details on using hashes here.

File details

Details for the file pyrosenv-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyrosenv-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.0

File hashes

Hashes for pyrosenv-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fc23fce58241e2b4fdbb00a8e59b986ac01eae7267ef9070e57cf5c5c8d6b143
MD5 b86ac8ac6f43f4fb326fbdc97ee42573
BLAKE2b-256 e52e906e7f8a826ed6d3a5cf8343390191428d413dcf5f2258f314cb2f08531c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page