{"id":14992262,"url":"https://github.com/openrr/trajectory","last_synced_at":"2025-05-04T07:30:58.834Z","repository":{"id":43001652,"uuid":"115342049","full_name":"openrr/trajectory","owner":"openrr","description":"trajectory interpolation library for Rust and robotics","archived":false,"fork":false,"pushed_at":"2024-12-26T02:49:01.000Z","size":134,"stargazers_count":28,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-30T23:04:42.111Z","etag":null,"topics":["cubic-splines","interpolation","robotics","rust","spline"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openrr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-12-25T14:02:19.000Z","updated_at":"2025-02-14T17:33:01.000Z","dependencies_parsed_at":"2024-01-23T06:28:46.845Z","dependency_job_id":"28788177-51eb-40e9-8451-d1e217f4dfd9","html_url":"https://github.com/openrr/trajectory","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":0.3157894736842105,"last_synced_commit":"3c0a05501dbcf58276a99e1d33fdbb29709e41c4"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openrr%2Ftrajectory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openrr%2Ftrajectory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openrr%2Ftrajectory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openrr%2Ftrajectory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openrr","download_url":"https://codeload.github.com/openrr/trajectory/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252304454,"owners_count":21726610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cubic-splines","interpolation","robotics","rust","spline"],"created_at":"2024-09-24T15:00:53.828Z","updated_at":"2025-05-04T07:30:58.551Z","avatar_url":"https://github.com/openrr.png","language":"Rust","funding_links":[],"categories":["Path Planning"],"sub_categories":[],"readme":"# trajectory\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/openrr/trajectory/ci.yml?branch=main\u0026logo=github)](https://github.com/openrr/trajectory/actions) [![crates.io](https://img.shields.io/crates/v/trajectory.svg?logo=rust)](https://crates.io/crates/trajectory) [![docs](https://docs.rs/trajectory/badge.svg)](https://docs.rs/trajectory) [![discord](https://dcbadge.vercel.app/api/server/8DAFFKc88B?style=flat)](https://discord.gg/8DAFFKc88B)\n\nTrajectory interpolator for Rust.\n\n## Code example\n\n```rust\nuse trajectory::{CubicSpline, Trajectory};\n\nlet times = vec![0.0_f64, 1.0, 3.0, 4.0];\nlet points = vec![\n    vec![0.0, -1.0],\n    vec![2.0, -3.0],\n    vec![3.0, 3.0],\n    vec![1.0, 5.0],\n];\nlet ip = CubicSpline::new(times, points).unwrap();\nfor i in 0..400 {\n    let t = i as f64 * 0.01_f64;\n    let p = ip.position(t).unwrap();\n    let v = ip.velocity(t).unwrap();\n    let a = ip.acceleration(t).unwrap();\n}\n```\n\n## Run example\n\nIt requires `gnuplot`.\n\n```bash\ncargo run --example plot\n```\n\n![plot1](https://github.com/openrr/trajectory/raw/main/img/plot1.png)\n![plot2](https://github.com/openrr/trajectory/raw/main/img/plot2.png)\n\n## `OpenRR` Community\n\n[Here](https://discord.gg/8DAFFKc88B) is a discord server for `OpenRR` users and developers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenrr%2Ftrajectory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenrr%2Ftrajectory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenrr%2Ftrajectory/lists"}