Giter Site home page Giter Site logo

ros-windows / win_ros Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stonier/win_ros

23.0 23.0 16.0 4.7 MB

Windows support for Ros (Robot Operating System)

Home Page: http://www.ros.org/wiki/win_ros

Shell 0.03% C++ 73.39% Python 1.22% C 4.47% CSS 0.20% CMake 0.89% Makefile 0.20% Batchfile 0.25% HTML 19.34%

win_ros's People

Contributors

hughie avatar jonathanwade avatar stonier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

win_ros's Issues

Slow on Windows

The following processes are much much slower than expected.

  • catkin
  • roslaunch
  • non-persistent ros service calls

Post install script for pdb's

I don't believe cmake has a standard way of getting pdb's across in the install step.

Can it do a post-install script? We probably just need something to parse the required devel directories and copy across all pdb relevant files to the install directory.

winros_init_workspace fails

Hello,

when I try to initialize the Workspace under "C:\ws" the process aborts after a while with following error:

rosinstall.common.MultiProjectExeption: Error processing 'gtest' : [gtest] Checkout of http://googletest.googlecode.com/svn/tags/release-1.6.0 version none into C:\ws\src\gtest failed.

I checked the url and it says 404: not found.
Because the process fails, no CMakeLists.txt is build and the workspace is not valid. So I cannot run winros_make nor can I install other packages in the workspace.

Any ideas how to solve this issue?

Windows Groovy - Tracking Changes

Open issues are handled by forking the repos into this organisation and maintaining patches as commits in those repos. We use these repos in the rosinstallers instead of the originals until all patches have been catered for upstream. So remember to close our forks in this repo if any of the following stacks' pull requests are finalised. You'll probably also need to redirect the msvc_xxx rosinstallers.

Patches

Groovy Fixes

  • Rospkg
  • Rosinstall
  • Catkin_Pkg
    • pass Nice Windows Paths to Cmake[pull/35]
  • Catkin
    • remove double quoting in batch file strings [pull/388]
    • remove arcanery for windows add_library [pull/390]
    • syntax bugfixes for batch distutils install script [pull/393]
    • remove redundant --install-scripts in python_distutils_install.bat.in [pull/394]
    • help windows find dlls [pull/391]
    • allow use of -C in catkin_make [#376]
    • remove use of workspace configuration [pull/377]
    • nosetest build folder generation not relative [pull/382]
    • generating cmake config modules properly for import deps [pull/378]
    • bugfix nmake targets appearing as inference rules [pull/383]
  • Rospack
  • Ros
    • bugfix parent package path syntax in 10.ros.bat [pull/9]
    • bin destination for dll's [pull/8]
    • path manipulation for windows' 10.ros.bat etc/profile script [pull/6]
    • Ensure variables survive local scope in 10.ros.bat [pull/7]
  • Roscpp Core
    • bin destination for dll's [pull/10]
  • Ros_Comm

Semi-automatic dependency installation

Pain in the ass installing one by one by one... Possible to do this via a script?

  • Install python
  • Install an msi for python-build-tools
  • Run a script from python build tools that downloads and installs every dependency interactively.

Spaces in Paths

This is bound to fall over in all sorts of unglorious ways as the batch string handling is very messy and I doubt what we have will work.

Be brave and test with a space riddled workspace name to start chasing those bugs into the open.

Win_ros installation 'python _partent_package_path.py' is not recognized as an internal or external command?

Hello, yesterday I followed the win_ros installation instructions here:
http://wiki.ros.org/win_ros/hydro/Msvc%20SDK

After some problems with setting PATH variables, I got the demo/test talker/listener program to run in conjunction with roscore. However, today, after attempting to follow this tutorial:

http://wiki.ros.org/win_ros/hydro/Msvc%20SDK%20Projects

to be able to actually create my own nodes and stuff, I have somehow messed something up, because running the line

call C:\opt\ros\hydro\x86\setup.bat now produces the error:

' 'is not recognized as an internal or external command ... etc. 'python _parent_package_path.py' is not recognized ... etc.

Any idea what I screwed up, or how to fix it?

Thanks

Roslaunch can't execute rosmaster

Roslaunch got a 'The system cannot find the file specified' error while att
empting to run:

rosmaster --core -p 11311 __log:=C:\Users\snorri\.ros\log\212dc1de-8d16-11e2-8df
0-080027575465\master.log

Is this a problem of the .bath files?

Port rospack

Fork rospack and drop our old patches in and send a pull request.

Use pip for python dependencies

This might be easier than my manual msi builds/downloads. From mirza:

  • Install pip (easy_install.exe pip)
  • pip.exe install empy nose catkin_pkg

Only down side that I can think of is that I can't provide my own patched versions (till those patches get upstream).

Roslaunch can't terminate grandchildren

Linux uses group id's for a process and all it's children. So if roslaunch starts a process, it simply sends a kill to this group id.

The same python function isn't available on windows, so we need a different method. Currently it doesn't do anything except kill the child, so any processes started by that child will just hang as zombies.

We'll tackle it if we have a use case that suddenly requires it. If someone else wants to hit this bug, let me know and I can point them at the code.

fcntl porting for windows

The former is a linux only piece of code. Can't even import fctnl. I don't know exactly what is the equivalent code yet. Problem is in here:

https://github.com/ros/ros/blob/groovy-devel/core/roslib/src/roslib/network.py

Why did we not have this problem in fuerte though? There is branching there:

if _use_netifaces:
  # maybe this one got hit.
elif _is_unix_like_platform():
  # fcntl code
else():
  # single interface fallback
  • Q) Why is windows falling into _is_unix_like_platform()?
  • Q) Maybe it fell into the first option in fuerte?

