Conversation
A1 control
Infra a analyze
Remove ibeo msg in setup_this_machine.sh
…into A4_planning_patrick
…t2 yeilding logic" This reverts commit 0300ba9.
Finish klampt_visualization and mpl_visualization in GEMstack/scripts/visualization.py
…and other vehicles
Integrate with log_dashboard and add visualization of traffic lights and other vehicles
…into sr_viz_shiyang
fix model not rendered error in production
| # fit a line/plane/hyperplane in a pointcloud | ||
| # pc: np array (N,D). the pointcloud | ||
| # tol: the tolerance. default 0.01 | ||
| model = RANSACRegressor(LinearRegression(), residual_threshold=tol) |
Check notice
Code scanning / SonarCloud
Results that depend on random number generation should be reproducible Low
|
|
||
| # Check if plots have been previously generated | ||
| if os.path.exists(cache_file): | ||
| with open(cache_file, "r") as f: |
Check failure
Code scanning / SonarCloud
I/O function calls should not be vulnerable to path injection attacks High
| trajectory_data = [] | ||
|
|
||
| # Parse behavior file | ||
| with open(behavior_file, "r") as f: |
Check failure
Code scanning / SonarCloud
I/O function calls should not be vulnerable to path injection attacks High
|
|
||
| # Cache plot file paths | ||
| plot_files = {"comprehensive": plot_path} | ||
| with open(cache_file, "w") as f: |
Check failure
Code scanning / SonarCloud
I/O function calls should not be vulnerable to path injection attacks High
| log_folder_path = os.path.join(LOG_DIR, log_folder) | ||
|
|
||
| # Find behavior.json file | ||
| behavior_files = [f for f in os.listdir(log_folder_path) if f == "behavior.json"] |
Check failure
Code scanning / SonarCloud
I/O function calls should not be vulnerable to path injection attacks High
| if not full_path.startswith(os.path.abspath(LOG_DIR)): | ||
| return "Invalid path", 400 | ||
| if not os.path.isdir(full_path): | ||
| return f"Folder does not exist: {folder}", 404 |
Check failure
Code scanning / SonarCloud
Endpoints should not be vulnerable to reflected cross-site scripting (XSS) attacks High
|
|
||
| try: | ||
| if platform.system() == "Windows": | ||
| os.system(f'explorer "{full_path}"') |
Check failure
Code scanning / SonarCloud
OS commands should not be vulnerable to command injection attacks High
| if platform.system() == "Windows": | ||
| os.system(f'explorer "{full_path}"') | ||
| elif platform.system() == "Linux": | ||
| os.system(f'xdg-open "{full_path}"') |
Check failure
Code scanning / SonarCloud
OS commands should not be vulnerable to command injection attacks High
| elif platform.system() == "Linux": | ||
| os.system(f'xdg-open "{full_path}"') | ||
| elif platform.system() == "Darwin": | ||
| os.system(f'open "{full_path}"') |
Check failure
Code scanning / SonarCloud
OS commands should not be vulnerable to command injection attacks High
| page = request.args.get("page", 1, type=int) | ||
|
|
||
| try: | ||
| with open(file_path, "r") as f: |
Check failure
Code scanning / SonarCloud
I/O function calls should not be vulnerable to path injection attacks High
krishauser
left a comment
There was a problem hiding this comment.
There are way too many files that are included here that are not relevant to the contribution (and are even regressions). Please reduce this to the minimal set of files needed to add the functionality that you are proposing.
There was a problem hiding this comment.
This conflicts with where perception is going to store the camera calibrations
Add traffic cones and vehicle info panel
…into sr_viz_dev
Rosbag image and point cloud viewer
|




No description provided.