Skip to content

Instantly share code, notes, and snippets.

Huckleberry Febbo huckl3b3rry87

Block or report user

Report or block huckl3b3rry87

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@huckl3b3rry87
huckl3b3rry87 / subexpressions.jl
Created Jun 8, 2019
fix applied to ReverseDiffSparse
View subexpressions.jl
# returns the list of subexpressions which a given tape depends on directly
function list_subexpressions(nd::Vector{NodeData})
# TODO: code overlap with compute_gradient_sparsity
indices = Set{Int}()
for k in 1:length(nd)
nod = nd[k]
if nod.nodetype == SUBEXPRESSION
View gist:b379fba667e8687e078a5db2a041a82b
<?xml version="1.0" ?>
<launch>
<arg name="paused" default="false"/>
<arg name="use_sim_time" default="true"/>
<arg name="gui" default="true"/>
<arg name="headless" default="false"/>
<arg name="debug" default="false"/>
<arg name="verbose" default="false"/>
<arg name="world_name" default="worlds/empty.world"/> <!-- Note: the world_name is with respect to GAZEBO_RESOURCE_PATH environmental variable -->
View obs
pa = Vpara(x_min=x_min,x_max=x_max,y_min=y_min,y_max=y_max,sm=0.01);
@NLconstraint(mdl, obs_con[j=1:Q,i=2:N+1], 1 <= ((x[i]-X_obs[j,i])^2)/((a[j]+sm)^2) + ((y[i]-Y_obs[j,i])^2)/((b[j]+sm)^2))
View test
Pkg.clone("https://github.com/huckl3b3rry87/PrettyPlots.jl")
Pkg.clone("https://github.com/huckl3b3rry87/VehicleModels.jl")
@huckl3b3rry87
huckl3b3rry87 / new_error
Created Dec 10, 2016
after putting in the print
View new_error
module DiffEqProblemLibrary
using DiffEqBase, ParameterizedFunctions,
FiniteElementDiffEq, AlgebraicDiffEq, JLD
print("1")
include("ode_premade_problems.jl")
print("2")
include("dae_premade_problems.jl")
print("3")
include("sde_premade_problems.jl")
@huckl3b3rry87
huckl3b3rry87 / segfault
Created Dec 10, 2016
this is pretty cool
View segfault
febbo@febbo-HP-ZBook-17-G2:~$ julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.5.0 (2016-09-19 18:14 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-pc-linux-gnu
You can’t perform that action at this time.