- Custom socket manufacturing
- Servo control forevery motor
- Neglecting friction losees in torque calculation
- Four leds at the four cotrner of the charging socket on the car
- The mounting point wrt task space is shown in
/results/planning/workspace.png. - The working model of simscape environment animation is in
/results/simscape/videos/simscapeModel.avi. - MATLAB 3D world render showing complete cycle animation is in
/results/simscape/videos/MATLAB3D.avi. - Bill of materials is in
/CAD and analysis/Bill of Materials/. - Power consumption for multiple trajectories and the trajectory plots is in
/results/planning/energy_consumption_for_join_space_trajectories.png. - Pictures of the CAD model are present in
/results/CAD/.
- Planning
- CV
- Simulation
- The folder
Robot-Arm-Controlcontains MATLAB files used for path planning and robot arm characterization. main.mis used to initialize the robot DH parameters and collision boxes./RobotKinematicscontains files for forward and inverse kinematics, collision detection and transformation matrices./planningcontains files for joint space planning, energy computation and velocity planning./cartesian_straight_linecontains files used for straight line path in cartesian coordinates./torque_filescontains files used for computing torques for any configuration and kinematics./plottingcontains all the scripts used for generating plots.
- Load the
best.ptweight file using the commandmodel = torch.hub.load('ultralytics/yolov5', 'custom', path = {Path to 'best.pt' file} , force_reload=True) /CV.pyIt is a function which takes a loaded model, frame of the video and outputs coordinates of 4 points wrt to camera frame that has to be preloaded.- Monocular camera trajecrtory obtaining depths of 4 key point in mm
/Monocularcontains all the files for location estimation for circle, straight line and parallel using stereo and monocular estimations respectively. These codes were used to generate plots and animations to verify position and orientation results. Assumption: normal vectors of plane of charging port and camera plane are coplanar.Stereo/stereo_depth_sift.pyis the pipeline for the stereo depth estimation. Feature matching is done on the resized image using YOLO model using SIFT algorithm to calculate depth of the keypoints.Stereo/stereo.pyFeature matching is done using color thresholding and pose estimation of all keypoints is being done.
/Simscape Simulationcontains all the models and the dependent files for simulating the trajectory of the robot arm from any initial point to final point, where initial point is the current coniguration of the robot in joint space and desired/final point is provided as a transformation matrix from ground frame at the base of link 1 to desired pose.- In order to initiate the simulation, update the initial and final desired positions in
waypointGeneration.mfile. After running this script, run thefinalSimscapeModel.slxmodel. - The remaining files and folders contains the supporting files and models for running the Simscape model.
- The simulink model also launches the MATLAB 3D world, which was used for visualization and generating images for training the YOLO detection model.
This folder has the main assembly file named Solid model/jlr_robotic_charging_station.STEP . The FEM results are included in FEMSimulation(Ansys) folder. The BOM and the supporting docs are available in bill of materials.
All the animation and plots are contained in the respective folders.