Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、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.