GitXplorerGitXplorer
y

rclc_on_macos

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
d62dd87a47f1d7717b43e46f8e9be44f9f1554fd

install ros2cli

yyoutalk committed 3 years ago
Unverified
087fbda8df05baa7f94f03b97c2379ee4d635f23

add gitignore

yyoutalk committed 3 years ago
Unverified
9d3b1fc370ad6300e93903655368d3d3901ca2b1

add patch

yyoutalk committed 3 years ago
Unverified
14abc33d81c859ec1c087b79818168033d869ee1

build rclc

yyoutalk committed 3 years ago
Unverified
d8a78eab49d0a4566f4d421a35dde4953f1f437e

import ros2.repos

yyoutalk committed 3 years ago
Verified
37c691474d588fd8b43c3af0b7a5df166db38086

Initial commit

yyoutalk committed 3 years ago

README

The README file for this repository.

rclc_on_macos

ros2/rclc (galactic branch) build on macOS Monterey

Set up

$ mkdir -p ~/ros/galactic/src
$ cd ~/ros/galactic
$ wget https://raw.githubusercontent.com/youtalk/rclc_on_macos/main/ros2.repos
$ vcs import src < ros2.repos
$ export C_INCLUDE_PATH=/usr/local/include
$ export CPLUS_INCLUDE_PATH=/usr/local/include
$ pushd src/ros2/rclc && wget https://raw.githubusercontent.com/youtalk/rclc_on_macos/main/disable_example_pingpong.patch && patch -p1 < disable_example_pingpong.patch && popd
$ touch src/ros2/ros2cli/ros2lifecycle_test_fixtures/COLCON_IGNORE
$ colcon build --symlink-install --cmake-args -DBUILD_TESTING=OFF

Demo

$ source ~/ros/galactic/install/setup.zsh
$ ros2 run rclc_examples example_service_node
Service request value: 24 + 42
$ source ~/ros/galactic/install/setup.zsh
$ ros2 run rclc_examples example_client_node
Send service request 24 + 42.
Received service response 24 + 42 = 66.