Code Monkey home page Code Monkey logo

optimization-based-robot-control's People

Contributors

lorecol avatar lucazardini avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

lorecol

optimization-based-robot-control's Issues

Question 2: squat flag

Commenti:

  • posizione, velocità e accelerazione sugli assi x e y sono corrette con quelle richieste
  • posizione z invece molto più alta di quella desiderata (spiegare perché)
  • velocità z più o meno costante con quella desiderata
  • accelerazione z molto diversa da quella desiderata (perché)

Differenza tra la modifica di peso sullo squat e il proportional gain

Find a cost function better than the one provided by the template

Actually, the algorithm is not able to converge because the goal condition is too strict. Moreover, once the pendulum is able to reach the top high position, it starts simply to loop because the cost function is too simple and the torque never changes the sign

Question 3: push flag

Commenti:

  • il robot non cade
  • se cadesse, come potresti evitare che accada?
  • Essere in grado di resistere a cose esterne (fatto in intro to robotics, tira fuori le slide, e anche del prete se non sbaglio)

Git instructions

Prerequisite

Git commands

Git has several commands, the most important are:

Create or update the local repository

  • git clone: you can clone the repository on your local machine, by just typing the command followed by the link obtained under the button code in the main page of the repository.
  • git pull: once you have cloned the repository (you have a copy on your local machine), to get the new updates you need to pull the latest version of the repository.

Update the repository with changes done in local

When you have updated the code and you want to push the updates to the repository, you need to follow these steps:

  • git add: With this command, you can decide which files to add and push to the repository. If you want to add all the files, just type git add ., otherwise you need to specify which files you want to add.
  • git commit: this command should be run after an addition (git add). It basically creates the message that is used to trace the updates. The general command run is the following: git commit -m "your message"
  • git push: this command push what you have added and committed on the repository.

Other useful commands

  • git status: launching this command, you can see the status of the local repository with respect to the repository online. It defines also in which branch you are working on.
  • git fetch: this command checks if the local repository has all the branches of the repository and also checks if the branch where you are working on is updated or you need to do a pull.
  • git checkout: this command allows you to move to a different existing branch. The general usage is the following: git checkout other_branch_

Branch management

The general structure is the following:

  • main (the default), contains the code you are sure it is working
  • develop, contains the code you are developing
  • other branches, where you develop and test a specific part of the code. The name of these branches should be meaningful.

Create a new branch

It is possible to create a new branch both on your local machine and on the repository,

The easiest way to create a new branch is through the github repository interface.

In the code tab, if you click the main button, a dropdown with all the branches is displayed. To create a new branch, you just need to type the branch name and select the starting branch. It is a good practice that the branches for development start from the develop and will be closed in develop.

Merge branches

When you are done with your work in your branch, you can merge the changes in another branch. An example is the following: you have created a branch starting from develop, called very-cool-feature and you have finished your work. You have added, committed and pushed everything related to this feature in the repository and you want to add this new feature in the develop branch. The steps to perform this action are the following:

  • Checkout to the target branch (git checkout develop).
  • Merge the branch in the current branch (git merge very-cool-feature) and you are done!

It could be that there are some conflicts, and you need to solve them. The editor helps you to show the difference and resolve the conflicts.

How to compute the third order polynomial

Applied constraints:

  • At first time step, x0 = x in position 0, y0 = y in position 0 -> find a
  • At last time step, ddx = 0
  • At last time step, x = x final, y = y final
  • At last time step, dx = 0

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.