Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证FISS & FISS+: Fast Iterative Search and Sampling trajectory planners for autonomous driving (with FOP baselines). C++17 core, Python, ROS 2 / ROS 1, Lanelet2, CARLA, MPC
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗News — v1.0.0 (October 2026). FISS, FISS+ and the FOP baselines are now one project, here: a C++17 core with
pip install fiss-planner, ROS 2 / ROS 1 nodes and CARLA / CommonRoad / Lanelet2 support. It continues the formerfrenet_planner(frenet_optimal_planner) andfiss_plus_plannerrepositories. Announcement · Release notes
fop, fop_plus, fiss and fiss_plus with one parameter, even while the vehicle is driving.pip install fiss-planner, ROS 2 components, a ROS 1 node, or plain CMake.pip install fiss-planner
import numpy as np
import fiss_planner as fp
x = np.arange(0.0, 300.0, 5.0)
road = fp.ReferenceLine(x, np.zeros_like(x)) # any polyline
lanes = fp.Corridor.parallel_lanes(0.0, road.length, 3.5, 1, 0) # ego lane + one lane to the left
parked = fp.predict_constant_velocity(1, 45.0, 0.0, 0.0, 0.0, 4.5, 1.9, horizon=6.0, dt=0.1)
planner = fp.make_planner(fp.make_config("fiss_plus"))
result = planner.plan(fp.FrenetState(s=10.0, s_d=10.0), road, lanes, [parked], target_speed=12.0)
print(result.success, result.trajectory.lane) # True 1 -> overtakes in the left lane, in < 1 ms
fp.LocalPlanner wraps the whole pipeline (map, stitching, speed policy, smoothing, fail-safes): call step(t, ego, obstacles) every cycle. See the notebook and the Python guide.
ROS 2
ros2 launch fiss_planner_ros2 planner.launch.py odom:=/localization/odom \
obstacles:=/perception/obstacles lanelet2_map:=/maps/town.osm controller:=true
ros2 param set /fiss_planner planner.type fiss # switch planners live
The planner node publishes ~/trajectory (time-parameterized x, y, yaw, v, a, κ), ~/path, ~/candidates, ~/markers (scene; rviz:=true opens RViz 2) and ~/stats. The controller node publishes ackermann_msgs/AckermannDriveStamped. ROS 1 Noetic has the same interface (roslaunch fiss_planner_ros1 planner.launch). See docs/ros.md.
| How it searches | Paper | |
|---|---|---|
fop | generates every candidate, keeps the cheapest valid one | Werling et al., ICRA 2010 |
fop_plus | generates every candidate, validates lazily in cost order | |
fiss | iterative search over the end-state grid, guided by the previous solution | Sun et al., RA-L 2022 |
fiss_plus | best-first exploration plus continuous end-state refinement | Sun et al., IROS 2023 |
All four share sampling, costs and validation, so they are directly comparable and interchangeable.
The code as published with the papers is kept at tag paper-ral2022 (FISS) of this repository and at fiss_plus_planner@paper-iros2023 (FISS+).
CommonRoad, closed loop. 280 public scenarios: all 130 NGSIM recordings plus 150 hand-crafted ones. Success uses the official CommonRoad goal check (place, time window, speed and heading) with no collision and no road-boundary violation. The QP smoother is on.
| Planner | Success | Collision | Plan time (mean) | Trajectories per cycle |
|---|---|---|---|---|
fop | 76.1 % | 2.1 % | 9.1 ms | 210 |
fop_plus | 76.1 % | 2.1 % | 1.2 ms | 210 generated · 14 validated |
fiss | 75.7 % | 1.8 % | 0.7 ms | 19 |
fiss_plus | 74.6 % | 2.1 % | 0.9 ms | 44 |
Keeping distance cuts the time spent below 1 s of headway to under a third and more than halves the runs that come within 0.5 m of another road user, at the same collision rate. In the replayed logs it costs success, because recorded traffic does not open the gaps it asks for. With predictions from the current state only, map-aware lane-following prediction succeeds in 70.7 % against 69.3 % for constant velocity, with fewer collisions.
CARLA 0.9.16, closed loop.
ROS 2 bag replay. 20 NGSIM recordings were replayed through the ROS 2 node. Plans stay within 1.3–1.4 m of the human driver's path over 3 s on average, at 2.4–3.2 ms per node cycle (FOP+, FISS, FISS+).
Full tables, protocols and ablations are in docs/benchmarks.md; raw results are in benchmarks/results/.
| Python | pip install fiss-planner (Linux, macOS; Python 3.10–3.13) |
| ROS 2 | fiss_planner_ros2: Jazzy, Humble; component nodes, live parameters |
| ROS 1 | fiss_planner_ros1: Noetic; dynamic_reconfigure |
| Maps | Lanelet2 (C++ adapter with routing), CommonRoad, CARLA |
| Simulation | CommonRoad closed-loop benchmark, CARLA closed loop and video recorder, ROS 2 bag tools |
| C++ | find_package(fiss_planner); only yaml-cpp, plus OSQP for the optional smoother/MPC |
git clone https://github.com/SS47816/fiss_planner.git && cd fiss_planner
# with pixi (no root needed; ROS from RoboStack)
pixi run test # C++ core (GoogleTest)
pixi run -e bench py-test # Python bindings
pixi run -e jazzy ros2-test # ROS 2 packages
pixi run -e noetic ros1-test # ROS 1 packages
# or into a ROS 2 workspace
colcon build --base-paths fiss_planner/{core,msgs,ros/ros2}
python benchmarks/commonroad/fetch_scenarios.py --out data/cache/scenarios --bench-set data/cache/bench_set
pixi run -e bench python -m fiss_planner.commonroad.benchmark --scenarios data/cache/bench_set --smoother
pixi run -e bench python -m fiss_planner.commonroad.demo data/cache/bench_set/ZAM_Zip-1_50_T-1.xml \
--panels fop fiss fiss_plus --gif compare.gif
# CARLA (start $CARLA_ROOT/CarlaUE4.sh -RenderOffScreen first)
pixi run -e carla python -m fiss_planner.carla.closed_loop --planner fop fiss fiss_plus
pixi run -e carla python -m fiss_planner.carla.record --scenario cut_in --mp4 cut_in.mp4
flowchart LR
M[Lanelet2 / CommonRoad / CARLA map] --> R[Route corridor: reference line + lane bands]
O[Obstacles + predictions] --> P
E[Ego state] --> S[Stitching] --> P
R --> P["Planner: FOP | FOP+ | FISS | FISS+"]
P --> Q[QP smoother - optional]
Q --> T[Trajectory] --> C[MPC / Stanley]
End states are sampled over lateral offset (per lane) × target speed × horizon. Lateral motion is a quintic polynomial and longitudinal motion a quartic; both are converted to Cartesian space analytically. The planners differ only in how they search this grid. See docs/concepts.md.
If this project helps your research, please cite:
@article{sun2022fiss,
author = {Sun, Shuo and Liu, Zhiyang and Yin, Huan and Ang, Marcelo H.},
title = {{FISS}: A Trajectory Planning Framework Using Fast Iterative Search and Sampling Strategy for Autonomous Driving},
journal = {IEEE Robotics and Automation Letters},
volume = {7}, number = {4}, pages = {9985--9992}, year = {2022},
doi = {10.1109/LRA.2022.3191940}
}
@inproceedings{sun2023fissplus,
author = {Sun, Shuo and Chen, Jie and Sun, Jiawei and Yuan, Chengran and Li, Yuanchen and Zhang, Tangyike and Ang, Marcelo H.},
title = {{FISS+}: Efficient and Focused Trajectory Generation and Refinement Using Fast Iterative Search and Sampling Strategy},
booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
pages = {10527--10534}, year = {2023},
doi = {10.1109/IROS55552.2023.10341498}
}
Issues, discussions and pull requests are welcome; see CONTRIBUTING.md.
Licensed under Apache-2.0.