Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High Sierra: Services only connect in one direction #115

Open
idlebear opened this issue Feb 18, 2018 · 2 comments
Open

High Sierra: Services only connect in one direction #115

idlebear opened this issue Feb 18, 2018 · 2 comments

Comments

@idlebear
Copy link

I've successfully completed several builds with both kinetic, and lunar, and though the build is successful, when I run against roscore, connections aren't completed. For instance, if I want the turtle sim to work, I have to start turtle_teleop_key first, then turtlesim_node. If started in the other order, the nodes appear in the graph (visible in rqt_graph), but aren't connected.

Platform:

System Version:	macOS 10.13.3 (17D47)
  Kernel Version:	Darwin 17.4.0
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Also reproducible with just roscore and rostopic. Starting roscore:

gadgetzan:kinetic_ros_comm_ws bear$ roscore
... logging to /Users/bear/.ros/log/8b1105b5-14ca-11e8-8281-acde48001122/roslaunch-gadgetzan-18198.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt

started roslaunch server http://gadgetzan:49649/
ros_comm version 1.12.12


SUMMARY
========

PARAMETERS
 * /rosdistro: kinetic
 * /rosversion: 1.12.12

NODES

auto-starting new master
process[master]: started with pid [18205]
ROS_MASTER_URI=http://gadgetzan:11311/

setting /run_id to 8b1105b5-14ca-11e8-8281-acde48001122
process[rosout-1]: started with pid [18208]
started core service [/rosout]

Followed by rostopic:

rostopic echo rosout

Nothing is echoed -- which isn't unexpected as nothing else is connected. However, running roswtf shows:


gadgetzan:kinetic_ros_comm_ws bear$ roswtf
No package or stack in context
================================================================================
Static checks summary:

No errors or warnings
================================================================================
Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
... done running graph rules

Online checks summary:

Found 1 error(s).

ERROR The following nodes should be connected but aren't:
 * /rostopic_18298_1518972718392->/rosout (/rosout)

The symptoms are the same with turtles -- nodes aren't connected. Non-connection also occurs if the master is run on an otherwise working Ubuntu kinetic install. Ubuntu clients work fine, but clients from OSX can't make connections.

I built it on a clean system (removed all pip and uninstalled brew) and had the following issues to work around:

  • catkin build ... crashes with the out of files/ptys error. Built with catkin_make_isolated, using the same compile options, instead. catkin_make_isolated can be found in src/catkin/bin.

  • rospack complains about missing boost/tr1/unordered_map, etc. Replaced with boost/unordered_map.

  • rosbag_storage/src/bz2_stream.cpp and lz4_stream.cpp both use an undefined logError/logWarning -- redefined as console_bridge::log...

Thanks in advance for any help or insight that can be provided.

Barry

@idlebear
Copy link
Author

One last comment -- the result is the same with and without SIP disabled

@horagong
Copy link

horagong commented Aug 8, 2018

I think you need to try changing ros_comm version.
ros/ros_comm#1469

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants