ros_numpy package
I want to use the package ros_numpy The code is in https://github.com/eric-wieser/ros_numpy How can I install it on my machine
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I want to use the package ros_numpy The code is in https://github.com/eric-wieser/ros_numpy How can I install it on my machine
Just as any other package that has been released:
sudo apt-get install ros-$release-ros-numpy
Where $release
is the name of the ROS release that you have installed.
Which is to be expected, seeing as the package has not been released into Melodic.
See ros_numpy and status_page/ros_melodic_default.html?q=numpy.
Note also I wrote:
as any other package that has been released
The "to be expected" part was responding to the fact that you stated it doesn't work for Melodic. That is certainly to be expected, as it hasn't been released for that version of ROS.
I don't really see how that would not be expected. No matter which version of ROS you are using: if a package has not been released for it, you cannot use apt
to install it (on Debian/Ubuntu).
For newer versions of ROS, such as Melodic, you can clone ROS numpy locally and install using setup.py
.
git clone https://github.com/eric-wieser/ros_numpy.git
cd ros_numpy/
python setup.py install
Or, since it's 2020, you can use Python3:
python3 setup.py install
Asked: 2017-09-07 11:01:37 -0600
Seen: 18,532 times
Last updated: Jan 31 '20
read bag messages as numpy in python [closed]
trying to publish an array of words in rospy using numpy
how to publish a list of numpy arrays
Using numpy with rospy tutorial - no module found
ROS Serialization Values Error
Subscribe pointcloud and convert it to numpy in python
In the future, please make sure your question adheres to our Support Guidelines. It's harder to help you if you don't.
Also: ROS Answers is a beginners forum, so we're happy to help, but such simple things as installing packages is really something that has been asked and answered many times before and is documented. Please make the effort to search first and save us all the time to answer it again.