Add os_detect for windows in rospkg

Currently missing in os_detect.py. We just need to add a windows class.

Probably platform.system() == 'Windows' is a sufficient check for now, but we should be careful - python platform detection is said to have some dark corners (can be unreliable).

  • Create a fix locally
  • Make a fork, edit and pull request to rospkg.

Reference about platform.system() on stack overflow

Rostest causing wierd build error.

Cmake is fine, however:

Executing nmake in the root build directory

makefile(1035) : fatal error U1086: inference rule cannot have dependents
Stop.

Boost chrono

5a0dd78

boost 1.50 (mingw) now needs chrono below thread...make sure to add them

  • not upstreaming this one as its a way off yet and needs a better fix than dropping the required while both boosts are supported

Declspecs for stl member variables

These have me in a spin:

 warning C4251: 'ecl::StandardException::message' : class 'std::basic_string<_Elem,_Traits,_Ax>' needs to have dll-interface to be used by clients of class 'ecl::StandardException'

This is a common warning when you have something as simple as a std::string inside an exported class. Not sure of the right way of dealing with these.

rosversion failing in the install space

C:\opt\ros\groovy\x86\share\roslaunch>roscore
WARNING: unable to configure logging. No log files will be generated
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Cannot locate [roslaunch]←[31mInvalid <param> tag: Cannot load command parameter [rosversion]: command [rosversion roslaunch] returned with code [1].

Param xml is <param command="rosversion roslaunch" name="rosversion"/>←[0m

winros_init_workspace still fails

Hello @stonier

after you updated msvc_hydro.rosinstall (gtest moved to github) it still doesn't work.
I noticed that, there's a comma missing at the end of the line you added.

Tixml woes

How do we do this in windoze?

Tixml cmake shared build only builds dll, no .lib, so it's not exporting functions and classes properly (FAIL).

As a static build, rospack does not want to link to it (not sure why yet).

There's a ms visual studio soln file, should look into that.

Debug mode crashes

Crashing in debug mode. Reported by flavio:

For me i found that only the release mode works when Msvc Gui. In the Debug mode i get
Unhandled exception at 0x760fc41f (KernelBase.dll) in ros_test.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x003dec40..
i am pretty sure that i set all the settings according to the tutorial. However release mode just works fine. can you confirm this?

Python module install errors

Happens as soon as it hits a python package to install.

'\"C:/Python27/python.exe\"' is not recognized as an internal or external command,
operable program or batch file.
CMake Error at catkin/catkin_generated/safe_execute_install.cmake:4 (message):

  execute_process(C:/work/ws/build/catkin/catkin_generated/python_distutils_install.bat)
  returned error code
Call Stack (most recent call first):
  catkin/cmake_install.cmake:57 (INCLUDE)
  cmake_install.cmake:93 (INCLUDE)


NMAKE : fatal error U1077: 'echo' : return code '0x1'
Stop.

Environment script cannot do catkin python imports

Having problems calling generate_messages in cmake which sends a call out to one of the windows environment batch scripts and executes a python process. End result:

ImportError: No module named genmsg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.