Coder Social home page Coder Social logo

cyber-shopper's Introduction

ENPM 662: Project 2

Project title: Cyber Shopper

Dependencies:

  • sympy
  • math
  • numpy
  • sys
  • ROS Controller package and controller manager
sudo apt install ros-galactic-ros2-control ros-galactic-ros2-controllers ros-galactic-gazebo-ros2-control
sudo apt-get install ros-galactic-controller-manager
  • Make sure that you start the controllers after spawning the robot
ros2 control load_controller --set-state start joint_state_broadcaster

ros2 control load_controller --set-state start velocity_controller

ros2 control load_controller --set-state start position_controller

Steps to execute the project:

  • Create a ROS2 workspace.

  • git clone the package in your ros2 workspace.:

cd ros2_ws/src
git clone "link to repository"
  • Source your bashrc and ROS2 version, build your package, and Source your workspace.
cd ros2_ws/
source /opt/ros/galactic/setup.bash
colcon build
source install/setup.bash
  • To spawn the model in empty world for teleop:
source ~/workspace/install/setup.bash
ros2 launch cyber_shopper gazebo.launch.py

Then open second terminal:-

source ~/workspace/install/setup.bash
ros2 run cyber_shopper teleoperation.py
  • To visualize model in RViz with joint sliders:
ros2 launch cyber_shopper display.launch.py
  • To visualize the inverse kinematic validation in gazebo:
source ~/workspace/install/setup.bash
ros2 launch cyber_shopper gazebo.launch.py

In the second terminal, run the following command:

ros2 run cyber_shopper circle_new.py
  • UR5_Kinematics.ipynb file was used to perform Forward Kinematics and Inverse Kinematics
  • CAD files in two folders named: CAD Assembly files
  • To run the proportional controller make sure the position and orientation values in spawn_robot_ros2.launch.py are 0. For running the proportional controller
source WS_DIRECTORY/install/setup.bash
ros2 launch cyber_shopper gazebo.launch.py
ros2 run cyber_shopper proportional_controller.py

Results:

cyber-shopper's People

Contributors

mayankysharma avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.