Jump to content

Cian Montgomery

Eurobricks New Members
  • Posts

    2
  • Joined

  • Last visited

About Cian Montgomery

Spam Prevention

  • What is favorite LEGO theme? (we need this info to prevent spam)
    technics
  • Which LEGO set did you recently purchase or build?
    LEGO The Razor Crest Playset 75292

Profile Information

  • Gender
    Male

Extra

  • Country
    United States

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for the response, Mapping the radiusof the joystick position to the velocity in place of the y axis improves the behavior. The full expression to map to the speed input is (|y|/y)*SQRT(y^2 + x^2) Here is an image of the final program. There is still an issue with the direction of on of my motors. I suspect that that has to do with the gearing I am using rather then the control code.
  2. Hi, I have been working a simple speed based steering project using Lego powered up app(v3.6.0) and a Technic Hub (88012) and 2 Technic XL motors. I can't seem to get the programming blocks to behave in a sensible manner. If anyone has any pointers on how to get these blocks to work it would be appreciated. Most of my efforts have been based on guesses, trial and error, and the few references I can find online. My program and controls are as follows, My expected/desired behavior is that when the joy stick is - to the top both tracks are 100% forward - to the Bottom both tracks are 100% backwards - to the left - left tracks is backwards and right track is fowards - to the right - right tracks is backwards and left track is fowards The actual behavior is - to the top both tracks barely crawl forward - to the Bottom both barely crawl backwards - to the left - left tracks is backwards and right track is fowards (seems correct) - to the right - right tracks is backwards and left track is fowards (seems correct) (note the axis of the joystick are reversed from what I think they should be but that gives close to desired results.) According to this reference https://racingbrick.com/powered-up-code-block-guide-full/ (the only one that I can find on the powered up blocks, although it is for an older version of the app. ). Sets the speed (-100..100) of a pair of tacho motors on the defined ports (AB or CD) with the steering direction (-100..100) defining a tank steering style behavior. 0 sets equal power to both outputs, 50 only powers one motor and 100 powers the motors in opposite directions. Positive-negative value for steering defines the direction. Which match the the values I see on the guages. The build looks as follows. No tracks untill I can get the motors to go correctly.
×
×
  • Create New...