text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```python """ Path tracking simulation with LQR speed and steering control author Atsushi Sakai (@Atsushi_twi) """ import math import sys import matplotlib.pyplot as plt import numpy as np import scipy.linalg as la import pathlib from utils.angle import angle_mod sys.path.append(str(pathlib.Path(__file__).parent.par...
/content/code_sandbox/PathTracking/lqr_speed_steer_control/lqr_speed_steer_control.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,652
```python """ Path tracking simulation with Stanley steering control and PID speed control. author: Atsushi Sakai (@Atsushi_twi) Ref: - [Stanley: The robot that won the DARPA grand challenge](path_to_url - [Autonomous Automobile Path Tracking](path_to_url """ import numpy as np import matplotlib.pyplot as p...
/content/code_sandbox/PathTracking/stanley_controller/stanley_controller.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,607
```python """ Path tracking simulation with rear wheel feedback steering control and PID speed control. author: Atsushi Sakai(@Atsushi_twi) """ import matplotlib.pyplot as plt import math import numpy as np from utils.angle import angle_mod from scipy import interpolate from scipy import optimize Kp = 1.0 # speed...
/content/code_sandbox/PathTracking/rear_wheel_feedback/rear_wheel_feedback.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,978
```python """ Nonlinear MPC simulation with CGMRES author Atsushi Sakai (@Atsushi_twi) Ref: Shunichi09/nonlinear_control: Implementing the nonlinear model predictive control, sliding mode control path_to_url """ from math import cos, sin, radians, atan2 import matplotlib.pyplot as plt import numpy as np U_A_MAX ...
/content/code_sandbox/PathTracking/cgmres_nmpc/cgmres_nmpc.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
6,475
```batchfile @ECHO OFF pushd %~dp0 REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set SOURCEDIR=. set BUILDDIR=_build set SPHINXPROJ=PythonRobotics if "%1" == "" goto help %SPHINXBUILD% >NUL 2>NUL if errorlevel 9009 ( echo. echo.The 'sphinx-build' command was...
/content/code_sandbox/docs/make.bat
batchfile
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
262
```python # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # path_to_url # -- Path setup -------------------------------------------------------------- # If extensions (or modules to document w...
/content/code_sandbox/docs/conf.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,298
```html {% extends "!layout.html" %} {% block sidebartitle %} {{ super() }} <script async src="path_to_url" crossorigin="anonymous"></script> <!-- PythonRoboticsDoc --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-9612347954373886" data-ad-slot="1579532132" data-ad-for...
/content/code_sandbox/docs/_templates/layout.html
html
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
120
```css /* * Necessary parts from * Sphinx stylesheet -- basic theme * absent from sphinx_rtd_theme * (see path_to_url * Ref path_to_url */ /* -- math display ---------------------------------------------------------- */ span.eqno { float: right; } span.eqno a.headerlink { position: absolute; z-inde...
/content/code_sandbox/docs/_static/custom.css
css
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
92
```python """ Quintic Polynomials Planner author: Atsushi Sakai (@Atsushi_twi) Ref: - [Local Path planning And Motion Control For Agv In Positioning](path_to_url """ import math import matplotlib.pyplot as plt import numpy as np # parameter MAX_T = 100.0 # maximum time to the goal [s] MIN_T = 5.0 # minimum ti...
/content/code_sandbox/PathPlanning/QuinticPolynomialsPlanner/quintic_polynomials_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,054
```python """ Potential Field based path planner author: Atsushi Sakai (@Atsushi_twi) Ref: path_to_url~motionplanning/lecture/Chap4-Potential-Field_howie.pdf """ from collections import deque import numpy as np import matplotlib.pyplot as plt # Parameters KP = 5.0 # attractive potential gain ETA = 100.0 # repul...
/content/code_sandbox/PathPlanning/PotentialFieldPlanning/potential_field_planning.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,591
```python """ Path planning Sample Code with RRT and Dubins path author: AtsushiSakai(@Atsushi_twi) """ import copy import math import random import matplotlib.pyplot as plt import numpy as np import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent.parent)) # root dir sys.path.append(str(p...
/content/code_sandbox/PathPlanning/RRTStarDubins/rrt_star_dubins.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,881
```python """ eta^3 polynomials planner author: Joe Dinius, Ph.D (path_to_url Atsushi Sakai (@Atsushi_twi) Ref: - [eta^3-Splines for the Smooth Path Generation of Wheeled Mobile Robots] (path_to_url """ import numpy as np import matplotlib.pyplot as plt from scipy.integrate import quad # NOTE: *_pose is a...
/content/code_sandbox/PathPlanning/Eta3SplinePath/eta3_spline_path.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
4,940
```python """ Informed RRT* path planning author: Karan Chawla Atsushi Sakai(@Atsushi_twi) Reference: Informed RRT*: Optimal Sampling-based Path planning Focused via Direct Sampling of an Admissible Ellipsoidal Heuristic path_to_url """ import sys import pathlib sys.path.append(str(pathlib.Path(__file__).pa...
/content/code_sandbox/PathPlanning/InformedRRTStar/informed_rrt_star.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
3,166
```python """ Distance/Path Transform Wavefront Coverage Path Planner author: Todd Tang paper: Planning paths of complete coverage of an unstructured environment by a mobile robot - Zelinsky et.al. link: path_to_url """ import os import sys import matplotlib.pyplot as plt import numpy as np from scipy impor...
/content/code_sandbox/PathPlanning/WavefrontCPP/wavefront_coverage_path_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,929
```python """ Greedy Best-First grid planning author: Erwin Lejeune (@spida_rwin) See Wikipedia article (path_to_url """ import math import matplotlib.pyplot as plt show_animation = True class BestFirstSearchPlanner: def __init__(self, ox, oy, reso, rr): """ Initialize grid map for greedy ...
/content/code_sandbox/PathPlanning/GreedyBestFirstSearch/greedy_best_first_search.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,063
```python """ flowfield pathfinding author: Sarim Mehdi (muhammadsarim.mehdi@studio.unibo.it) Source: path_to_url """ import numpy as np import matplotlib.pyplot as plt show_animation = True def draw_horizontal_line(start_x, start_y, length, o_x, o_y, o_dict, path): for i in range(start_x, start_x + length): ...
/content/code_sandbox/PathPlanning/FlowField/flowfield.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,532
```python """ Path planning Sample Code with RRT with Dubins path author: AtsushiSakai(@Atsushi_twi) """ import copy import math import random import numpy as np import matplotlib.pyplot as plt import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent.parent)) # root dir sys.path.append(str(...
/content/code_sandbox/PathPlanning/RRTDubins/rrt_dubins.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,808
```python """ eta^3 polynomials trajectory planner author: Joe Dinius, Ph.D (path_to_url Atsushi Sakai (@Atsushi_twi) Refs: - path_to_url - [eta^3-Splines for the Smooth Path Generation of Wheeled Mobile Robots] (path_to_url """ import numpy as np import matplotlib.pyplot as plt from matplotlib.collections...
/content/code_sandbox/PathPlanning/Eta3SplineTrajectory/eta3_spline_trajectory.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
5,217
```python """ Path planning code with LQR RRT* author: AtsushiSakai(@Atsushi_twi) """ import copy import math import random import matplotlib.pyplot as plt import numpy as np import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent)) from LQRPlanner.lqr_planner import LQRPlanner from RRTSt...
/content/code_sandbox/PathPlanning/LQRRRTStar/lqr_rrt_star.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,782
```python """ LQR local path planning author: Atsushi Sakai (@Atsushi_twi) """ import math import random import matplotlib.pyplot as plt import numpy as np import scipy.linalg as la SHOW_ANIMATION = True class LQRPlanner: def __init__(self): self.MAX_TIME = 100.0 # Maximum simulation time ...
/content/code_sandbox/PathPlanning/LQRPlanner/lqr_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,026
```python """ Visibility Road Map Planner author: Atsushi Sakai (@Atsushi_twi) """ import sys import math import numpy as np import matplotlib.pyplot as plt import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent)) from VisibilityRoadMap.geometry import Geometry from VoronoiRoadMap.dijkstra_search ...
/content/code_sandbox/PathPlanning/VisibilityRoadMap/visibility_road_map.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,673
```python class Geometry: class Point: def __init__(self, x, y): self.x = x self.y = y @staticmethod def is_seg_intersect(p1, q1, p2, q2): def on_segment(p, q, r): if ((q.x <= max(p.x, r.x)) and (q.x >= min(p.x, r.x)) and (q.y <= max...
/content/code_sandbox/PathPlanning/VisibilityRoadMap/geometry.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
395
```python """ D* Lite grid planning author: vss2sn (28676655+vss2sn@users.noreply.github.com) Link to papers: D* Lite (Link: path_to_url Improved Fast Replanning for Robot Navigation in Unknown Terrain (Link: path_to_url~maxim/files/dlite_icra02.pdf) Implemented maintaining similarity with the pseudocode for understand...
/content/code_sandbox/PathPlanning/DStarLite/d_star_lite.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
4,137
```python import numpy as np import matplotlib.pyplot as plt from scipy import interpolate class Spline2D: def __init__(self, x, y, kind="cubic"): self.s = self.__calc_s(x, y) self.sx = interpolate.interp1d(self.s, x, kind=kind) self.sy = interpolate.interp1d(self.s, y, kind=kind) d...
/content/code_sandbox/PathPlanning/CubicSpline/spline_continuity.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
457
```python """ Spiral Spanning Tree Coverage Path Planner author: Todd Tang paper: Spiral-STC: An On-Line Coverage Algorithm of Grid Environments by a Mobile Robot - Gabriely et.al. link: path_to_url """ import os import sys import math import numpy as np import matplotlib.pyplot as plt do_animation = True ...
/content/code_sandbox/PathPlanning/SpiralSpanningTreeCPP/spiral_spanning_tree_coverage_path_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,731
```python """ Cubic spline planner Author: Atsushi Sakai(@Atsushi_twi) """ import math import numpy as np import bisect class CubicSpline1D: """ 1D Cubic Spline class Parameters ---------- x : list x coordinates for data points. This x coordinates must be sorted in ascen...
/content/code_sandbox/PathPlanning/CubicSpline/cubic_spline_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,918
```python """ Dijkstra Search library author: Atsushi Sakai (@Atsushi_twi) """ import matplotlib.pyplot as plt import math import numpy as np class DijkstraSearch: class Node: """ Node class for dijkstra search """ def __init__(self, x, y, cost=None, parent=None, edge_ids=None...
/content/code_sandbox/PathPlanning/VoronoiRoadMap/dijkstra_search.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,042
```python """ Voronoi Road Map Planner author: Atsushi Sakai (@Atsushi_twi) """ import math import numpy as np import matplotlib.pyplot as plt from scipy.spatial import cKDTree, Voronoi import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent)) from VoronoiRoadMap.dijkstra_search import D...
/content/code_sandbox/PathPlanning/VoronoiRoadMap/voronoi_road_map.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,301
```python """ Bidirectional Breadth-First grid planning author: Erwin Lejeune (@spida_rwin) See Wikipedia article (path_to_url """ import math import matplotlib.pyplot as plt show_animation = True class BidirectionalBreadthFirstSearchPlanner: def __init__(self, ox, oy, resolution, rr): """ ...
/content/code_sandbox/PathPlanning/BidirectionalBreadthFirstSearch/bidirectional_breadth_first_search.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,462
```python """ Depth-First grid planning author: Erwin Lejeune (@spida_rwin) See Wikipedia article (path_to_url """ import math import matplotlib.pyplot as plt show_animation = True class DepthFirstSearchPlanner: def __init__(self, ox, oy, reso, rr): """ Initialize grid map for Depth-First ...
/content/code_sandbox/PathPlanning/DepthFirstSearch/depth_first_search.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,902
```python """ Path planning Sample Code with RRT with Reeds-Shepp path author: AtsushiSakai(@Atsushi_twi) """ import copy import math import random import sys import pathlib import matplotlib.pyplot as plt import numpy as np sys.path.append(str(pathlib.Path(__file__).parent.parent)) from ReedsSheppPath import reeds...
/content/code_sandbox/PathPlanning/RRTStarReedsShepp/rrt_star_reeds_shepp.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,034
```python """ Clothoid Path Planner Author: Daniel Ingram (daniel-s-ingram) Atsushi Sakai (AtsushiSakai) Reference paper: Fast and accurate G1 fitting of clothoid curves path_to_url """ from collections import namedtuple import matplotlib.pyplot as plt import numpy as np import scipy.integrate as integrate fro...
/content/code_sandbox/PathPlanning/ClothoidPath/clothoid_path_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,481
```python """ Unicycle model class author Atsushi Sakai """ import math import numpy as np from utils.angle import angle_mod dt = 0.05 # [s] L = 0.9 # [m] steer_max = np.deg2rad(40.0) curvature_max = math.tan(steer_max) / L curvature_max = 1.0 / curvature_max + 1.0 accel_max = 5.0 class State: def __init...
/content/code_sandbox/PathPlanning/ClosedLoopRRTStar/unicycle_model.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
464
```python """ Path planning Sample Code with Closed loop RRT for car like robot. author: AtsushiSakai(@Atsushi_twi) """ import matplotlib.pyplot as plt import numpy as np import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent)) from ClosedLoopRRTStar import pure_pursuit from ClosedLoopR...
/content/code_sandbox/PathPlanning/ClosedLoopRRTStar/closed_loop_rrt_star_car.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,681
```python """ Path tracking simulation with pure pursuit steering control and PID speed control. author: Atsushi Sakai """ import math import matplotlib.pyplot as plt import numpy as np import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent)) from ClosedLoopRRTStar import unicycle_mode...
/content/code_sandbox/PathPlanning/ClosedLoopRRTStar/pure_pursuit.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,372
```python import os import sys sys.path.append(os.path.dirname(os.path.abspath(__file__))) ```
/content/code_sandbox/PathPlanning/HybridAStar/__init__.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
20
```python """ Bidirectional A* grid planning author: Erwin Lejeune (@spida_rwin) See Wikipedia article (path_to_url """ import math import matplotlib.pyplot as plt show_animation = True class BidirectionalAStarPlanner: def __init__(self, ox, oy, resolution, rr): """ Initialize grid map for...
/content/code_sandbox/PathPlanning/BidirectionalAStar/bidirectional_a_star.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,756
```python """ Hybrid A* path planning author: Zheng Zh (@Zhengzh) """ import heapq import math import matplotlib.pyplot as plt import numpy as np from scipy.spatial import cKDTree import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent)) from dynamic_programming_heuristic import calc_dis...
/content/code_sandbox/PathPlanning/HybridAStar/hybrid_a_star.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
3,450
```python """ A* grid based planning author: Nikos Kanargias (nkana@tee.gr) See Wikipedia article (path_to_url """ import heapq import math import matplotlib.pyplot as plt show_animation = False class Node: def __init__(self, x, y, cost, parent_index): self.x = x self.y = y self.co...
/content/code_sandbox/PathPlanning/HybridAStar/dynamic_programming_heuristic.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,297
```python """ Car model for Hybrid A* path planning author: Zheng Zh (@Zhengzh) """ import sys import pathlib root_dir = pathlib.Path(__file__).parent.parent.parent sys.path.append(str(root_dir)) from math import cos, sin, tan, pi import matplotlib.pyplot as plt import numpy as np from utils.angle import rot_mat...
/content/code_sandbox/PathPlanning/HybridAStar/car.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
967
```python """ Bug Planning author: Sarim Mehdi(muhammadsarim.mehdi@studio.unibo.it) Source: path_to_url """ import numpy as np import matplotlib.pyplot as plt show_animation = True class BugPlanner: def __init__(self, start_x, start_y, goal_x, goal_y, obs_x, obs_y): self.goal_x = goal_x self.goa...
/content/code_sandbox/PathPlanning/BugPlanning/bug.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
3,103
```python """ Reeds Shepp path planner sample code author Atsushi Sakai(@Atsushi_twi) co-author Videh Patel(@videh25) : Added the missing RS paths """ import math import matplotlib.pyplot as plt import numpy as np from utils.angle import angle_mod show_animation = True class Path: """ Path data container...
/content/code_sandbox/PathPlanning/ReedsSheppPath/reeds_shepp_path_planning.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
4,471
```python """ Dubins path planner sample code author Atsushi Sakai(@Atsushi_twi) """ import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent.parent)) from math import sin, cos, atan2, sqrt, acos, pi, hypot import numpy as np from utils.angle import angle_mod, rot_mat_2d show_animation = ...
/content/code_sandbox/PathPlanning/DubinsPath/dubins_path_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
3,151
```python import math import numpy as np from scipy.interpolate import interp1d from utils.angle import angle_mod # motion parameter L = 1.0 # wheel base ds = 0.1 # course distance v = 10.0 / 3.6 # velocity [m/s] class State: def __init__(self, x=0.0, y=0.0, yaw=0.0, v=0.0): self.x = x self.y...
/content/code_sandbox/PathPlanning/ModelPredictiveTrajectoryGenerator/motion_model.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
731
```python """ Model trajectory generator author: Atsushi Sakai(@Atsushi_twi) """ import math import matplotlib.pyplot as plt import numpy as np import sys import pathlib path_planning_dir = pathlib.Path(__file__).parent.parent sys.path.append(str(path_planning_dir)) import ModelPredictiveTrajectoryGenerator.motion...
/content/code_sandbox/PathPlanning/ModelPredictiveTrajectoryGenerator/trajectory_generator.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,468
```python """ Lookup Table generation for model predictive trajectory generator author: Atsushi Sakai """ import sys import pathlib path_planning_dir = pathlib.Path(__file__).parent.parent sys.path.append(str(path_planning_dir)) from matplotlib import pyplot as plt import numpy as np import math from ModelPredicti...
/content/code_sandbox/PathPlanning/ModelPredictiveTrajectoryGenerator/lookup_table_generator.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
787
```python """ Author: Jonathan Schwartz (github.com/SchwartzCode) This code provides a simple implementation of Dynamic Movement Primitives, which is an approach to learning curves by modelling them as a weighted sum of gaussian distributions. This approach can be used to dampen noise in a curve, and can also be used ...
/content/code_sandbox/PathPlanning/DynamicMovementPrimitives/dynamic_movement_primitives.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,093
```python """ Path Planner with B-Spline author: Atsushi Sakai (@Atsushi_twi) """ import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent.parent)) import numpy as np import matplotlib.pyplot as plt import scipy.interpolate as interpolate from utils.plot import plot_curvature def approx...
/content/code_sandbox/PathPlanning/BSplinePath/bspline_path.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,184
```python """ Path planning with Bezier curve. author: Atsushi Sakai(@Atsushi_twi) """ import matplotlib.pyplot as plt import numpy as np import scipy.special show_animation = True def calc_4points_bezier_path(sx, sy, syaw, ex, ey, eyaw, offset): """ Compute control points and path given start and end po...
/content/code_sandbox/PathPlanning/BezierPath/bezier_path.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,998
```python """ Probabilistic Road Map (PRM) Planner author: Atsushi Sakai (@Atsushi_twi) """ import math import numpy as np import matplotlib.pyplot as plt from scipy.spatial import KDTree # parameter N_SAMPLE = 500 # number of sample_points N_KNN = 10 # number of edge from one sampled point MAX_EDGE_LEN = 30.0 ...
/content/code_sandbox/PathPlanning/ProbabilisticRoadMap/probabilistic_road_map.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,240
```python """ Grid based Dijkstra planning author: Atsushi Sakai(@Atsushi_twi) """ import matplotlib.pyplot as plt import math show_animation = True class Dijkstra: def __init__(self, ox, oy, resolution, robot_radius): """ Initialize map for a star planning ox: x position list of Ob...
/content/code_sandbox/PathPlanning/Dijkstra/dijkstra.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,947
```python """ Frenet optimal trajectory generator author: Atsushi Sakai (@Atsushi_twi) Ref: - [Optimal Trajectory Generation for Dynamic Street Scenarios in a Frenet Frame] (path_to_url - [Optimal trajectory generation for dynamic street scenarios in a Frenet Frame] (path_to_url """ import numpy as np import mat...
/content/code_sandbox/PathPlanning/FrenetOptimalTrajectory/frenet_optimal_trajectory.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,872
```python """ Grid based sweep planner author: Atsushi Sakai """ import math from enum import IntEnum import numpy as np import matplotlib.pyplot as plt import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent.parent)) from utils.angle import rot_mat_2d from Mapping.grid_map_lib.grid_map_li...
/content/code_sandbox/PathPlanning/GridBasedSweepCPP/grid_based_sweep_coverage_path_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,699
```python """ D* grid planning author: Nirnay Roy See Wikipedia article (path_to_url """ import math from sys import maxsize import matplotlib.pyplot as plt show_animation = True class State: def __init__(self, x, y): self.x = x self.y = y self.parent = None self.state = "...
/content/code_sandbox/PathPlanning/DStar/dstar.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,650
```python """ State lattice planner with model predictive trajectory generator author: Atsushi Sakai (@Atsushi_twi) - plookuptable.csv is generated with this script: path_to_url /ModelPredictiveTrajectoryGenerator/lookup_table_generator.py Ref: - State Space Sampling of Feasible Motions for High-Performance Mobile...
/content/code_sandbox/PathPlanning/StateLatticePlanner/state_lattice_planner.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,512
```python """ Mobile robot motion planning sample with Dynamic Window Approach author: Atsushi Sakai (@Atsushi_twi), Gktu Karakal """ import math from enum import Enum import matplotlib.pyplot as plt import numpy as np show_animation = True def dwa_control(x, config, goal, ob): """ Dynamic Window Approa...
/content/code_sandbox/PathPlanning/DynamicWindowApproach/dynamic_window_approach.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,749
```python """ Batch Informed Trees based path planning: Uses a heuristic to efficiently search increasingly dense RGGs while reusing previous information. Provides faster convergence that RRT*, Informed RRT* and other sampling based methods. Uses lazy connecting by combining sampling based methods and A* like incremen...
/content/code_sandbox/PathPlanning/BatchInformedRRTStar/batch_informed_rrtstar.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
5,551
```python """ A* grid planning author: Atsushi Sakai(@Atsushi_twi) Nikos Kanargias (nkana@tee.gr) See Wikipedia article (path_to_url """ import math import matplotlib.pyplot as plt show_animation = True class AStarPlanner: def __init__(self, ox, oy, resolution, rr): """ Initialize ...
/content/code_sandbox/PathPlanning/AStar/a_star.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,121
```python """ a star variants author: Sarim Mehdi(muhammadsarim.mehdi@studio.unibo.it) Source: path_to_url~amitp/GameProgramming/Variations.html """ import numpy as np import matplotlib.pyplot as plt show_animation = True use_beam_search = False use_iterative_deepening = False use_dynamic_weighting = False use_theta_...
/content/code_sandbox/PathPlanning/AStar/a_star_variants.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
4,817
```python """ A* algorithm Author: Weicent randomly generate obstacles, start and goal point searching path from start and end simultaneously """ import numpy as np import matplotlib.pyplot as plt import math show_animation = True class Node: """node with properties of g, h, coordinate and parent node""" d...
/content/code_sandbox/PathPlanning/AStar/a_star_searching_from_two_side.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
3,412
```python """ Path planning Sample Code with Randomized Rapidly-Exploring Random Trees with sobol low discrepancy sampler(RRTSobol). Sobol wiki path_to_url The goal of low discrepancy samplers is to generate a sequence of points that optimizes a criterion called dispersion. Intuitively, the idea is to place samples ...
/content/code_sandbox/PathPlanning/RRT/rrt_with_sobol_sampler.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,156
```python """ Path planning Sample Code with RRT with path smoothing @author: AtsushiSakai(@Atsushi_twi) """ import math import random import matplotlib.pyplot as plt import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent)) from rrt import RRT show_animation = True def get_path_length(path)...
/content/code_sandbox/PathPlanning/RRT/rrt_with_pathsmoothing.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,021
```python """ Path planning Sample Code with Randomized Rapidly-Exploring Random Trees (RRT) author: AtsushiSakai(@Atsushi_twi) """ import math import random import matplotlib.pyplot as plt import numpy as np show_animation = True class RRT: """ Class for RRT planning """ class Node: ""...
/content/code_sandbox/PathPlanning/RRT/rrt.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,205
```python from .sobol import i4_sobol as sobol_quasirand ```
/content/code_sandbox/PathPlanning/RRT/sobol/__init__.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
19
```python """ Path planning Sample Code with RRT* author: Atsushi Sakai(@Atsushi_twi) """ import math import sys import matplotlib.pyplot as plt import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent)) from RRT.rrt import RRT show_animation = True class RRTStar(RRT): """ Class for RRT S...
/content/code_sandbox/PathPlanning/RRTStar/rrt_star.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,051
```python """ Breadth-First grid planning author: Erwin Lejeune (@spida_rwin) See Wikipedia article (path_to_url """ import math import matplotlib.pyplot as plt show_animation = True class BreadthFirstSearchPlanner: def __init__(self, ox, oy, reso, rr): """ Initialize grid map for bfs plan...
/content/code_sandbox/PathPlanning/BreadthFirstSearch/breadth_first_search.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,931
```python """ Licensing: This code is distributed under the MIT license. Authors: Original FORTRAN77 version of i4_sobol by Bennett Fox. MATLAB version by John Burkardt. PYTHON version by Corrado Chisari Original Python version of is_prime by Corrado Chisari Original MATLAB versions of ot...
/content/code_sandbox/PathPlanning/RRT/sobol/sobol.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
6,458
```python """ Inverse kinematics of a two-joint arm Left-click the plot to set the goal position of the end effector Author: Daniel Ingram (daniel-s-ingram) Atsushi Sakai (@Atsushi_twi) Ref: P. I. Corke, "Robotics, Vision & Control", Springer 2017, ISBN 978-3-319-54413-7 p102 - [Robotics, Vision and Control]...
/content/code_sandbox/ArmNavigation/two_joint_arm_to_point_control/two_joint_arm_to_point_control.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,162
```python """ Inverse Kinematics for an n-link arm in 3D Author: Takayuki Murooka (takayuki5168) """ import math from NLinkArm3d import NLinkArm import random def random_val(min_val, max_val): return min_val + random.random() * (max_val - min_val) def main(): print("Start solving Inverse Kinematics 10 times...
/content/code_sandbox/ArmNavigation/n_joint_arm_3d/random_inverse_kinematics.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
350
```python """ Forward Kinematics for an n-link arm in 3D Author: Takayuki Murooka (takayuki5168) """ import math from NLinkArm3d import NLinkArm import random def random_val(min_val, max_val): return min_val + random.random() * (max_val - min_val) def main(): print("Start solving Forward Kinematics 10 times...
/content/code_sandbox/ArmNavigation/n_joint_arm_3d/random_forward_kinematics.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
301
```python """ RRT* path planner for a seven joint arm Author: Mahyar Abdeetedal (mahyaret) """ import math import random import numpy as np import matplotlib.pyplot as plt import sys import pathlib sys.path.append(str(pathlib.Path(__file__).parent.parent)) from n_joint_arm_3d.NLinkArm3d import NLinkArm show_animation...
/content/code_sandbox/ArmNavigation/rrt_star_seven_joint_arm_control/rrt_star_seven_joint_arm_control.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
3,337
```python """ Class of n-link arm in 3D Author: Takayuki Murooka (takayuki5168) """ import numpy as np import math from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt class Link: def __init__(self, dh_params): self.dh_params_ = dh_params def transformation_matrix(self): th...
/content/code_sandbox/ArmNavigation/n_joint_arm_3d/NLinkArm3d.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,834
```python """ Class for controlling and plotting an arm with an arbitrary number of links. Author: Daniel Ingram """ import numpy as np import matplotlib.pyplot as plt class NLinkArm(object): def __init__(self, link_lengths, joint_angles, goal, show_animation): self.show_animation = show_animation ...
/content/code_sandbox/ArmNavigation/n_joint_arm_to_point_control/NLinkArm.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
615
```python """ Inverse kinematics for an n-link arm using the Jacobian inverse method Author: Daniel Ingram (daniel-s-ingram) Atsushi Sakai (@Atsushi_twi) """ import sys from pathlib import Path sys.path.append(str(Path(__file__).parent.parent.parent)) import numpy as np from ArmNavigation.n_joint_arm_to_poin...
/content/code_sandbox/ArmNavigation/n_joint_arm_to_point_control/n_joint_arm_to_point_control.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
1,334
```python """ Obstacle navigation using A* on a toroidal grid Author: Daniel Ingram (daniel-s-ingram) """ from math import pi import numpy as np import matplotlib.pyplot as plt from matplotlib.colors import from_levels_and_colors plt.ion() # Simulation parameters M = 100 obstacles = [[1.75, 0.75, 0.6], [0.55, 1.5, 0...
/content/code_sandbox/ArmNavigation/arm_obstacle_navigation/arm_obstacle_navigation.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,254
```python """ Obstacle navigation using A* on a toroidal grid Author: Daniel Ingram (daniel-s-ingram) Tullio Facchinetti (tullio.facchinetti@unipv.it) """ from math import pi import numpy as np import matplotlib.pyplot as plt from matplotlib.colors import from_levels_and_colors import sys plt.ion() # Simulat...
/content/code_sandbox/ArmNavigation/arm_obstacle_navigation/arm_obstacle_navigation_2.py
python
2016-03-21T09:34:43
2024-08-16T19:00:08
PythonRobotics
AtsushiSakai/PythonRobotics
22,516
2,601
```php <?php namespace Tests\Concerns; use App\Models\Account; use App\Models\AccountPaymentGateway; use App\Models\Attendee; use App\Models\Country; use App\Models\Currency; use App\Models\Event; use App\Models\EventStats; use App\Models\Order; use App\Models\OrderItem; use App\Models\OrderStatus; use App\Models\Orga...
/content/code_sandbox/tests/Concerns/OrganisationWithTax.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
2,009
```php <?php return [ // The default gateway to use 'default' => 'stripe', // Add in each gateway here 'gateways' => [ 'paypal' => [ 'driver' => 'PayPal_Express', 'options' => [ 'solutionType' => '', 'landingPage' => '', ...
/content/code_sandbox/config/laravel-omnipay.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
114
```php <?php namespace Tests\Concerns; use App\Models\Event; use App\Models\Account; use App\Models\AccountPaymentGateway; use App\Models\Attendee; use App\Models\Country; use App\Models\Currency; use App\Models\EventStats; use App\Models\Order; use App\Models\OrderItem; use App\Models\OrderStatus; use App\Models\Orga...
/content/code_sandbox/tests/Concerns/OrganisationWithoutTax.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
1,807
```php <?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Models\Event; class EventAttendeesTest extends TestCase { public function test_event_attendees_are_displayed() { // Cr...
/content/code_sandbox/tests/deprecated/EventAttendeesTest.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
254
```php <?php namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; use Tests\Concerns\DatabaseSetup; abstract class TestCase extends BaseTestCase { use CreatesApplication, DatabaseSetup; /** * Initializes the tests */ public function setUp(): void { parent::s...
/content/code_sandbox/tests/TestCase.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
320
```php <?php namespace Tests\Features; use App\Models\Attendee; use Tests\Concerns\OrganisationWithTax; use Tests\TestCase; class OrganisationWithTaxTest extends TestCase { use OrganisationWithTax; public function setUp(): void { parent::setUp(); $this->withoutMiddleware([ \Ap...
/content/code_sandbox/tests/Feature/OrderCancellation/OrganisationWithTaxTest.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
2,698
```yaml version: '3.2' services: web: image: attendize_web:latest ports: - "8080:80" - "8081:443" volumes: - .:/usr/share/nginx/html - .:/var/www depends_on: - db - maildev - redis - worker env_file: - ./.env worker: image: attendize_worker:...
/content/code_sandbox/docker-compose.yml
yaml
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
275
```javascript module.exports = function (grunt) { //Initializing the configuration object grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), // Task configuration less: { development: { options: { compress: true, ...
/content/code_sandbox/Gruntfile.js
javascript
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
673
```yaml suites: main: namespace: App psr4_prefix: App src_path: app ```
/content/code_sandbox/phpspec.yml
yaml
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
25
```php <?php namespace Tests\Features; use App\Attendize\Utils; use Tests\TestCase; class UtilsTest extends TestCase { /** * @test */ public function parse_version_correctly() { $parsed_version = Utils::parse_version("1.1.0"); $this->assertEquals($parsed_version, "1.1.0"); ...
/content/code_sandbox/tests/Feature/Utils/UtilsTest.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
143
```php <?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Attendize\Utils; class UserTest extends TestCase { public function test_edit_user_is_successful() { $this->actingAs($t...
/content/code_sandbox/tests/deprecated/UserTest.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
1,051
```php <?php /* |your_sha256_hash---------- | Create The Application |your_sha256_hash---------- | | The first thing we will do is create a new Laravel application instance | which serves as the "glue" for all the components of Laravel, and is | the IoC container for the system binding all of the various parts. | */ ...
/content/code_sandbox/bootstrap/app.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
292
```php <?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Models\Organiser; class OrganiserTest extends TestCase { /** * @group passing */ public function test_create_organis...
/content/code_sandbox/tests/deprecated/OrganiserTest.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
548
```php <?php return [ /* |your_sha256_hash---------- | Application Name |your_sha256_hash---------- | | This value is the name of your application. This value is used when the | framework needs to place the application's name in a notification or | any other location as required by the...
/content/code_sandbox/config/app.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
1,912
```php <?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Models\Organiser; class OrganiserEventsTest extends TestCase { public function test_show_events_displays_events() { $o...
/content/code_sandbox/tests/deprecated/OrganiserEventsTest.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
259
```php <?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Models\Event; class EventTest extends TestCase { public function test_event_is_created_successfully() { $this->actingA...
/content/code_sandbox/tests/deprecated/EventTest.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
608
```php <?php use Monolog\Handler\NullHandler; use Monolog\Handler\StreamHandler; use Monolog\Handler\SyslogUdpHandler; return [ /* |your_sha256_hash---------- | Default Log Channel |your_sha256_hash---------- | | This option defines the default log channel that gets used when writing | me...
/content/code_sandbox/config/logging.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
628
```php <?php namespace Tests\Features; use App\Models\Attendee; use Tests\Concerns\OrganisationWithoutTax; use Tests\TestCase; class OrganisationWithoutTaxTest extends TestCase { use OrganisationWithoutTax; public function setUp(): void { parent::setUp(); $this->withoutMiddleware([ ...
/content/code_sandbox/tests/Feature/OrderCancellation/OrganisationWithoutTaxTest.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
2,422
```php <?php return [ 'debug' => env('APP_DEBUG_PDF', false), 'binpath' => 'lib/', 'binfile' => env('WKHTML2PDF_BIN_FILE', 'wkhtmltopdf-amd64'), 'output_mode' => 'I', ]; ```
/content/code_sandbox/config/Wkhtml2pdf.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
66
```php <?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Attendize\Utils; class UserLoginTest extends TestCase { /** * Test login page is successful * * @return void *...
/content/code_sandbox/tests/deprecated/UserLoginTest.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
337
```php <?php /** * Ok, glad you are here * first we get a config instance, and set the settings * $config = HTMLPurifier_Config::createDefault(); * $config->set('Core.Encoding', $this->config->get('purifier.encoding')); * $config->set('Cache.SerializerPath', $this->config->get('purifier.cachePath')); * if ( ! $th...
/content/code_sandbox/config/purifier.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
480
```php <?php namespace Tests; use Hash; use Illuminate\Contracts\Console\Kernel; trait CreatesApplication { /** * Creates the application. * * @return \Illuminate\Foundation\Application */ public function createApplication() { $app = require __DIR__.'/../bootstrap/app.php'; ...
/content/code_sandbox/tests/CreatesApplication.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
97
```php <?php return [ /* |your_sha256_hash---------- | Mail Driver |your_sha256_hash---------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may specify which one you're using throughout | your application here. By default, Laravel...
/content/code_sandbox/config/mail.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
903
```php <?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ $uri = urldecode( parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ); // This file allows us to emulate Apache's "mod_rewrite" functionality from the // built-in PHP web serv...
/content/code_sandbox/server.php
php
2016-03-03T01:33:10
2024-08-16T12:05:02
Attendize
Attendize/Attendize
3,955
137