Welcome to Group4_BMI’s documentation!
This is the code documentation
Indices and tables
BoMI Solution Script
- platform
Unix
- synopsis
Python module for the user Interface
This script implements the solution of a BoMI
- class solution.Solution(MainApplication, parent, win)[source]
Provides the implementation of the code for the given tasks
- check_mouse_stability()[source]
Checks if the mouse is within the bounds of a section for selection
- Returns
True if it is in bounds - False if it is out of bounds
- Return type
Bool
- click_real_mouse()[source]
Intializes the left click of the mouse First, checks mouse stability, Based off stability for a set amount of time, initiates left click function.
- move_mobile_robot(r)[source]
Moves the kuka Mobile robot in the coppeliasim scene. With a delta time implementation of 2 seconds.
- Parameters
r (object) – Object with attributes of the reaching task
- move_parallel_manipulator(r)[source]
Moves the parallel Manipulator robot in the coppeliasim scene with position control.
- Parameters
r (object) – Object with attributes of the reaching task
- move_planar_manipulator(r)[source]
Moves the planar Manipulator robot in the coppeliasim scene with position control.
- Parameters
r (object) – Object with attributes of the reaching task
- move_real_mouse(r)[source]
This function takes coordinates from the reaching class and moves the real mouse of the computer
- Parameters
r (object) – Object with attributes of the reaching task
Manipulator Controller Script
- platform
Unix
- synopsis
Python module for the position controller of the manipulator
This script implements the position controller of the manipulator
Kuka Controller Script
- platform
Unix
- synopsis
Python module for the position controller of the kuka robot
This script implements the position controller of the kuka robot
- class CoppeliaSim.scripts.kuka_controller.KukaMobileRobot[source]
A class responsible for communicating with the Kuka mobile robot and controlling it
- get_required_velocity()[source]
Computes the required x and y velocities to be sent to the robot based on the distance to the target The velocities are multiplied by a gain SPEED
- move_mobile_robot(x, y)[source]
responsible for moving the mobile robot given a target position x and y It gets the required x and y velocities for the robot using the function get_required_velocity() and sets the motor velocity values based on these velocities :param x: the target x position :param y: the target y position :return: