id stringlengths 15 54 | text stringlengths 3 133k | title stringclasses 1
value |
|---|---|---|
numpy_msg/msgpacknumpy_88.txt | Sep 30, 2020 | |
numpy_msg/usageexampleshtml_17.txt | ## Interactive console ¶ | |
numpy_msg/msgpacknumpy_181.txt | ## Help | |
numpy_msg/numpy_46.txt | Window 1: | |
numpy_msg/usageexampleshtml_19.txt |
import qpython
from qpython import qconnection
from qpython.qtype import QException
try:
input = raw_input
except NameError:
pass
if __name__ == '__main__':
print('qPython %s Cython extensions enabled: %s' % (qpython.__version__, qpython.__is_cyth... | |
numpy_msg/msgpacknumpy_186.txt | * [ Bugs and feedback ](/help/#feedback)
* [ Contribute on GitHub ](https://github.com/pypi/warehouse "External link")
* [ Translate PyPI ](https://hosted.weblate.org/projects/pypa/warehouse/ "External link")
* [ Sponsor PyPI ](/sponsors/)
* [ Development credits ](https://github.com/pypi/warehouse/graphs/con... | |
numpy_msg/msgpacknumpy_100.txt | May 25, 2020 | |
numpy_msg/msgpacknumpy_196.txt | Supported by | |
numpy_msg/msgpacknumpy_41.txt | from within the source directory. | |
numpy_msg/msgpacknumpy_10.txt | [ Latest version ](/project/msgpack-numpy/) | |
numpy_msg/numpy_14.txt | ## Step 1: Create a Package | |
numpy_msg/msgpacknumpy_32.txt | ## Project description | |
numpy_msg/msgpacknumpy_160.txt | Mar 13, 2016 | |
numpy_msg/msgpacknumpy_84.txt | Jun 9, 2022 | |
numpy_msg/msgpacknumpy_147.txt | 0.4.0 | |
numpy_msg/msgpacknumpy_27.txt | **License:** BSD License (BSD) | |
numpy_msg/Imagehtml_6.txt | _x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
_x = self
buff.write(_get_struct_2I().pack(_x.height, _x.width))
_x = self.encoding
length = len(_x)
if python3 or type(_x) == unicode:
... | |
numpy_msg/msgpacknumpy_17.txt | ###### Maintainers | |
numpy_msg/numpy_16.txt | catkin rosbuild | |
numpy_msg/numpy_11.txt | Contents | |
numpy_msg/msgpacknumpy_33.txt | ## Package Description | |
numpy_msg/msgpacknumpy_43.txt | The easiest way to use msgpack-numpy is to call its monkey patching function
after importing the Python msgpack package: | |
numpy_msg/numpy_8.txt | * [ Login ](/action/login/rospy_tutorials/Tutorials/numpy?action=login) | |
numpy_msg/msgpacknumpy_104.txt | May 25, 2020 | |
numpy_msg/msgpacknumpy_89.txt | ](/project/msgpack-numpy/0.4.7.1/) | |
numpy_msg/numpy_5.txt | # Page | |
numpy_msg/numpy_38.txt |
$ rosrun numpy_tutorial numpy_listener.py
/listener-977-1248226102144 I heard (1.1000000238418579, 2.2000000476837158, 3.2999999523162842, 4.4000000953674316, 5.5)
/listener-977-1248226102144 I heard (1.1000000238418579, 2.2000000476837158, 3.2999999523162842, 4.4000000953674316, 5.5)
... and ... | |
numpy_msg/msgpacknumpy_107.txt | 0.4.5 | |
numpy_msg/msgpacknumpy_106.txt |  | |
numpy_msg/usageexampleshtml_4.txt | __ [ qPython ](index.html) | |
numpy_msg/numpy_6.txt | * Immutable Page
* Comments
* [ Info ](/action/info/rospy_tutorials/Tutorials/numpy?action=info)
* [ Attachments ](/action/AttachFile/rospy_tutorials/Tutorials/numpy?action=AttachFile)
* More Actions: Raw Text Print View Render as Docbook Delete Cache \------------------------ Check Spelling Like Pag... | |
numpy_msg/msgpacknumpy_193.txt | © 2024 [ Python Software Foundation ](https://www.python.org/psf-landing/
"External link")
[ Site map ](/sitemap/) | |
numpy_msg/Imagehtml_13.txt | Enter search terms or a module, class or function name. | |
numpy_msg/msgpacknumpy_136.txt | Feb 26, 2018 | |
numpy_msg/msgpacknumpy_153.txt | ](/project/msgpack-numpy/0.3.9/) | |
numpy_msg/msgpacknumpy_42.txt | ## Usage | |
numpy_msg/usageexampleshtml_12.txt |
:localhost:5000
IPC version: 3. Is connected: True
type: <class 'qpython.qcollection.QList'>, numpy.dtype: int32, meta.qtype: 6, data: [0 1 2 3 4 5 6 7 8 9]
type: <class 'qpython.qcollection.QList'>, numpy.dtype: int64, meta.qtype: 7, data: [0 1 2 3 4 5 6 7 8 9]
type: <class 'qpython.qread... | |
numpy_msg/msgpacknumpy_8.txt | # msgpack-numpy 0.4.8 | |
numpy_msg/msgpacknumpy_176.txt | Hashes for msgpack-numpy-0.4.8.tar.gz Algorithm | Hash digest |
---|---|---
SHA256 | ` c667d3180513422f9c7545be5eec5d296dcbb357e06f72ed39cc683797556e69
` | Copy
MD5 | ` a901362305b95dabc2a57ae1fefc2f44 ` | Copy
BLAKE2b-256 | `
089461e8aee142733ebfdc400a05bdac6e1763c4514bba3b42743d223f388450 ` | Cop... | |
numpy_msg/msgpacknumpy_102.txt |  | |
numpy_msg/numpy_74.txt | * * * | |
numpy_msg/numpy_64.txt | Now that we have a talker node, we don't need ` rostopic pub ` . This time we
can run roscore, the listener Node, and the talker Node: | |
numpy_msg/msgpacknumpy_45.txt | This will automatically force all msgpack serialization and deserialization
routines (and other packages that use them) to become numpy-aware. Of course,
one can also manually pass the encoder and decoder provided by msgpack-numpy
to the msgpack routines: | |
numpy_msg/numpy_20.txt | As we are using numpy, we also need to make sure that our package declares
this, so lets edit the [ manifest.xml ](/Manifest) file to add the following [
rosdep ](/rosdep) line: | |
numpy_msg/numpy_49.txt |
rosrun numpy_tutorial numpy_listener.py | |
numpy_msg/msgpacknumpy_190.txt | Status: [ all systems operational ](https://status.python.org/ "External
link") | |
numpy_msg/numpy_22.txt | ## Step 2: Create a Listener | |
numpy_msg/numpy_18.txt | As we are using numpy, we also need to make sure that our package declares
this, so lets edit the package.xml file to add the following line: | |
numpy_msg/usageexampleshtml_28.txt | ## Subscribing to tick service ¶ | |
numpy_msg/usageexampleshtml_10.txt |
from qpython import qconnection
if __name__ == '__main__':
# create connection object
q = qconnection.QConnection(host='localhost', port=5000)
# initialize connection
q.open()
print(q)
print('IPC version: %s. Is connected: %s' % (q.protoco... | |
numpy_msg/msgpacknumpy_4.txt | * [ Help ](/help/)
* [ Sponsors ](/sponsors/)
* [ Log in ](/account/login/)
* [ Register ](/account/register/) | |
numpy_msg/msgpacknumpy_61.txt | ## License | |
numpy_msg/numpy_62.txt | The new step we see with the talker example is actually creating our own numpy
array. This is where we have to be careful. As was mentioned before, every
numerical array in the Message must be initialized with a numpy array of the
correct data type. Choosing the correct data type is fairly easy as numpy data
types map ... | |
numpy_msg/msgpacknumpy_37.txt | msgpack-numpy requires msgpack-python and numpy. If you have [ pip
](http://www.pip-installer.org/) installed on your system, run | |
numpy_msg/Imagehtml_7.txt | (length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.header.frame_id = str[start:end].decode('utf-8', 'rosmsg')
else:
self.header.frame_id = str[start:end]
_x = self
start = end
end... | |
numpy_msg/msgpacknumpy_101.txt | ](/project/msgpack-numpy/0.4.6.post0/) | |
numpy_msg/msgpacknumpy_79.txt | * **Development Status**
* [ 3 - Alpha ](/search/?c=Development+Status+%3A%3A+3+-+Alpha)
* **Intended Audience**
* [ Developers ](/search/?c=Intended+Audience+%3A%3A+Developers)
* [ Science/Research ](/search/?c=Intended+Audience+%3A%3A+Science%2FResearch)
* **License**
* [ OSI Approved :: BSD Lic... | |
numpy_msg/numpy_55.txt | Now that you know how to numpy-ize a listener, lets numpy-ize a standard
talker node. This is very similar to what we did above, though you'll have to
be much more careful: _all of your array data must be initialized as numpy
arrays_ . You are responsible for this, _even for fields that you wish to be
initialized with ... | |
numpy_msg/msgpacknumpy_16.txt | _These details have been verified by PyPI_ | |
numpy_msg/msgpacknumpy_122.txt |  | |
numpy_msg/msgpacknumpy_157.txt | ](/project/msgpack-numpy/0.3.8/) | |
numpy_msg/numpy_21.txt |
<rosdep name="python-numpy" /> | |
numpy_msg/numpy_50.txt | Window 3: | |
numpy_msg/usageexampleshtml_21.txt | This example presents how the qPython can be used along with [ Twisted
](http://twistedmatrix.com/trac/) to build asynchronous client: | |
numpy_msg/msgpacknumpy_120.txt | Sep 27, 2018 | |
numpy_msg/numpy_69.txt | Window 3: | |
numpy_msg/numpy_24.txt | Just for reference, here is the ` rospy_tutorials/Floats ` definition: | |
numpy_msg/numpy_35.txt | Window 3: | |
numpy_msg/msgpacknumpy_110.txt |  | |
numpy_msg/msgpacknumpy_66.txt | ###### Maintainers | |
numpy_msg/msgpacknumpy_57.txt | Execute tests across supported python versions: | |
numpy_msg/msgpacknumpy_184.txt | * [ PyPI Blog ](https://blog.pypi.org "External link")
* [ Infrastructure dashboard ](https://dtdg.co/pypi "External link")
* [ Statistics ](/stats/)
* [ Logos & trademarks ](/trademarks/)
* [ Our sponsors ](/sponsors/) | |
numpy_msg/numpy_19.txt |
<build_depend>python-numpy</build_depend>
<run_depend>python-numpy</run_depend>
roscreate-pkg numpy_tutorial rospy rospy_tutorials | |
numpy_msg/msgpacknumpy_197.txt | [ 
AWS Cloud computing and Security Sponsor ](https://aws.amazon.... | |
numpy_msg/usageexampleshtml_49.txt | On Read the Docs | |
numpy_msg/Imagehtml_8.txt | """
try:
_x = self
buff.write(_get_struct_3I().pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs))
_x = self.header.frame_id
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x... | |
numpy_msg/msgpacknumpy_22.txt | * [ __ Homepage ](https://github.com/lebedov/msgpack-numpy) | |
numpy_msg/usageexampleshtml_50.txt | [ Project Home ](//readthedocs.org/projects/qpython/?fromdocs=qpython)
[ Builds ](//readthedocs.org/builds/qpython/?fromdocs=qpython) | |
numpy_msg/msgpacknumpy_51.txt | Note that numpy arrays deserialized by msgpack-numpy are read-only and must be
copied if they are to be modified. | |
numpy_msg/Imagehtml_1.txt | * [ index ](../../../genindex.html "General Index")
* [ modules ](../../../py-modindex.html "Python Module Index") |
* [ MORSE ](../../../morse.html) » unstable stable
* [ Module code ](../../index.html) » | |
numpy_msg/msgpacknumpy_151.txt | 0.3.9 | |
numpy_msg/msgpacknumpy_83.txt | 0.4.8 | |
numpy_msg/numpy_52.txt | This time the output is slightly different, which shows that you are now
receiving numpy arrays: | |
numpy_msg/usageexampleshtml_42.txt | © Copyright 2014-2016, DEVnet Revision ` 7e64a28b ` . | |
numpy_msg/msgpacknumpy_175.txt | ### [ Hashes ](https://pip.pypa.io/en/stable/topics/secure-installs/#hash-
checking-mode "External link") for msgpack-numpy-0.4.8.tar.gz | |
numpy_msg/msgpacknumpy_167.txt | Download the file for your platform. If you're not sure which to choose, learn
more about [ installing packages
](https://packaging.python.org/tutorials/installing-packages/ "External link")
. | |
numpy_msg/msgpacknumpy_35.txt | [ 
](https://pypi.python.org/pypi/msgpack-numpy) [  | |
numpy_msg/msgpacknumpy_40.txt |
python setup.py install
| |
numpy_msg/msgpacknumpy_64.txt | ### Verified details | |
numpy_msg/msgpacknumpy_118.txt |  | |
numpy_msg/msgpacknumpy_116.txt | Nov 8, 2018 | |
numpy_msg/msgpacknumpy_12.txt | Numpy data serialization using msgpack | |
numpy_msg/msgpacknumpy_185.txt | ## Contributing to PyPI | |
numpy_msg/msgpacknumpy_112.txt | May 16, 2019 | |
numpy_msg/numpy_33.txt | Window 2: | |
numpy_msg/msgpacknumpy_38.txt |
pip install msgpack-numpy
| |
numpy_msg/numpy_43.txt | Here are these two lines in context: | |
numpy_msg/numpy_4.txt | * [ Distributions ](/Distributions)
* [ ROS/Installation ](/ROS/Installation)
* [ ROS/Tutorials ](/ROS/Tutorials)
* [ RecentChanges ](/RecentChanges)
* [ numpy ](/rospy_tutorials/Tutorials/numpy) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.