-
Notifications
You must be signed in to change notification settings - Fork 0
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
Package to run andino_isaac #9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a low LOGAF comment, otherwise it looks cool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd ignore .thumbs
@@ -0,0 +1,62 @@ | |||
import argparse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation looks weird, please use spaces and check the number of spaces you're using.
Also, would be good to be able to select headless (True/False), and renderer (RayTracedLighting, PathTracing) but that can be added to a separate ticket.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Greeat! Some minor comments
# Paths to places | ||
pkg_andino_isaac_path = get_package_share_directory('andino_isaac') | ||
user_home_path = os.path.expanduser("~") | ||
isaac_install_path = os.path.join(user_home_path, ".local/share/ov/pkg/isaac_sim-2023.1.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is user dependant. Create an issue to find this automatically. (Same thing for hte LD Libraty Path)
Alternatively we could have a launch argument to provide the path to the isaac installation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can go a little further, checking if the ~/.local/share/ov/pkg/
exists, getting all the folders starting with isaac_sim-
, sort by name, and use latest (In fact, you're not using 2023.1.0-hotfix, so this wouldn't work on most users computers since the version you're using is discouraged). Alternatively, if the path mentioned above does not exist, we should check /isaac-sim
which is install folder in Nvidia's container.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference between just_andino and andino_isaac?
Can we rename the files to be more descriptive? Also information in the readme about the available usda might super useful
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be added in #11
@BarceloChristian @francocipollone Comments addresesd. I'll create the requested issues once this is merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go for it 🚀
Closes #3
This converts the repository into a ROS2 package that has the ability to run isaac with a given world and robot via a launchfile.
ros2 launch andino_isaac andino_isaac.launch.py --world_name plain_world.usda --robot_name just_andino.usda
(this will load the default arguments)