My attempt to install ROS Melodic on macOS Mojave (10.14) with https://github.com/mikepurvis/ros-install-osx
Use the file attached.
Install it manually:
My attempt to install ROS Melodic on macOS Mojave (10.14) with https://github.com/mikepurvis/ros-install-osx
Use the file attached.
Install it manually:
Taken from here
// SwiftWrapper.swift
@objc class SwiftWrapper {
class func wrappedFunc() {
// call Swift code
}
}
#!/bin/bash | |
NET_IF=`netstat -rn | awk '/^0.0.0.0/ {thif=substr($0,74,10); print thif;} /^default.*UG/ {thif=substr($0,65,10); print thif;}'` | |
PRIMARY_NET_IF=($NET_IF) | |
export ROS_IP=`ifconfig ${PRIMARY_NET_IF[0]} | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'` | |
if [ -z ${ROS_IP} ] | |
then | |
export ROS_IP=127.0.0.1 | |
fi |
#!/bin/bash | |
mkdir tmp | |
cd tmp | |
# the two lines below will fail in case it's not the first time we clone | |
git clone https://github.com/Itseez/opencv.git | |
git clone https://github.com/Itseez/opencv_contrib.git | |
# revert the main CMakeLists.txt file in case it's not the first time | |
cd opencv | |
git clean -dxf |
Install Qt5 with homebrew and link it to the system (potentially destructive operation):
$ brew install qt5
$ brew unlink qt # may fail if no Qt4 was installed previously with homebrew
$ brew link --force qt5
Additionally, it might be worth to activate the appropriate target virtualenv with:
#!/bin/bash | |
# Credits: http://stackoverflow.com/a/246128 | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
echo "Where am I?!" | |
echo -e "I am here: ${DIR}" |
#!/bin/bash | |
# E.g. ~/.bash_aliases | |
## Docker Cleanup Commands | |
## Credits: https://www.calazan.com/docker-cleanup-commands/ | |
# Kill all running containers | |
alias docker_kill='docker kill $(docker ps -q)' |
rosrun robot_upstart install hmri_bringup/launch/bringup.launch --master http://"\$(ip addr show wlan0 | grep \"inet\b\" | awk '{print \$2}' | cut -d/ -f1)":11311 --user root |