ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

erikcong80's profile - activity

2016-02-15 09:33:41 -0500 received badge  Famous Question (source)
2015-11-25 18:48:20 -0500 received badge  Famous Question (source)
2015-11-25 09:02:15 -0500 received badge  Notable Question (source)
2015-10-08 12:41:05 -0500 received badge  Popular Question (source)
2015-10-08 09:07:33 -0500 asked a question Is it possible to compile ros c++ package to jars library using catkin?

Hello, i have to create a robot_state_publisher rosjava package. So i am thinking whether there is a fast way to do this.

Any suggestions will be grateful. Thank you

2015-10-08 04:08:58 -0500 answered a question catkin_make error

just go to catkin rosjava workspace and then source devel/setup.bash. It works for me

2015-10-08 02:44:31 -0500 received badge  Notable Question (source)
2015-10-07 11:30:41 -0500 commented question problem creating rosjava packages using catkin_create_rosjava_pkg on indigo

i think it is for catkin, the gradle is not installed. I have another question, what is it actually doing behind when i type catkin_create_rosjava_pkg [packageName] ? where is this main function? Maybe it needs a proxy setting

2015-10-07 10:54:36 -0500 commented question problem creating rosjava packages using catkin_create_rosjava_pkg on indigo

could you tell me how to change the proxy for java runtime? I use this link: http://ubuntuforums.org/showthread.ph... and configure the proxy for java runtime, but it does not help. Maybe to configure at the place inside catkin_create_rosjava_pkg where the downloading of the link is called ?

2015-10-07 10:27:27 -0500 received badge  Popular Question (source)
2015-10-07 10:02:08 -0500 commented question problem creating rosjava packages using catkin_create_rosjava_pkg on indigo

Do you know a way, how to check out the internet access to this link on ubuntu? I tried traceroute using mtr //services.gradle.org/distributions/gradle-2.2.1-all.zip, it says failed to resolve host: name or service not known.

2015-10-07 09:40:40 -0500 commented question problem creating rosjava packages using catkin_create_rosjava_pkg on indigo

yes, i have a proxy server configured, system-wide

2015-10-07 09:36:25 -0500 commented question problem creating rosjava packages using catkin_create_rosjava_pkg on indigo

yes, I have tried it many times...

2015-10-07 08:59:43 -0500 asked a question problem creating a rosjava package using catkin_create_rosjava_pkg on indigo

Following the tutorial in the link below, to create a rosjava package in catkin style:

http://wiki.ros.org/rosjava_build_too...

After entering catkin_create_rosjava_pkg,

then it shows: Downloading http://services.gradle.org/distributi...

Exception in thread "main" java.lang.RuntimeException: java.net.UnknownHostException: services.gradle.org at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78) at org.gradle.wrapper.Install.createDist(Install.java:44) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:55) Caused by: java.net.UnknownHostException: services.gradle.org at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient. (HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301) at org.gradle.wrapper.Download.downloadInternal(Download.java:56) at org.gradle.wrapper.Download.download(Download.java:42) at org.gradle.wrapper.Install$1.call(Install.java:57) at org.gradle.wrapper.Install$1.call(Install.java:44) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65) ... 3 more [error] __init__() takes at least 3 arguments (2 given) :

But if i open the link on the browser, i can download the packages, but i don't know how to let the catkin_make find the gradle.

Any help will be grateful.

2015-10-07 08:59:43 -0500 asked a question problem creating rosjava packages using catkin_create_rosjava_pkg on indigo

Following the tutorial in the link below, to create a rosjava package in catkin style:

http://wiki.ros.org/rosjava_build_too...

After entering catkin_create_rosjava_pkg,

then it shows:

Downloading http://services.gradle.org/distributions/gradle-2.2.1-all.zip

Exception in thread "main" java.lang.RuntimeException: java.net.UnknownHostException: services.gradle.org
    at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78)
    at org.gradle.wrapper.Install.createDist(Install.java:44)
    at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
    at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:55)
Caused by: java.net.UnknownHostException: services.gradle.org
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at java.net.Socket.connect(Socket.java:528)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
    at sun.net.www.http.HttpClient.New(HttpClient.java:308)
    at sun.net.www.http.HttpClient.New(HttpClient.java:326)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
    at org.gradle.wrapper.Download.downloadInternal(Download.java:56)
    at org.gradle.wrapper.Download.download(Download.java:42)
    at org.gradle.wrapper.Install$1.call(Install.java:57)
    at org.gradle.wrapper.Install$1.call(Install.java:44)
    at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
    ... 3 more
[error] __init__() takes at least 3 arguments (2 given) : <type 'exceptions.TypeError'>

But if i open the link on the browser, i can download the packages, but i don't know how to let the catkin_make find the gradle.

Any help will be grateful.