common-interfaces-intellisense
Get intellisense for ROS 2 messages. Services are not supported. This is a only intended to be used for intellisense purposes. Useful if developing on another system than where ROS 2 is available (Docker for example). Code within this package is NOT intended to be ran.
Installation
pip install common-interfaces-intellisense
Usage
from geometry_msgs.msg import Quaternion
from std_msgs.msg import String
# will now get intellisense
msg = Quaternion()
# or
msg = String(data="my string")
Here is an example of a generated class:
# flake8: noqa
from common_interfaces.base_types import *
from std_msgs.msg import Header
from . import RegionOfInterest
from typing import Any
class CameraInfo:
"""
https://github.com/ros2/common_interfaces/blob/humble/sensor_msgs/msg/CameraInfo.msg
Args:
header: No information
height: No information
width: No information
distortion_model: No information
d: No information
k: 9 elements
r: 9 elements
p: 12 elements
binning_x: No information
binning_y: No information
roi: No information
"""
def __init__(
self,
header: Header | Any = None,
height: uint32 | int = None,
width: uint32 | int = None,
distortion_model: string | str = None,
d: list[float64] | list[float] = None,
k: list[float64] | list[float] = None,
r: list[float64] | list[float] = None,
p: list[float64] | list[float] = None,
binning_x: uint32 | int = None,
binning_y: uint32 | int = None,
roi: RegionOfInterest | Any = None,
):
self.header: Header | Any
self.height: uint32 | int
self.width: uint32 | int
self.distortion_model: string | str
self.d: list[float64] | list[float]
self.k: list[float64] | list[float]
self.r: list[float64] | list[float]
self.p: list[float64] | list[float]
self.binning_x: uint32 | int
self.binning_y: uint32 | int
self.roi: RegionOfInterest | Any
Build
from common_interfaces.build import BuildInterfaces
BuildInterfaces().build()
Release files for common-interfaces-intellisense 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| common_interfaces_intellisense-0.1.0.tar.gz | 114.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| common_interfaces_intellisense-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 186.0 kB
Release files / common_interfaces_intellisense-0.1.0.tar.gz
| Download URL | common_interfaces_intellisense-0.1.0.tar.gz |
|---|---|
| Size | 114.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
033b99431987609ea9d5f6800994fa7f6983a09820197fdf8223936a75d7f360
|
|
BLAKE2b-256 checksum How to use checksums |
4dc6e49272a18318b9c6a119be3f25d0b6adac903e68384f0369599d1a12b302
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / common_interfaces_intellisense-0.1.0-py3-none-any.whl
| Download URL | common_interfaces_intellisense-0.1.0-py3-none-any.whl |
|---|---|
| Size | 72.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f2e7bdb0fdb6013fbe1d809da8f50730e2108b7859ffb28817e90c51373e326
|
|
BLAKE2b-256 checksum How to use checksums |
a3133e6d8ec22a5d4a794a42b65193be8519d416c69bddb648df92b6b0c6104a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|