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

Fixed missing imports. #2

Merged
merged 4 commits into from
Aug 3, 2023

Conversation

ACFleming
Copy link

Fixed error with teleop re gain vector length by creating custom function to convert list of str to int.
Also removed imports and functions which were causing issues

out = Vector3(msgIn.x, msgIn.y, msgIn.z);
}
}
// namespace tf2
Copy link
Owner

Choose a reason for hiding this comment

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

Check if this section is needed or if it can be removed

Copy link
Author

Choose a reason for hiding this comment

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

The fromMsg function causes a compilation error. Ros humble defines the same function in /opt/ros/humble/include/tf2_geometry_msgs/tf2_geometry_msgs/tf2_geometry_msgs.hpp.
From this, I believe it is correct to remove it, as the functionality is not lost, and keeping it in fact causes errors. I shall delete that function

@@ -26,7 +26,6 @@ Underwater environment with the ODE physics engine configured for vehicles using
<arg name="debug" value="false"/>
<arg name="verbose" value="true"/>
<!-- TODO Remove force_system in foxy, as it will be loaded by default -->
Copy link
Owner

Choose a reason for hiding this comment

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

Remove comment

Copy link
Author

Choose a reason for hiding this comment

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

I will remove the corresponding comment from the other launch files as well

<launch>
<arg name="gui" default="true"/>
<arg name="paused" default="false"/>
<arg name="debug" default="false"/>
Copy link
Owner

Choose a reason for hiding this comment

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

Check how this could be reinstated

Copy link
Author

Choose a reason for hiding this comment

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

Reinstated

@@ -20,11 +20,10 @@
<arg name="use_sim_time" value="$(var use_sim_time)"/>
<arg name="gui" value="$(var gui)"/>
<arg name="headless" value="false"/>
<arg name="debug" value="$(var debug)"/>
<arg name="debug" value="false"/>
Copy link
Owner

Choose a reason for hiding this comment

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

Need to revert this change

Copy link
Author

Choose a reason for hiding this comment

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

Reverted

@davidorchansky davidorchansky changed the base branch from galactic-development to humble-development August 3, 2023 07:04
@davidorchansky davidorchansky merged commit adf0a21 into davidorchansky:humble-development Aug 3, 2023
davidorchansky added a commit that referenced this pull request Dec 18, 2023
davidorchansky added a commit that referenced this pull request Dec 18, 2023
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.

2 participants