Skip to content

code clean up of moveit_core - #829

Closed
bailaC wants to merge 510 commits into
moveit:kinetic-develfrom
bailaC:kinetic-devel
Closed

bailaC wants to merge 510 commits into
moveit:kinetic-develfrom
bailaC:kinetic-devel

Conversation

@bailaC

@bailaC bailaC commented Apr 7, 2018 •

Copy link
Copy Markdown
Contributor

Description

The repetitive namespace declaration has been removed from all the spaces.

Checklist

  • Required: Code is auto formatted using clang-format
  • Extended the tutorials / documentation, if necessary reference
  • Include a screenshot if changing a GUI
  • Optional: Created tests, which fail without this PR reference
  • Optional: Decide if this should be cherry-picked to other current ROS branches (Indigo, Jade, Kinetic)

de-vri-es and others added 30 commits September 8, 2016 13:08
[indigo] Use MOVEIT_CLASS_FORWARD for the last shared_ptrs to moveit types
Update links in union constraint sampler and fix unit test.
* validate trajectory before execution

* addressed review comments

* moved validateTrajectory to TrajectoryExecutionManager

* addressed @davetcoleman's comments

* make allowed_start_tolerance dynamically configurable

* addressed @v4hn's comments

* moved validate to executeThread

* allow_start_tolerance == 0 disables trajectory validation

* moved validate to execute()

* add validation test

* increased default value for allowed_start_tolerance to 0.01
* re-added replaced constructors (but deprecated)
* issue error msg when CSM is invalid
* skip validation
We agreed that these huge "if() { ... }" blocks are hard to read and early-return
should be preferred. This is one of those cases.
Before the highlighed pair of links only updated when the mouse
was used to change the selection. This change also updates the preview
when using UP/DOWN on the keyboard.
This adds support for highlighting links in different colors
and
displays allowed collision pairs in green instead of red.

This makes it much more intuitive to review when going
through a *long* list of collision pairs. (>3500 pairs...)
This updates the color of the collision pair when you enable/disable
the allowed-collision checkbox.
Use current row to do highlighting of collision pairs
* msa: improve cmdline parsing

* invalid options caused an uncatched exception
* choose mode based on either cmdline option

* msa: use checkable buttons to switch between new/exist mode
The sampler uses the transforms, but never checked if they are dirty,
so it might return invalid/unexpected robot states.
* Copy collision_distance_field package
* Resurrect chomp
* remove some old Makefiles and manifests
* Correct various errors
* Code formatting, author, description, version, etc
* Add definitions for c++11. Nested templates problem.
* Add name to planner plugin.
* Change getJointModels to getActiveJointModels.
* Call robot_state::RobotState::update in setRobotStateFromPoint.
* Create README.md
* Improve package.xml, CMake config and other changes suggested by jrgnicho.
* Remove some commented code, add scaling factors to computeTimeStampes
* Add install targets in moveit_experimental and chomp
* Add install target for headers in chomp pkgs.
* Remove unnecessary debugging ROS_INFO.
* Port collision_distance_field test to indigo.
* Remove one assertion that makes collision_distance_field test to fail.
…nd attachObject() (#148)

Applying PlanningScene updates should behave identical to the asynchronous `attachObject()` regarding attached objects within the planning scene msg. 

The latter removes the collision object from the planning scene when attaching it to the robot, while 
the former didn't do yet. Hence, we call `processAttachedCollisionObjectMsg` in both situations now, to handle them equivalently.

To this end, first `robotStateMsgToRobotState` is called with a robot state without collision objects and in a second step, collision objects are processed via `processAttachedCollisionObjectMsg`.
* fix comments
* remind user to regenerate .setup_assistant
…be written due to changes

For now only implemented for author information.
However, other bits of information and their affected can be considered too.
- Set the appropriate bit in config_data_->changes.
- Define dependency of files on information fields via write_on_changes.
* re-check + re-issue warning when entering generation dialog multiple times
* mark conflicting files (modified externally and in MSA) with red color
* augmented warning about conflicting files
@davetcoleman

Copy link
Copy Markdown
Member

I do not want to merge this until #662 because it has some really valuable collision checking improvements that will conflict i think.

explicitly enforce updateSceneWithCurrentState() in waitForCurrentRobotState()
@davetcoleman

Copy link
Copy Markdown
Member

@bailaC could you rebase with the recent changes? then we can quickly merge this before more merge conflicts happen

@rhaschke

Copy link
Copy Markdown
Contributor

@bailaC could you rebase with the recent changes? then we can quickly merge this before more merge conflicts happen

Probably it's easier (and safer) to redo those automatic changes...

@bailaC

bailaC commented Apr 27, 2018

Copy link
Copy Markdown
Contributor Author

Sure @davetcoleman , @rhaschke ...I will do the rebase and commit asap.

@bailaC

bailaC commented Apr 28, 2018

Copy link
Copy Markdown
Contributor Author

I am getting too much conflicts for my forked repo. Give me some time to figure out things.

@bailaC

bailaC commented Apr 28, 2018

Copy link
Copy Markdown
Contributor Author

I think i made too much mistakes while rebasing my repo. I want to close this PR as I am not able to fix all these. I am very sorry for messing all these thing.

@rhaschke

Copy link
Copy Markdown
Contributor

@bailaC As stated above, I would have been easier to redo those changes. I guess you used some query-replace function on the whole repository anyway, didn't you?

@bailaC

bailaC commented Apr 28, 2018

Copy link
Copy Markdown
Contributor Author

Yes @rhaschke. I am on my way to redo those changes. Can i use this same PR for my changes again?

@rhaschke

Copy link
Copy Markdown
Contributor

@bailaC No, you need to create a new PR. I'm closing this one now.

@rhaschke rhaschke closed this Apr 28, 2018
JafarAbdi pushed a commit to JafarAbdi/moveit that referenced this pull request Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.