Git Product home page Git Product logo

Comments (9)

NikolasEnt avatar NikolasEnt commented on July 4, 2024

Hello! Did you complete the full installation path described in the install-ubuntu.sh file. It is very important to
See "Dependencies" section of the readme.md file as well. I've comleted the project quite while ago, so, some libraries may be updated and not compatible with the project.

from model-predictive-control.

chalsha avatar chalsha commented on July 4, 2024

Hey thanks for the help, it generated an executable pid file after running ./pid command and says Listening to port 4567
HELLO
How do I link that to the udacity simulator?

from model-predictive-control.

NikolasEnt avatar NikolasEnt commented on July 4, 2024

As far as I can remember the project, you just have to start your script and the simulator in correct order. Of course, if you run them locally.

from model-predictive-control.

chalsha avatar chalsha commented on July 4, 2024

Okay! I hope I am not bothering you and actually I downloaded two files for the simulator one is term2_sim_linux and the other is beta_simulator_linux. ./pid(CLIENT) is listening to the first simulator.

MY OBJECTIVE is somehow attack the car when it is going at 20mph to suddenly increase or decrease by 10mph. Do you think this is possible by manipulating your PID.cpp or main.cpp codes and how can I show that in the simulator? THANKS IN ADVANCE!!

from model-predictive-control.

chalsha avatar chalsha commented on July 4, 2024

Hi! Now I got to simulate your code, when I run in autonomous mode using "term2_sim_linux" simulator(server), it doesn't run properly for longer time , i mean the car is crashing towards one side.
DO I need to change the PID parameters of your code?

from model-predictive-control.

NikolasEnt avatar NikolasEnt commented on July 4, 2024

Well, I is quite possible. I observed that quality and performance of the controller depends on your computer. I faced the same issue when I tried to run my code on a laptop, after it was fine-tuned for the best performance on a PC. So, you may need to optimize the parameters on your own to meet your computer capabilities.

from model-predictive-control.

chalsha avatar chalsha commented on July 4, 2024

Thanks by the way!

from model-predictive-control.

NikolasEnt avatar NikolasEnt commented on July 4, 2024

Great, parameters tuning with patience is all what you need. Good luck with it!
Well, after the nanodegree I started working as a computer vision scientist. My main focus is real time video processing with artificial neural network. So, the program was quite helpful for career start.

from model-predictive-control.

bobo7727 avatar bobo7727 commented on July 4, 2024

Install uWebSockets

See Detail: https://github.com/udacity/CarND-Path-Planning-Project/blob/master/install-ubuntu.sh

sudo apt-get install libuv1-dev libssl-dev libz-dev
git clone https://github.com/uWebSockets/uWebSockets
cd uWebSockets
git checkout e94b6e1 #Important,CMakeList.txt in this commit.
mkdir build
cd build
cmake ..
make
sudo make install
sudo ln -s /usr/lib64/libuWS.so /usr/lib/libuWS.so #Important, link libuWS.so
sudo rm -r uWebSockets

from model-predictive-control.

Related Issues (2)

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.