ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The problem of integrating XCode and ROS is solved, however another problem appeared which is related to running the built code.
Do not use roscreate-pkg is deprecated instead create a project with
catkin_create_pkg <package_name> [depend1] [depend2] [depend3]
This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package
catkin_make --force-cmake -G"Unix Makefiles"
then follow this procedure
https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html
2 | No.2 Revision |
The problem of integrating XCode and ROS is solved, however another problem appeared which is related to running the built code.
Do not use roscreate-pkg is deprecated instead create a project with
catkin_create_pkg <package_name> [depend1] [depend2] [depend3]
This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package
catkin_make --force-cmake -G"Unix Makefiles"
then follow this procedure
https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html
finally,
In menu Product -> Scheme -> Edit Scheme select Run tab and specify path to your binary file
3 | No.3 Revision |
The problem of integrating XCode and ROS is solved, however another problem appeared which is related to running the built code.
Do not use roscreate-pkg is deprecated instead create a project with
catkin_create_pkg <package_name> [depend1] [depend2] [depend3]
This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package
catkin_make --force-cmake -G"Unix Makefiles"
then follow this procedure
https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html
finally,
In menu Product -> Scheme -> Edit Scheme
select Run tab and specify path to your binary 4 | No.4 Revision |
The problem of integrating XCode and ROS is solved, however another problem appeared which is related to running when I run the built code.code I get asserts.
Do not use roscreate-pkg is deprecated instead create a project with
catkin_create_pkg <package_name> [depend1] [depend2] [depend3]
This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package
catkin_make --force-cmake -G"Unix Makefiles"
then follow this procedure
https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html
finally,
In menu Product -> Scheme -> Edit Scheme
select Run tab and specify path to your binary file
5 | No.5 Revision |
The problem of integrating XCode and ROS is solved, however when I run the code I get asserts.
roscreate-pkg is deprecated instead create a project with
catkin_create_pkg <package_name> [depend1] [depend2] [depend3]
This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package
catkin_make --force-cmake -G"Unix Makefiles"
then follow this procedure
https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html
finally,
In menu Product -> Scheme -> Edit Scheme
select Run tab and specify path to your binary file
catkin_make -G"Xcode"
then open Xcode from console by
open /Applications/Xcode.app your_project.xcodeproj
finally, In menu Product -> Scheme -> Edit Scheme select Run on the left, then select Info Tab at the top, and choose a binary fine in Executable.
6 | No.6 Revision |
The problem of integrating XCode and ROS is solved, however when I run the code I get asserts.
roscreate-pkg is deprecated instead create a project with
catkin_create_pkg <package_name> [depend1] [depend2] [depend3]
This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package
catkin_make --force-cmake -G"Unix Makefiles"
then follow this procedure
https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html
finally,
In menu Product -> Scheme -> Edit Scheme
select Run tab and specify path to your binary file
UPDATE
An easier solution would be
generate Xcode project directly by catkin_make -G"Xcode"
open
7 | No.7 Revision |
The problem of integrating XCode and ROS is solved, however when I run the code I get asserts.
roscreate-pkg is deprecated instead create a project with
catkin_create_pkg <package_name> [depend1] [depend2] [depend3]
This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package
catkin_make --force-cmake -G"Unix Makefiles"
then follow this procedure
https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.htmlPorting Unix to Mac
finally,
In menu Product -> Scheme -> Edit Scheme
select Run tab and specify path to your binary file
UPDATE
An easier solution would be
generate Xcode project directly by `catkin_make -G"Xcode"`
then open Xcode from console by `open /Applications/Xcode.app your_project.xcodeproj`
finally, In menu Product -> Scheme -> Edit Scheme
select Run on the left, then select Info Tab at the top, and choose a binary fine in Executable.