Solution to issue cannot be found in the documentation.
Issue
I failed to subscribe ROS 2 topic with pixi and ROS 2 Jazzy.
Reproducible example
I installed ros-jazzy-desktop by pixi.
pixi init my_ros2_project -c robostack-jazzy -c conda-forge
cd my_ros2_project
pixi add ros-jazzy-desktop
And, I published topic.
pixi run ros2 topic pub --rate 1 /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.8}}"
But, I could NOT subscribe topic.
pixi run ros2 topic echo /turtle1/cmd_vel
My environment is as follows.
- macOS Sonoma 14.4
- pixi 0.45.0
Issue description
Failed to subscribe ROS 2 topic with pixi and ROS 2 Jazzy.
pixi run ros2 topic pub --rate 1 /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.8}}"
pixi run ros2 topic echo /turtle1/cmd_vel
Expected behavior
I expected that I can subscribe /turtle1/cmd_vel.
Installed packages
The result of pixi list longer than 65536 characters.
So, I upload to https://gist.github.com/atinfinity/6d60e56f49e8ba6d742c07e3286dc669.
Environment info
System
------------
Pixi version: 0.45.0
Platform: osx-arm64
Virtual packages: __unix=0=0
: __osx=14.4=0
: __archspec=1=m1
Cache dir: /Users/dandelion/Library/Caches/rattler/cache
Auth storage: /Users/dandelion/.rattler/credentials.json
Config locations: No config files found
Global
------------
Bin dir: /Users/dandelion/.pixi/bin
Environment dir: /Users/dandelion/.pixi/envs
Manifest dir: /Users/dandelion/.pixi/manifests/pixi-global.toml
Workspace
------------
Name: my_ros2_project
Version: 0.1.0
Manifest file: /Users/dandelion/my_ros2_project/pixi.toml
Last updated: 19-04-2025 10:23:12
Environments
------------
Environment: default
Features: default
Channels: robostack-jazzy, conda-forge
Dependency count: 1
Dependencies: ros-jazzy-desktop
Target platforms: osx-arm64
Solution to issue cannot be found in the documentation.
Issue
I failed to subscribe ROS 2 topic with pixi and ROS 2 Jazzy.
Reproducible example
I installed
ros-jazzy-desktopby pixi.pixi init my_ros2_project -c robostack-jazzy -c conda-forge cd my_ros2_project pixi add ros-jazzy-desktopAnd, I published topic.
pixi run ros2 topic pub --rate 1 /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.8}}"But, I could NOT subscribe topic.
pixi run ros2 topic echo /turtle1/cmd_velMy environment is as follows.
Issue description
Failed to subscribe ROS 2 topic with pixi and ROS 2 Jazzy.
pixi run ros2 topic pub --rate 1 /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.8}}"pixi run ros2 topic echo /turtle1/cmd_velExpected behavior
I expected that I can subscribe
/turtle1/cmd_vel.Installed packages
The result of
pixi listlonger than 65536 characters.So, I upload to https://gist.github.com/atinfinity/6d60e56f49e8ba6d742c07e3286dc669.
Environment info
System ------------ Pixi version: 0.45.0 Platform: osx-arm64 Virtual packages: __unix=0=0 : __osx=14.4=0 : __archspec=1=m1 Cache dir: /Users/dandelion/Library/Caches/rattler/cache Auth storage: /Users/dandelion/.rattler/credentials.json Config locations: No config files found Global ------------ Bin dir: /Users/dandelion/.pixi/bin Environment dir: /Users/dandelion/.pixi/envs Manifest dir: /Users/dandelion/.pixi/manifests/pixi-global.toml Workspace ------------ Name: my_ros2_project Version: 0.1.0 Manifest file: /Users/dandelion/my_ros2_project/pixi.toml Last updated: 19-04-2025 10:23:12 Environments ------------ Environment: default Features: default Channels: robostack-jazzy, conda-forge Dependency count: 1 Dependencies: ros-jazzy-desktop Target platforms: osx-arm64