Skip to content

Instantly share code, notes, and snippets.

View posilva's full-sized avatar
💭
I may be slow to respond.

Pedro Marques da Silva posilva

💭
I may be slow to respond.
View GitHub Profile
@posilva
posilva / gradlew_install_info
Created December 3, 2013 20:25
Rosjava_core install failed
Connected to the daemon. Dispatching Build{id=b94930ff-3e4e-4349-8083-7a4c3193d820.1, currentDir=/home/posilva/Sistema/Develop/projectos/Testing/rosjava-gen/rosjava_core} request.
The client will now receive all logging from the daemon (pid: 16683). The daemon log file: /home/posilva/.gradle/daemon/1.8/daemon-16683.out.log
Executing build with daemon context: DefaultDaemonContext[uid=6716db20-0134-4c21-bd15-07f5930bca79,javaHome=/usr/lib/jvm/java-6-openjdk-amd64,daemonRegistryDir=/home/posilva/.gradle/daemon,pid=16683,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8]
Starting Build
Settings evaluated using settings file '/home/posilva/Sistema/Develop/projectos/Testing/rosjava-gen/rosjava_core/settings.gradle'.
Projects loaded. Root project using build file '/home/posilva/Sistema/Develop/projectos/Testing/rosjava-gen/rosjava_core/build.gradle'.
Included projects: [root project 'rosjava_core', project ':apache_xmlrpc_client', project ':apache_x
@posilva
posilva / build_gradle_update
Created December 3, 2013 20:28
rosjava_core install failed
/*
* Copyright (C) 2011 Google Inc.
*
* 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
@posilva
posilva / bblayers.conf
Last active January 1, 2016 03:59
core-image-ros-world - Oroco kdl linking error
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/data/build/yocto/poky/meta \
/data/build/yocto/poky/meta-yocto \
@posilva
posilva / ETPROSHandler.java
Last active August 29, 2015 13:56
ROSJAVA Delegate Pattern
package pt.edu.academiafa.rosjava.example;
import org.ros.internal.message.Message;
import org.ros.node.ConnectedNode;
import org.ros.node.topic.Publisher;
import std_msgs.String;
/**
*
* @author posilva
@posilva
posilva / yocto-build-cfg
Created February 4, 2014 16:29
python-empy-native- Error
Build Configuration:
BB_VERSION = "1.21.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-13.04"
TARGET_SYS = "i586-poky-linux"
MACHINE = "genericx86"
DISTRO = "poky"
DISTRO_VERSION = "1.5+snapshot-20140204"
TUNE_FEATURES = "m32 core2"
TARGET_FPU = ""
private static String GetExecutionPath() {
String absolutePath = JavaApplication1.class.getProtectionDomain().getCodeSource().getLocation().getPath();
absolutePath = absolutePath.substring(0, absolutePath.lastIndexOf("/"));
absolutePath = absolutePath.replaceAll("%20", " "); // Surely need to do this here
return absolutePath;
}
@posilva
posilva / package.xml
Created June 23, 2014 13:34
autopilot_commons_dependecy_missing_graph
<?xml version="1.0"?>
<package>
<name>seagull_autopilot</name>
<version>0.1.2</version>
<description>The seagull_autopilot package</description>
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="jane.doe@example.com">Jane Doe</maintainer> -->
<maintainer email="posilva@academiafa.edu.pt">Pedro Marques da Silva</maintainer>
@posilva
posilva / build.log
Last active August 29, 2015 14:03
LSTS Glued - Fork
Scanning dependencies of target cmsys_c
Scanning dependencies of target cmIML_test
[ 0%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/ProcessUNIX.c.o
Scanning dependencies of target cmzlib
[ 0%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test.c.o
[ 0%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/adler32.c.o
Scanning dependencies of target cmsys
[ 0%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/ProcessUNIX.c.o
[ 1%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_ABI_C.c.o
[ 1%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/compress.c.o
@posilva
posilva / ExecuteNode.java
Last active August 29, 2015 14:03
RosJava Node from Full Jar Dependencies Lib
import java.net.URI;
import java.net.URISyntaxException;
import org.ros.address.InetAddressFactory;
import org.ros.namespace.GraphName;
import org.ros.node.AbstractNodeMain;
import org.ros.node.ConnectedNode;
import org.ros.node.DefaultNodeMainExecutor;
import org.ros.node.NodeConfiguration;
import org.ros.node.NodeMainExecutor;
### Keybase proof
I hereby claim:
* I am posilva on github.
* I am posilva (https://keybase.io/posilva) on keybase.
* I have a public key whose fingerprint is FEAF E4F6 7148 9486 83CA 6B9F C8A3 13CA F9EB AE00
To claim this, I am signing this object: