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:
from rospkg import RosPack | |
# Create Ros Pack instace | |
rp = RosPack() | |
pluginlib_deb = rp.get_depends_on('pluginlib') | |
navcore_deb = rp.get_depends_on('nav_core') | |
plugin_nav_core = list(set(pluginlib_deb).intersection(navcore_deb)) |
<launch> | |
<arg name="model" default="$(find urdf_tutorial)/urdf/05-visual.urdf"/> | |
<arg name="gui" default="true" /> | |
<arg name="rvizconfig" default="$(find urdf_tutorial)/rviz/urdf.rviz" /> | |
<param name="robot_description" command="$(find xacro)/xacro --inorder $(arg model)" /> | |
<!-- State Publisher --> | |
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" /> | |
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" /> | |
<!-- Rviz --> |
# after appcleaner does his magic, do this | |
sudo rm -rf "/Library/Application Support/Paragon Software/" | |
sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist | |
sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist | |
sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/ | |
sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer | |
sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/ |
/* | |
* Copyright 2016 The Cartographer Authors | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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:
#include "ros/ros.h" | |
#include "std_msgs/String.h" | |
void chatterCallback(const std_msgs::String::ConstPtr& msg) | |
{ | |
ROS_INFO("I heard: [%s]", msg->data.c_str()); | |
} | |
int main(int argc, char **argv) | |
{ |
#include "ros/ros.h" | |
#include "std_msgs/String.h" | |
#include <sstream> | |
int main(int argc, char **argv) | |
{ | |
ros::init(argc, argv, "talker"); | |
ros::NodeHandle n; | |
ros::Publisher chatter_pub = n.advertise<std_msgs::String>("chatter", 1000); |
cmake_minimum_required(VERSION 2.8.3) | |
project(chatter_subscriber_tutorial) | |
find_package(catkin REQUIRED COMPONENTS | |
roscpp | |
std_msgs | |
) | |
catkin_package( | |
# INCLUDE_DIRS include |
/* | |
HGMC ROS COMM MODULE | |
Description : Communication Module for ROBOT via SOCKET.IO | |
Provide ROS Interface though rosnodejs of reThinkRobotics | |
Expectation : QT can do this function as well | |
Author : Theppasith Nisitsukcharoen | |
*/ | |
import io from 'socket.io-client' | |
import mavlink from 'mavlink' | |
import mavlinkMessage from 'mavlink' |