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

Change generated location ros1 #49

Closed

Conversation

Rick-v-E
Copy link
Member

@Rick-v-E Rick-v-E commented Jun 25, 2023

This will change the location of all generated files to $ROS_HOME/virtual_maize_field, which is by default ~/.ros/virtual_maize_field, instead of the world, gt, map and launch folder.

This is needed when converting this into an official ROS package, otherwise these files will be generated somewhere in /opt/ros/noetic/share, which will require sudo to write.

This is however a breaking change, everyone should change their launch file from:

<include file="$(find virtual_maize_field)/virtual_maize_field/launch/robot_spawner.launch">
    <arg name="robot_name" value="<<robot_name>>"/>
  </include>

to:

<include file="$(optenv ROS_HOME ~/.ros)/virtual_maize_field/robot_spawner.launch">
    <arg name="robot_name" value="<<robot_name>>"/>
  </include>

Related: #48

@Rick-v-E Rick-v-E mentioned this pull request May 26, 2023
6 tasks
@Rick-v-E
Copy link
Member Author

Close because merge conflict. #55

@Rick-v-E Rick-v-E closed this Jan 18, 2024
@Rick-v-E Rick-v-E deleted the change-generated-location-ros1 branch January 18, 2024 21:04
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.

1 participant