GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - furushchev/ROSiOS: This is a bootstrap package for creating iOS App using ROS(Robot Operating System).

BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
Example
Example
 
 
Pod
Pod
 
 
Podspecs
Podspecs
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
ROSiOS.podspec
ROSiOS.podspec
 
 

Repository files navigation

ROSiOS

CI Status Version License Platform

Requirements

  • Xcode
  • CocoaPods (Since Ruby/Gems are already installed on OSX, just type sudo gem install cocoapods && pod setup)

How to use

Try Example.

$ pod try ROSiOS

Or clone the repo, and run pod install from the Example directory first.

$ git clone http://github.com/furushchev/ROSiOS.git
$ cd ROSiOS/Example
$ pod install
$ open ROSiOS.xcworkspace

Step-by-Step setup on your Xcode project

  1. Add ROSiOS packages as dependencies, and install.

ROSiOS is available through CocoaPods. To install it, simply add the following line to your Podfile (or just create it by pod init):

pod "ROSiOS"

Then run pod install. That's it.

To add ros message/package frameworks, just add the following line to your Podfile.

Example:

pod "ROSiOS"
pod "ROSiOS-sensor_msgs"  # ROSiOS-<message_type>
pod "ROSiOS-tf"           # ROSiOS-<package_type>

Then one more time run pod install.

  1. Setup your project.

After pod install, you can see the file <your project name>.xcworkspace (NOT *.xcodeproj) that we use it on development.

  • Now open your project.

    open *.xcworkspace
  • Rename main.m -> main.mm

    Files that have *.mm extension are recognized as Objective-C++ codes.

  • Setup ROS Configuration into AppDelegate

    Before hacking your app, it's highly recommended to insert Configuration before the initial view controller of your app. This includes setup utilities of ROS Environments (ROS_IP, ROS_MASTER_URI,...).

    • Open the AppDelegate.m (you may have a prefix) on your Xcode.
    • Import utility class header.
    ...
    
    #import "AppDelegate.h"
    + #import <ROSiOS/ROSConfigurationUtil.h>
    
    ...
    • Then add 1 line code to your AppDelegate method.
    ...
    
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {
      [ROSConfigurationUtil insertROSConfigurationAsInitialInterfaceOfWindow:self.window
                                                                withNodeName:@"sample_ios_app"]; // ROS Node Name
    
      return YES;
    }
    
    ...
  1. Enjoy hacking! :-)

Author

Yuki Furuta, [email protected]

License

ROSiOS is available under the MIT license. See the LICENSE file for more info.

About

This is a bootstrap package for creating iOS App using ROS(Robot Operating System).

Resources

Readme
MIT license
Activity

Stars

18 stars

Watchers

4 watching

Forks

8 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.