Giter Club home page Giter Club logo

ydlidarcar's People

Contributors

schwaneberg avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

ydlidarcar's Issues

YdLidar on raspbian

Hi! I am trying to make the YdLidar X4 function properly on the raspberry pi 3 b+ since the results i'm getting from the company sdk are pretty bad ( the program returns almost 50% zeros even in a perfectly squared room with no movement). I found out your project and i was trying to modify it a bit in order to get the hoped results but i can't seem to be able to compile your YdLidar sdk. Could you give me a hand?
I just tried to modify the main.cpp and compiled it with the raspbian g++ command but i get just undefined reference as errors...
main.txt

Connecting two large EV3 motors

Hello!
I have a slightly changed vehicle and I am looking for a solution to initialize another large motor.
I change the CarControl.h from:

  CarControl();
  virtual ~CarControl();
  ev3dev::large_motor driveMotor;
  ev3dev::medium_motor steeringMotor;
  ev3dev::touch_sensor bumperSensor;

to:

  CarControl();
  virtual ~CarControl();
  ev3dev::large_motor leftMotor(ev3dev::OUTPUT_A);
  ev3dev::large_motor rightMotor(ev3dev::OUTPUT_D);
  ev3dev::medium_motor steeringMotor;
  ev3dev::touch_sensor bumperSensor;

but that seems to be the wrong syntax.
I also tried:

leftMotor(outA);
leftMotor(ev3dev::outA);
but they are not working either.

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.