Skip to content

Instantly share code, notes, and snippets.

View RRT.h
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
@giogadi
giogadi / passive.robot.xml
Last active Dec 20, 2015
COLLADA description of a 6-DOF mechanism (P1-R5)
View passive.robot.xml
<Robot name="CustomRobot">
<KinBody name="PassiveArm">
<Body name="base" type="dynamic">
<Translation>0 0 0</Translation>
</Body>
<Body name="shoulder" type="dynamic">
<offsetfrom>base</offsetfrom>
<Translation>0 0 0</Translation>
</Body>
@giogadi
giogadi / RRG.cpp
Last active Dec 19, 2015
RRG.cpp: RRG code with simple costs
View RRG.cpp
/* Authors: Luis G. Torres */
#include "RRG.h"
#include "ompl/tools/config/SelfConfig.h"
#include "ompl/base/Goal.h"
#include <boost/utility.hpp>
#include <boost/property_map/function_property_map.hpp>
#include <map>
#include <boost/timer/timer.hpp>
@giogadi
giogadi / RRG.h
Last active Dec 19, 2015
RRG.h: RRG code with generalized costs. Simple costs make A* much easier
View RRG.h
/* Authors: Luis G. Torres */
#ifndef OMPL_CONTRIB_RRT_STAR_RRG_
#define OMPL_CONTRIB_RRT_STAR_RRG_
#include "ompl/geometric/planners/PlannerIncludes.h"
#include "ompl/base/OptimizationObjective.h"
#include "ompl/datastructures/NearestNeighbors.h"
#include "ompl/base/goals/GoalRegion.h"