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

Export OcTree #417

Merged
merged 7 commits into from
Sep 8, 2021
Merged

Export OcTree #417

merged 7 commits into from
Sep 8, 2021

Conversation

MatthijsBurgh
Copy link
Contributor

No description provided.

@MatthijsBurgh
Copy link
Contributor Author

@psaripp Could please look into why this doesn't build. You are the original author of this code if I am correct.

More robust to whitespace; fix dot bug (dots are any character in regex); Arguments are optional to constructors
Rename as to similar to OccupancyGrid*; Including seperation of all classes to their own file, needed by transpiler; Remove all seperate class property definitions; not supported by transpiler
@MatthijsBurgh MatthijsBurgh requested a review from jihoonl July 28, 2021 14:24
@MatthijsBurgh
Copy link
Contributor Author

@jihoonl Please be thorough on your review. I am not that sure about my work this time.

@MatthijsBurgh MatthijsBurgh changed the title Export OccupancyMap Export OcTree Jul 28, 2021
@jihoonl
Copy link
Member

jihoonl commented Jul 29, 2021

I agree with renaming to OccupancyMap to OcTree. It looked all good to me with a quick look. 😉
@MatthijsBurgh could you elaborate what your concern is?

@psaripp there are Octree module updates introduced in this PR. Would you double-check if it actually changes behavior of your code?

@MatthijsBurgh
Copy link
Contributor Author

@jihoonl especially the transpiler and the exports. I am not sure I should export more or less.

I don't think it is needed to export base classes that are only used inside other classes.

@MatthijsBurgh
Copy link
Contributor Author

@jihoonl especially the transpiler and the exports. I am not sure I should export more or less.

I don't think it is needed to export base classes that are only used inside other classes.

@jihoonl could you please take a look?

@trusktr
Copy link

trusktr commented Aug 31, 2021

Looks like you fixed the bug in es6-transpiler that I encountered in #438. I deleted es6-transpiler in that PR, it's not worth maintaining that.

@MatthijsBurgh
Copy link
Contributor Author

@trusktr I will merge this one. Can you update your PR(s) if needed?

@MatthijsBurgh MatthijsBurgh merged commit d3470f4 into develop Sep 8, 2021
@MatthijsBurgh MatthijsBurgh deleted the export/occupancymap branch September 8, 2021 19:44
@@ -407,13 +434,13 @@ ROS3D.OcTreeBase.prototype._buildFaces = function () {
_insertFace: function (face, pos, size, color) {
const indexCount = this.vertices.length / 3;

for (let vertex of face.vertices) {
face.vertices.forEach(function(vertex) {
Copy link

Choose a reason for hiding this comment

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

Why change all the for-of loops to forEach?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it was producing linting warnings/errors.

Copy link

Choose a reason for hiding this comment

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

Fixed in the other PR

trusktr added a commit to trusktr/ros3djs that referenced this pull request Sep 10, 2021
trusktr added a commit to trusktr/ros3djs that referenced this pull request Sep 10, 2021
k-aguete pushed a commit to k-aguete/ros3djs that referenced this pull request Oct 21, 2022
Bumps [karma](https://github.com/karma-runner/karma) from 3.1.4 to 6.3.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](karma-runner/karma@v3.1.4...v6.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

4 participants