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

[Question] /viplanner/.[inference,jetson] #55

Open
AugWrite opened this issue Dec 10, 2024 · 3 comments
Open

[Question] /viplanner/.[inference,jetson] #55

AugWrite opened this issue Dec 10, 2024 · 3 comments

Comments

@AugWrite
Copy link

Question

'The command '/bin/sh -c pip3 install --user -e /viplanner/.[inference,jetson]' returned a non-zero code: 1

this document doesn't have setup.py?

@pascal-roth
Copy link
Collaborator

What is the error message?

@AugWrite
Copy link
Author

Thank you for your reply. I have understood the issue. However, I have encountered a new problem. I want to deploy a Docker environment and the viplanner project on a robotic dog. My version is r35.4.1. I tried using the dustynv/l4t-pytorch:r35.4.1 image as the base image and executed the build.sh script inside it to install and configure ROS. However, it seems there are persistent issues with ROS.

After successfully deploying the new environment and running catkin build viplanner_pkgs, the following output appears. There are no errors, but the build does not proceed as expected.

I am unable to pinpoint the cause of the issue. Am I using the wrong base image, or is there another problem?
yidongbangong20241211192324Subsequently, I tried other methods to install ROS1, but encountered errors. “E: Sub-process /usr/bin/dpkg returned an error code (1)
Run CMD Task:[sudo apt install python3-rosdep -y]

@AugWrite AugWrite reopened this Dec 11, 2024
@pascal-roth
Copy link
Collaborator

pascal-roth commented Dec 12, 2024

Also inside the docker you have to create a catkin_ws. Basically execute the following commands before running the build process:

'''

mkdir -p ~/catkin_ws/src
source /opt/ros/noetic/setup.bash
cd ~/catkin_ws
catkin init
catkin config --extend /opt/ros/noetic
catkin config --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo

'''

Let me know if there are further issues.

One note, if you manage to run ViPlanner on a different hardware, please send a video and potentially a PR if changes are necessary.

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

No branches or pull requests

2 participants