text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: yolov8/plugin/yololayer.h
#pragma once
#include "macros.h"
#include "NvInfer.h"
#include <string>
#include <vector>
#include "macros.h"
namespace nvinfer1 {
class API YoloLayerPlugin : public IPluginV2IOExt {
public:
YoloLayerPlugin(int classCount, int netWdith, int netHeight, int maxOut);
Yol... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/tensorrtx", "path": "yolov8/plugin/yololayer.h", "license": "mit", "size": 3918} |
### File: yolov8/src/block.cpp
#include "block.h"
#include "yololayer.h"
#include "config.h"
#include <iostream>
#include <assert.h>
#include <fstream>
#include <math.h>
std::map<std::string, nvinfer1::Weights> loadWeights(const std::string file){
std::cout << "Loading weights: " << file << std::endl;
std::map... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/tensorrtx", "path": "yolov8/src/block.cpp", "license": "mit", "size": 8994} |
### File: yolov8/src/calibrator.cpp
#include <iostream>
#include <iterator>
#include <fstream>
#include <opencv2/dnn/dnn.hpp>
#include "calibrator.h"
#include "cuda_utils.h"
#include "utils.h"
Int8EntropyCalibrator2::Int8EntropyCalibrator2(int batchsize, int input_w, int input_h, const char* img_dir, const char* calib... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/tensorrtx", "path": "yolov8/src/calibrator.cpp", "license": "mit", "size": 2895} |
### File: yolov8/src/model.cpp
#include "model.h"
#include "block.h"
#include "calibrator.h"
#include <iostream>
#include "config.h"
nvinfer1::IHostMemory* buildEngineYolov8n(nvinfer1::IBuilder* builder,
nvinfer1::IBuilderConfig* config, nvinfer1::DataType dt, const std::strin... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/tensorrtx", "path": "yolov8/src/model.cpp", "license": "mit", "size": 66943} |
### File: yolov8/src/postprocess.cpp
#include "postprocess.h"
cv::Rect get_rect(cv::Mat &img, float bbox[4]) {
float l, r, t, b;
float r_w = kInputW / (img.cols * 1.0);
float r_h = kInputH / (img.rows * 1.0);
if (r_h > r_w) {
l = bbox[0];
r = bbox[2];
t = bbox[1] - (kInputH - ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/tensorrtx", "path": "yolov8/src/postprocess.cpp", "license": "mit", "size": 4705} |
### File: yolov8/src/postprocess.cu
//
// Created by lindsay on 23-7-17.
//
#include "types.h"
#include "postprocess.h"
static __global__ void
decode_kernel(float *predict, int num_bboxes, float confidence_threshold, float *parray, int max_objects) {
float count = predict[0];
int position = (blockDim.x * bloc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Cuda", "repo_name": "minhanghuang/tensorrtx", "path": "yolov8/src/postprocess.cu", "license": "mit", "size": 3122} |
### File: yolov8/src/preprocess.cu
#include "preprocess.h"
#include "cuda_utils.h"
static uint8_t *img_buffer_host = nullptr;
static uint8_t *img_buffer_device = nullptr;
__global__ void
warpaffine_kernel(uint8_t *src, int src_line_size, int src_width, int src_height, float *dst, int dst_width,
int... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Cuda", "repo_name": "minhanghuang/tensorrtx", "path": "yolov8/src/preprocess.cu", "license": "mit", "size": 4874} |
### File: yolov8/yolov8_trt.py
"""
An example that uses TensorRT's Python api to make inferences.
"""
import ctypes
import os
import shutil
import random
import sys
import threading
import time
import cv2
import numpy as np
import pycuda.autoinit
import pycuda.driver as cuda
import tensorrt as trt
CONF_THRESH = 0.5
IO... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/tensorrtx", "path": "yolov8/yolov8_trt.py", "license": "mit", "size": 18204} |
### File: towr/CMakeLists.txt
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
project(towr VERSION 1.3.2)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
find_package(ifopt 2.0.1 REQUIRED)
###########
## Build ##
###########
IF(NOT CMAKE_BUILD_TYPE MATCHES Release)
message(STATUS ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/towr", "path": "towr/CMakeLists.txt", "license": "bsd-3-clause", "size": 4047} |
### File: towr/cmake/FindGTest.cmake
#.rst:
# FindGTest
# ---------
#
# Locate the Google C++ Testing Framework.
#
# Imported targets
# ^^^^^^^^^^^^^^^^
#
# This module defines the following :prop_tgt:`IMPORTED` targets:
#
# ``GTest::GTest``
# The Google Test ``gtest`` library, if found; adds Thread::Thread
# autom... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/towr", "path": "towr/cmake/FindGTest.cmake", "license": "bsd-3-clause", "size": 9687} |
### File: towr/cmake/towr-config.cmake
# towr-config.cmake
# ---------
#
# Locates the towr library and includes in cmake project.
# Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
#
#
# Imported targets
# ^^^^^^^^^^^^^^^^
#
# This module defines the following IMPORTED targets:
# towr::towr - variable... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/towr", "path": "towr/cmake/towr-config.cmake", "license": "bsd-3-clause", "size": 1245} |
### File: towr/include/towr/constraints/base_motion_constraint.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that th... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/constraints/base_motion_constraint.h", "license": "bsd-3-clause", "size": 3116} |
### File: towr/include/towr/constraints/dynamic_constraint.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the fo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/constraints/dynamic_constraint.h", "license": "bsd-3-clause", "size": 4569} |
### File: towr/include/towr/constraints/force_constraint.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the foll... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/constraints/force_constraint.h", "license": "bsd-3-clause", "size": 4117} |
### File: towr/include/towr/constraints/linear_constraint.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the fol... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/constraints/linear_constraint.h", "license": "bsd-3-clause", "size": 2773} |
### File: towr/include/towr/constraints/range_of_motion_constraint.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided tha... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/constraints/range_of_motion_constraint.h", "license": "bsd-3-clause", "size": 4082} |
### File: towr/include/towr/constraints/spline_acc_constraint.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/constraints/spline_acc_constraint.h", "license": "bsd-3-clause", "size": 2920} |
### File: towr/include/towr/constraints/swing_constraint.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the foll... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/constraints/swing_constraint.h", "license": "bsd-3-clause", "size": 3046} |
### File: towr/include/towr/constraints/terrain_constraint.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the fo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/constraints/terrain_constraint.h", "license": "bsd-3-clause", "size": 3328} |
### File: towr/include/towr/constraints/time_discretization_constraint.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/constraints/time_discretization_constraint.h", "license": "bsd-3-clause", "size": 4811} |
### File: towr/include/towr/constraints/total_duration_constraint.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/constraints/total_duration_constraint.h", "license": "bsd-3-clause", "size": 2914} |
### File: towr/include/towr/costs/node_cost.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/costs/node_cost.h", "license": "bsd-3-clause", "size": 2734} |
### File: towr/include/towr/costs/soft_constraint.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following c... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/costs/soft_constraint.h", "license": "bsd-3-clause", "size": 3506} |
### File: towr/include/towr/initialization/biped_gait_generator.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/initialization/biped_gait_generator.h", "license": "bsd-3-clause", "size": 2757} |
### File: towr/include/towr/initialization/gait_generator.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the fol... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/initialization/gait_generator.h", "license": "bsd-3-clause", "size": 4551} |
### File: towr/include/towr/initialization/monoped_gait_generator.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/initialization/monoped_gait_generator.h", "license": "bsd-3-clause", "size": 2508} |
### File: towr/include/towr/initialization/quadruped_gait_generator.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided th... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/initialization/quadruped_gait_generator.h", "license": "bsd-3-clause", "size": 3332} |
### File: towr/include/towr/models/dynamic_model.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/models/dynamic_model.h", "license": "bsd-3-clause", "size": 7183} |
### File: towr/include/towr/models/endeffector_mappings.h
/******************************************************************************
Copyright (c) 2017, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the follo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/models/endeffector_mappings.h", "license": "bsd-3-clause", "size": 2130} |
### File: towr/include/towr/models/examples/anymal_model.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the foll... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/models/examples/anymal_model.h", "license": "bsd-3-clause", "size": 2945} |
### File: towr/include/towr/models/examples/biped_model.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the follo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/models/examples/biped_model.h", "license": "bsd-3-clause", "size": 2735} |
### File: towr/include/towr/models/examples/hyq_model.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the followi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/models/examples/hyq_model.h", "license": "bsd-3-clause", "size": 2897} |
### File: towr/include/towr/models/examples/monoped_model.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the fol... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/models/examples/monoped_model.h", "license": "bsd-3-clause", "size": 2657} |
### File: towr/include/towr/models/kinematic_model.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/models/kinematic_model.h", "license": "bsd-3-clause", "size": 3309} |
### File: towr/include/towr/models/robot_model.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following cond... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/models/robot_model.h", "license": "bsd-3-clause", "size": 3577} |
### File: towr/include/towr/models/single_rigid_body_dynamics.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/models/single_rigid_body_dynamics.h", "license": "bsd-3-clause", "size": 4228} |
### File: towr/include/towr/nlp_formulation.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/nlp_formulation.h", "license": "bsd-3-clause", "size": 5154} |
### File: towr/include/towr/parameters.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/parameters.h", "license": "bsd-3-clause", "size": 10965} |
### File: towr/include/towr/terrain/examples/height_map_examples.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/terrain/examples/height_map_examples.h", "license": "bsd-3-clause", "size": 5358} |
### File: towr/include/towr/terrain/height_map.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following cond... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/terrain/height_map.h", "license": "bsd-3-clause", "size": 7160} |
### File: towr/include/towr/variables/cartesian_dimensions.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the fo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/cartesian_dimensions.h", "license": "bsd-3-clause", "size": 2449} |
### File: towr/include/towr/variables/euler_converter.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the followi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/euler_converter.h", "license": "bsd-3-clause", "size": 8919} |
### File: towr/include/towr/variables/node_spline.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following c... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/node_spline.h", "license": "bsd-3-clause", "size": 5115} |
### File: towr/include/towr/variables/nodes_observer.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the followin... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/nodes_observer.h", "license": "bsd-3-clause", "size": 2818} |
### File: towr/include/towr/variables/nodes_variables.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the followi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/nodes_variables.h", "license": "bsd-3-clause", "size": 9055} |
### File: towr/include/towr/variables/nodes_variables_all.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the fol... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/nodes_variables_all.h", "license": "bsd-3-clause", "size": 2608} |
### File: towr/include/towr/variables/nodes_variables_phase_based.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/nodes_variables_phase_based.h", "license": "bsd-3-clause", "size": 8264} |
### File: towr/include/towr/variables/phase_durations.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the followi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/phase_durations.h", "license": "bsd-3-clause", "size": 5264} |
### File: towr/include/towr/variables/phase_durations_observer.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that th... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/phase_durations_observer.h", "license": "bsd-3-clause", "size": 2960} |
### File: towr/include/towr/variables/phase_spline.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/phase_spline.h", "license": "bsd-3-clause", "size": 3772} |
### File: towr/include/towr/variables/polynomial.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/polynomial.h", "license": "bsd-3-clause", "size": 6437} |
### File: towr/include/towr/variables/spline.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following condit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/spline.h", "license": "bsd-3-clause", "size": 3818} |
### File: towr/include/towr/variables/spline_holder.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/spline_holder.h", "license": "bsd-3-clause", "size": 3557} |
### File: towr/include/towr/variables/state.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/state.h", "license": "bsd-3-clause", "size": 4518} |
### File: towr/include/towr/variables/variable_names.h
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the followin... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/include/towr/variables/variable_names.h", "license": "bsd-3-clause", "size": 2567} |
### File: towr/matlab/com_motion_derivatives.m
%% Derivatives of a 5th-order polynomial with respect to the coefficients
% Author: Alexander Winkler
clc;
clear all;
close all;
syms a b c d e f t
x = a*t^5 + b*t^4 + c*t^3 + d*t^2 + e*t + f;
xd = diff(x, t);
xdd = diff(x, t, 2);
% Jacobian of these functions
jac_x ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "MATLAB", "repo_name": "minhanghuang/towr", "path": "towr/matlab/com_motion_derivatives.m", "license": "bsd-3-clause", "size": 658} |
### File: towr/matlab/cubic_hermite_polynomial.m
%% Provides derivatives of a third-order polynomial w.r.t. nodes
%
% These results are used in class CubicHermitePolynomial to code the
% analytical derivatives.
%
% Author: Alexander Winkler
clc;
clear all;
%% Define the polynomial through its coefficients
syms a b c... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "MATLAB", "repo_name": "minhanghuang/towr", "path": "towr/matlab/cubic_hermite_polynomial.m", "license": "bsd-3-clause", "size": 1683} |
### File: towr/matlab/euler_converter.m
%% Derivatives of a Euler->Angular velocity mappings w.r.t euler angles.
%
% Used in class EulerConverter to specifcy analytical derivatives.
%
% Author: Alexander Winkler
clc;
clear all;
syms t u % time and polynomial coefficients defining euler angles
syms z(t,u) y(t,u) x(t,u... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "MATLAB", "repo_name": "minhanghuang/towr", "path": "towr/matlab/euler_converter.m", "license": "bsd-3-clause", "size": 1222} |
### File: towr/matlab/gap_height_map.m
%% Modelling of a gap in the terrain by a curved polynomial.
%
% Used in file height_map_examples.h to describe a gap terrain.
%
% Author: Alexander Winkler
clc;
clear all;
% 3rd order poly in the shape of a terrain gap
syms x a b c
z = a*x^2 + b*x + c;
syms h w xc
% initial... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "MATLAB", "repo_name": "minhanghuang/towr", "path": "towr/matlab/gap_height_map.m", "license": "bsd-3-clause", "size": 970} |
### File: towr/matlab/plot_rosbag.m
%% Plot towr rosbags in matlab
%
% The bags can be generated using
% towr_ros/src/exe/rosbag_geom_msg_extractor.cc.
%
% Author: Alexander Winkler
clc;
clear all;
%% Extract the desired 3D vectors from the bag
filePath = '~/Desktop/matlab_rdy.bag';
bag_all = rosbag(filePath);
t0 = ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "MATLAB", "repo_name": "minhanghuang/towr", "path": "towr/matlab/plot_rosbag.m", "license": "bsd-3-clause", "size": 3460} |
### File: towr/src/base_motion_constraint.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditio... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/base_motion_constraint.cc", "license": "bsd-3-clause", "size": 3816} |
### File: towr/src/biped_gait_generator.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/biped_gait_generator.cc", "license": "bsd-3-clause", "size": 5466} |
### File: towr/src/dynamic_constraint.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/dynamic_constraint.cc", "license": "bsd-3-clause", "size": 5109} |
### File: towr/src/dynamic_model.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are me... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/dynamic_model.cc", "license": "bsd-3-clause", "size": 2429} |
### File: towr/src/euler_converter.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/euler_converter.cc", "license": "bsd-3-clause", "size": 10302} |
### File: towr/src/force_constraint.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/force_constraint.cc", "license": "bsd-3-clause", "size": 6857} |
### File: towr/src/gait_generator.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/gait_generator.cc", "license": "bsd-3-clause", "size": 4783} |
### File: towr/src/height_map.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/height_map.cc", "license": "bsd-3-clause", "size": 5465} |
### File: towr/src/height_map_examples.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/height_map_examples.cc", "license": "bsd-3-clause", "size": 4457} |
### File: towr/src/linear_constraint.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions ar... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/linear_constraint.cc", "license": "bsd-3-clause", "size": 2723} |
### File: towr/src/monoped_gait_generator.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditio... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/monoped_gait_generator.cc", "license": "bsd-3-clause", "size": 3472} |
### File: towr/src/nlp_formulation.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/nlp_formulation.cc", "license": "bsd-3-clause", "size": 13669} |
### File: towr/src/node_cost.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/node_cost.cc", "license": "bsd-3-clause", "size": 2742} |
### File: towr/src/node_spline.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/node_spline.cc", "license": "bsd-3-clause", "size": 4054} |
### File: towr/src/nodes_observer.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/nodes_observer.cc", "license": "bsd-3-clause", "size": 1970} |
### File: towr/src/nodes_variables.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/nodes_variables.cc", "license": "bsd-3-clause", "size": 5476} |
### File: towr/src/nodes_variables_all.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/nodes_variables_all.cc", "license": "bsd-3-clause", "size": 2574} |
### File: towr/src/nodes_variables_phase_based.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following con... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/nodes_variables_phase_based.cc", "license": "bsd-3-clause", "size": 10046} |
### File: towr/src/parameters.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/parameters.cc", "license": "bsd-3-clause", "size": 4845} |
### File: towr/src/phase_durations.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/phase_durations.cc", "license": "bsd-3-clause", "size": 5477} |
### File: towr/src/phase_durations_observer.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following condit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/phase_durations_observer.cc", "license": "bsd-3-clause", "size": 2018} |
### File: towr/src/phase_spline.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/phase_spline.cc", "license": "bsd-3-clause", "size": 3949} |
### File: towr/src/polynomial.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/polynomial.cc", "license": "bsd-3-clause", "size": 7729} |
### File: towr/src/quadruped_gait_generator.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following condit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/quadruped_gait_generator.cc", "license": "bsd-3-clause", "size": 8798} |
### File: towr/src/range_of_motion_constraint.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following cond... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/range_of_motion_constraint.cc", "license": "bsd-3-clause", "size": 4455} |
### File: towr/src/robot_model.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/robot_model.cc", "license": "bsd-3-clause", "size": 2715} |
### File: towr/src/single_rigid_body_dynamics.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following cond... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/single_rigid_body_dynamics.cc", "license": "bsd-3-clause", "size": 6656} |
### File: towr/src/soft_constraint.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/soft_constraint.cc", "license": "bsd-3-clause", "size": 2648} |
### File: towr/src/spline.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* R... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/spline.cc", "license": "bsd-3-clause", "size": 3520} |
### File: towr/src/spline_acc_constraint.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following condition... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/spline_acc_constraint.cc", "license": "bsd-3-clause", "size": 3224} |
### File: towr/src/spline_holder.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are me... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/spline_holder.cc", "license": "bsd-3-clause", "size": 3474} |
### File: towr/src/state.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Re... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/state.cc", "license": "bsd-3-clause", "size": 2198} |
### File: towr/src/swing_constraint.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/swing_constraint.cc", "license": "bsd-3-clause", "size": 4399} |
### File: towr/src/terrain_constraint.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/terrain_constraint.cc", "license": "bsd-3-clause", "size": 3673} |
### File: towr/src/time_discretization_constraint.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/time_discretization_constraint.cc", "license": "bsd-3-clause", "size": 3192} |
### File: towr/src/total_duration_constraint.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following condi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/src/total_duration_constraint.cc", "license": "bsd-3-clause", "size": 2895} |
### File: towr/test/dynamic_constraint_test.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following condit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/test/dynamic_constraint_test.cc", "license": "bsd-3-clause", "size": 1927} |
### File: towr/test/dynamic_model_test.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/test/dynamic_model_test.cc", "license": "bsd-3-clause", "size": 1975} |
### File: towr/test/hopper_example.cc
/******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/towr", "path": "towr/test/hopper_example.cc", "license": "bsd-3-clause", "size": 5371} |
### File: towr_ros/CMakeLists.txt
cmake_minimum_required(VERSION 2.8.3)
project(towr_ros)
add_compile_options(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
roscpp
rosbag
std_msgs
visualization_msgs
message_generation
xpp_msgs
xpp_states
towr
)
## Generate messages in the 'msg' folder
add_messa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/towr", "path": "towr_ros/CMakeLists.txt", "license": "bsd-3-clause", "size": 3095} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.