Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/perception visualization cleanup #1648

Merged
merged 84 commits into from
Dec 12, 2018

Conversation

amc-nu
Copy link
Member

@amc-nu amc-nu commented Oct 26, 2018

Status

PRODUCTION / DEVELOPMENT

Description

Implements autowarefoundation/autoware_ai#379

Related PRs

autowarefoundation/autoware_ai#378

Steps to Test or Reproduce

New VisualizationNode will subscribe to DetectedObjectArray and publish:

All the visualization Markers in a single topic
Matching the namespace of the array generator

This would remove the requirements of third party plugins for visualization.

* Removal of all visualization messages from perception nodes
* Visualization dependency removal
* Launch file modification
@k0suke-murakami
Copy link

It seems like there are 4 spaces indent in each block. That leads to modifications in every single code.
According to ros cpp guide, "Indent each block by 2 spaces. " link

Can you modify these part so that diff part would be more clarified?

@amc-nu
Copy link
Member Author

amc-nu commented Oct 31, 2018

got it @cirpue49 doesn't look good (IMO), but as you wish

@kfunaoka
Copy link

ROS clang-format formats code with IndentWidth = 2.

IndentWidth:     2

https://github.com/CPFL/Autoware/wiki/Contribution-Rules#ros-c-coding

@k0suke-murakami
Copy link

All you have to do is to run find . -name '*.h' -or -name '*.hpp' -or -name '*.cpp' | xargs clang-format-3.8 -i -style=file $1 after setting up in this page

This page can be reached from the webpage @kfunaoka posted.

Could you do this to keep the format for all the Autoware users/contributors?

@amc-nu
Copy link
Member Author

amc-nu commented Oct 31, 2018

It is already applied
-____-

@k0suke-murakami
Copy link

@amc-nu
Copy link
Member Author

amc-nu commented Oct 31, 2018

@cirpue49 Done
I recommend you not to use that code. It will apply a style different to http://wiki.ros.org/CppStyleGuide
Specially the Braces:
Both open and close, go on their own lines (no "cuddled braces")

@kfunaoka
Copy link

kfunaoka commented Nov 1, 2018

Copy link

@k0suke-murakami k0suke-murakami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

* 2D Rect node visualize_rects added to visualization_package
@amc-nu amc-nu merged commit 47d36ea into develop Dec 12, 2018
@amc-nu amc-nu deleted the feature/perception_visualization_cleanup branch December 12, 2018 11:23
@amc-nu amc-nu added this to the v1.10 milestone Dec 13, 2018
anubhavashok pushed a commit to NuronLabs/autoware.ai that referenced this pull request Sep 7, 2021
* * Initial commit for visualization package
* Removal of all visualization messages from perception nodes
* Visualization dependency removal
* Launch file modification

* * Fixes to visualization
* Error on Clustering CPU

* Reduce verbosity on markers

* intial commit

* * Changed to 2 spaces indentation
* Added README

* Fixed README messages type

* 2 space indenting

* ros clang format

* Publish acceleration and velocity from ukf tracker

* Remove hardcoded path

* Updated README

* updated prototype

* Prototype update for header and usage

* Removed unknown label from being reported

* Updated publishing orientation to match develop

* * Published all the trackers
* Added valid field for visualization and future compatibility with ADAS ROI filtering

* Add simple functions

* Refacor code

* * Reversed back UKF node to develop
* Formatted speed

* Refactor codes

* Refactor codes

* Refactor codes

* Refacor codes

* Make tracking visualization work

* Relay class info in tracker node

* Remove dependency to jskbbox and rosmarker in ukf tracker

* apply rosclang to ukf tracker

* Refactor codes

* Refactor codes

* add comment

* refactor codes

* Revert "Refactor codes"

This reverts commit 135aaac.

* Revert "apply rosclang to ukf tracker"

This reverts commit 4f8d1cb.

* Revert "Remove dependency to jskbbox and rosmarker in ukf tracker"

This reverts commit 4fa1dd4.

* Revert "Relay class info in tracker node"

This reverts commit 1637baa.

* delete dependency to jsk and remove pointcloud_frame

* get direction nis

* set velocity_reliable true in tracker node

* Add divided function

* add function

* Sanity checks

* Relay all the data from input DetectedObject

* Divided function work both for immukf and sukf

* Add comment

* Refactor codes

* Pass immukf test

* make direction assisted tracking work

* Visualization fixes

* Refacor codes

* Refactor codes

* Refactor codes

* refactor codes

* refactor codes

* Refactor codes

* refactor codes

* Tracker Merging step added

* Added launch file support for merging phase

* lane assisted with sukf

* Refactor codes

* Refactor codes

* * change only static objects
* keep label of the oldest tracker

* Static Object discrimination

* Non rotating bouding box

* no disappear if detector works

* Modify removeRedundant a bit

* Replacement of JSK visualization for RViz Native Markers

* Added Models namespace to visualization

* Naming change for matching the perception component graph

* * Added 3D Models for different classes in visualization
* 2D Rect node visualize_rects added to visualization_package
@mitsudome-r mitsudome-r added the version:autoware-ai Autoware.AI label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants