Comments (12)
Thanks for your reply, I found the mistake. I made a particularly basic mistake, I was wrongly sourcing the .bash
file in mac os, the correct one should be the .zsh
file. That's it, it was fixed.
from robostack.github.io.
Can you please provide the exact commands that you run, and some way that we can easily replicate the error?
from robostack.github.io.
Thank you for your quick response.
I ran the following command.
source/install.setup.bash
Here is a screenshot of what I did.
BTW, I was able to successfully compile the ros2 project.
from robostack.github.io.
What is contained in your colcon_ws?
from robostack.github.io.
There is only one ros_tcp_endpoint open source library.
from robostack.github.io.
Can you list all files in the colcon_ws?
from robostack.github.io.
Sure, here's a list of colcon_ws:
tree
.
├── build
│ ├── COLCON_IGNORE
│ └── ros_tcp_endpoint
│ ├── colcon_build.rc
│ ├── colcon_command_prefix_setup_py.sh
│ ├── colcon_command_prefix_setup_py.sh.env
│ ├── launch
│ │ └── endpoint.py -> /Users/wangyongdong/colcon_ws/src/ROS-TCP-Endpoint/launch/endpoint.py
│ ├── package.xml -> /Users/wangyongdong/colcon_ws/src/ROS-TCP-Endpoint/package.xml
│ ├── prefix_override
│ │ ├── __pycache__
│ │ │ └── sitecustomize.cpython-310.pyc
│ │ └── sitecustomize.py
│ ├── resource
│ │ └── ros_tcp_endpoint -> /Users/wangyongdong/colcon_ws/src/ROS-TCP-Endpoint/resource/ros_tcp_endpoint
│ ├── ros_tcp_endpoint -> /Users/wangyongdong/colcon_ws/src/ROS-TCP-Endpoint/ros_tcp_endpoint
│ ├── ros_tcp_endpoint.egg-info
│ │ ├── PKG-INFO
│ │ ├── SOURCES.txt
│ │ ├── dependency_links.txt
│ │ ├── entry_points.txt
│ │ ├── requires.txt
│ │ ├── top_level.txt
│ │ └── zip-safe
│ ├── setup.cfg -> /Users/wangyongdong/colcon_ws/src/ROS-TCP-Endpoint/setup.cfg
│ ├── setup.py -> /Users/wangyongdong/colcon_ws/src/ROS-TCP-Endpoint/setup.py
│ └── share
│ └── ros_tcp_endpoint
│ └── hook
│ ├── pythonpath_develop.dsv
│ ├── pythonpath_develop.ps1
│ └── pythonpath_develop.sh
├── install
│ ├── COLCON_IGNORE
│ ├── _local_setup_util_ps1.py
│ ├── _local_setup_util_sh.py
│ ├── local_setup.bash
│ ├── local_setup.ps1
│ ├── local_setup.sh
│ ├── local_setup.zsh
│ ├── ros_tcp_endpoint
│ │ ├── lib
│ │ │ ├── python3.10
│ │ │ │ └── site-packages
│ │ │ │ └── ros-tcp-endpoint.egg-link
│ │ │ └── ros_tcp_endpoint
│ │ │ └── default_server_endpoint
│ │ └── share
│ │ ├── ament_index
│ │ │ └── resource_index
│ │ │ └── packages
│ │ │ └── ros_tcp_endpoint
│ │ ├── colcon-core
│ │ │ └── packages
│ │ │ └── ros_tcp_endpoint
│ │ └── ros_tcp_endpoint
│ │ ├── hook
│ │ │ ├── ament_prefix_path.dsv
│ │ │ ├── ament_prefix_path.ps1
│ │ │ ├── ament_prefix_path.sh
│ │ │ ├── pythonpath.dsv
│ │ │ ├── pythonpath.ps1
│ │ │ └── pythonpath.sh
│ │ ├── launch
│ │ │ └── endpoint.py
│ │ ├── package.bash
│ │ ├── package.dsv
│ │ ├── package.ps1
│ │ ├── package.sh
│ │ ├── package.xml
│ │ └── package.zsh
│ ├── setup.bash
│ ├── setup.ps1
│ ├── setup.sh
│ └── setup.zsh
├── log
│ ├── COLCON_IGNORE
│ ├── build_2023-04-19_14-58-57
│ │ ├── events.log
│ │ ├── logger_all.log
│ │ └── ros_tcp_endpoint
│ │ ├── command.log
│ │ ├── stderr.log
│ │ ├── stdout.log
│ │ ├── stdout_stderr.log
│ │ └── streams.log
│ ├── latest -> latest_build
│ └── latest_build -> build_2023-04-19_14-58-57
├── pure_pursuit.rviz
└── src
└── ROS-TCP-Endpoint
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── launch
│ └── endpoint.py
├── package.xml
├── requirements.txt
├── resource
│ └── ros_tcp_endpoint
├── ros_tcp_endpoint
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-310.pyc
│ │ ├── client.cpython-310.pyc
│ │ ├── communication.cpython-310.pyc
│ │ ├── default_server_endpoint.cpython-310.pyc
│ │ ├── exceptions.cpython-310.pyc
│ │ ├── publisher.cpython-310.pyc
│ │ ├── server.cpython-310.pyc
│ │ ├── service.cpython-310.pyc
│ │ ├── subscriber.cpython-310.pyc
│ │ ├── tcp_sender.cpython-310.pyc
│ │ ├── thread_pauser.cpython-310.pyc
│ │ └── unity_service.cpython-310.pyc
│ ├── client.py
│ ├── communication.py
│ ├── default_server_endpoint.py
│ ├── exceptions.py
│ ├── publisher.py
│ ├── server.py
│ ├── service.py
│ ├── subscriber.py
│ ├── tcp_sender.py
│ ├── thread_pauser.py
│ └── unity_service.py
├── setup.cfg
├── setup.py
└── test
├── test_copyright.py
├── test_flake8.py
└── test_pep257.py
from robostack.github.io.
Can you try sourcing the zsh?
from robostack.github.io.
I source zsh, then my conda environment becomes (base), here is an output.
from robostack.github.io.
Can you clean your colcon ws, then in a new terminal activate your robostack environment, then build the ws and try again?
from robostack.github.io.
The unfortunate news, the result is the same.
from robostack.github.io.
I cannot replicate your issue. Please:
- create a new robostack environment from scratch as written in the README and activate it
- install colcon:
mamba install colcon-ros
- create a new colcon_ws with your package:
mkdir -p ~/colcon_ws_new/src && git clone https://github.com/Unity-Technologies/ROS-TCP-Endpoint
- checkout the correct branch:
cd ROS-TCP-Endpoint; git checkout main-ros2
cd ~/colcon_ws_new
- build your workspace:
colcon build --symlink-install
- source the workspace:
. install/setup.sh
(see https://docs.ros.org/en/foxy/Tutorials/Beginner-Client-Libraries/Colcon-Tutorial.html) - run your package:
ros2 launch ros_tcp_endpoint endpoint.py
These exact steps worked for me just then. Feel free to reopen if you still have issues.
from robostack.github.io.
Related Issues (20)
- Installation step not working as mentioned in the GitHub pages but step are working fine as mention in readme file HOT 2
- Channel seems to be broken HOT 2
- Unify repositories
- Support ROS2 iron HOT 18
- Ubuntu Linux - C++ modules and system python HOT 16
- PyEnv related recommendations... installing/managing Conda for RoboStack HOT 2
- Error Encountered When Running 'gz gui' Command for Gazebo GUI Access
- rostopic echo /turtle1/pose ERROR: Cannot load message class for [turtlesim/Pose]. Are your messages built? HOT 2
- CMake Python path problem: Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy) (found version "3.12.0") HOT 13
- cannot find libraries in colcon workspace HOT 3
- Fast DDS on ROS2 humble HOT 1
- time efficiency HOT 1
- Compile can't find c++ library HOT 2
- Package ros-noetic-controller-manager-msgs is unavailable HOT 2
- Mirror Unix GHA to Windows
- How to Automatically Source devel/setup.zsh After Activating ros_env Environment? HOT 2
- ros-humble-marker-msgs package request HOT 2
- A tutorial for packaging a private ROS2 package? HOT 1
- Error when importing cv_bridge HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robostack.github.io.