Skip to the relevant sections if needed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import casadi as ca | |
import tensorflow as tf | |
from casadi import Sparsity | |
import gpflow | |
import numpy as np | |
class TensorFlowEvaluator(ca.Callback): | |
def __init__(self, t_in, t_out, model, set_init=False, opts={}): | |
self.set_init = set_init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import casadi as ca | |
import tensorflow.compat.v1 as tf | |
tf.disable_v2_behavior() | |
class TensorFlowEvaluator(ca.Callback): | |
def __init__(self,t_in,t_out,session, opts={}): | |
""" | |
t_in: list of inputs (tensorflow placeholders) | |
t_out: list of outputs (tensors dependent on those placeholders) | |
session: a tensorflow session |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0'?> | |
<sdf version='1.4'> | |
<model name='sjtu_drone'> | |
<plugin name='simple_drone' filename='libplugin_drone.so'> | |
<bodyName>base_link</bodyName> | |
<imuTopic>/drone/imu</imuTopic> | |
<rollpitchProportionalGain>10.0</rollpitchProportionalGain> | |
<rollpitchDifferentialGain>5.0</rollpitchDifferentialGain> | |
<rollpitchLimit>0.5</rollpitchLimit> | |
<yawProportionalGain>2.0</yawProportionalGain> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Refer to http://caffe.berkeleyvision.org/installation.html | |
# Contributions simplifying and improving our build system are welcome! | |
# cuDNN acceleration switch (uncomment to build with cuDNN). | |
USE_CUDNN := 1 | |
# CPU-only switch (uncomment to build without GPU support). | |
# CPU_ONLY := 1 | |
# uncomment to disable IO dependencies and corresponding data layers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://s3.eu-central-1.amazonaws.com/avg-kitti/raw_data/2011_09_26_calib.zip | |
https://s3.eu-central-1.amazonaws.com/avg-kitti/raw_data/2011_09_26_drive_0001/2011_09_26_drive_0001_sync.zip | |
https://s3.eu-central-1.amazonaws.com/avg-kitti/raw_data/2011_09_26_drive_0002/2011_09_26_drive_0002_sync.zip | |
https://s3.eu-central-1.amazonaws.com/avg-kitti/raw_data/2011_09_26_drive_0005/2011_09_26_drive_0005_sync.zip | |
https://s3.eu-central-1.amazonaws.com/avg-kitti/raw_data/2011_09_26_drive_0009/2011_09_26_drive_0009_sync.zip | |
https://s3.eu-central-1.amazonaws.com/avg-kitti/raw_data/2011_09_26_drive_0011/2011_09_26_drive_0011_sync.zip | |
https://s3.eu-central-1.amazonaws.com/avg-kitti/raw_data/2011_09_26_drive_0013/2011_09_26_drive_0013_sync.zip | |
https://s3.eu-central-1.amazonaws.com/avg-kitti/raw_data/2011_09_26_drive_0014/2011_09_26_drive_0014_sync.zip | |
https://s3.eu-central-1.amazonaws.com/avg-kitti/raw_data/2011_09_26_drive_0015/2011_09_26_drive_0015_sync.zip | |
https://s3.eu-central-1.amazonaws.com/avg-kitti/raw_data/2011_09_2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<artifact name=”Eventstream_current” version=”1.0.0" type=”event/stream” serverRole=”DataAnalyticsServer”> | |
<file>org.wso2.iot.devices.current_1.0.0.json</file> | |
</artifact> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2016-05-30 09:26:54,446] ERROR - AbstractFaultChainInitiatorObserver Error occurred during error handling, give up! | |
org.apache.cxf.interceptor.Fault: Unable to destroy the process . | |
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:170) | |
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:136) | |
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:204) | |
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:101) | |
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58) | |
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94) | |
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272) | |
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Path("device/stats/tableNames") | |
@GET | |
@Produces("application/json") | |
public Response getDataSourceNames() { | |
ObjectMapper mapper = new ObjectMapper(); | |
JsonNode rootNode = mapper.createObjectNode(); | |
ArrayNode dataSources = mapper.createArrayNode(); | |
try { | |
PrivilegedCarbonContext.startTenantFlow(); | |
PrivilegedCarbonContext ctx = PrivilegedCarbonContext.getThreadLocalCarbonContext(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR {org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint} - Error while extracting credentials from authorization header | |
org.wso2.carbon.identity.oauth.common.exception.OAuthClientException: Error decoding authorization header. Space delimited "<authMethod> <base64Hash>" format violated. | |
at org.wso2.carbon.identity.oauth.endpoint.util.EndpointUtil.extractCredentialsFromAuthzHeader(EndpointUtil.java:152) | |
at org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:82) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:188) | |
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:104) |
NewerOlder