Skip to content

Repository files navigation

Current Installation instructions:

Note:

I can not attest that these instructions will work for everyone as I probably forgot a step or two somewhere. Though just send a message and I will probably remember what I missed once I see the problem.

Setting up the camara for those using wsl (Itzi you don't need to do this):

On the windows side you are going to want to use usbipd-win.

  1. Download the .msi version as it is easy then building from source. usbipd-win I think that we all use x64 arch., but if you want to make sure press ⊞ Win + r,type msinfo, and click okay. You should see this. alt text System Type is what you should pay attention to.

  2. Run the program

  3. Once it is done installing open command prompt as administrator.

  4. If usbipd installed correctly, you should be able to run

    usbipd list 

    This is what appears when I run it. alt text These are the devices you currently have connected to your computer. Your camara should be appearing here.

  5. We are going to be sharing the device by using the bind command. The bus id is of the camara is what you need to do it. My is 4-7; yours will most likely be different. Replace the busid with your own.

    usbipd bind --busid <busid>

    Once done you should be able to run again

    usbipd list 

    and see that the camara is now in the sharing state. alt text You can now close this window.

  6. Open a new command prompt window, but this time do not do it in administrator mode. We are going to be attaching the camara to wsl now. Run the following command with the same busid you used last time.

    usbipd attach --wsl --busid <busid>

    You should see something like this. alt text And we are done with this. You can confirm that it worked by running in wsl

    lsusb

    and seeing something like this alt text

Setting up the enviroment:

Here comes the diffcult part Oh thank God.

  1. Create a folder that you are going to be storing everything in. In my case I called final_ros_ws.

Note

This is not the actual ros workspace. I am just too lazy to change it.

  1. Wait I want to try something

Setting up the enviroment(much easier version):

  1. Source ros as you usually do
    source /opt/ros/humble/setup.bash 
  2. Clone the repo
    git clone https://github.com/TotalNoob1/AI-Final-Project-.git
  3. Source the install bash.
    source AI-Final-Project-/ros_pack/install/setup.bash
  4. Go into the newly created directory.
    cd AI-Final-Project-
  5. Run colcon build in ros_pack
    cd ros_pack
    colcon build 
  6. You should be able to now run the program.
    ros2 launch final_project ai_gesture.launch.py
    I added two extra lines to show that it is working, but you should remove those once you confirm that it is. They are in gesture_control.

TODO

There are still bugs throughout the program and improvements to be made, and I am going to be fixing them as the week goes by. Though I won't say no to any help. We are still have to connect this to the virtual simulator. I can do it, but like I said I would not say no to help.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages