sketchucation logo sketchucation
    • Login
    1. Home
    2. Sofia Oliveira
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: MSPhysics 1.0.3 (16 October 2017)

      @anton_s said:

      I assume your speaking of the accelerometer that returns its own acceleration along three axis, am I right?

      The main problem were facing now is how to get accelerometer data into SketchUp?
      I don't know about Macs, but on PC we use Microsoft Windows API, [Raw Input](http://msdn.microsoft.com/en-us/library/windows/desktop/ms645536(v).

      The next question is using this accelerator data to control velocity of the particular body in MSPhysics. Of course, accelerometer data may be used for other purposes, but I assume you want to control body velocity with it. For instance, you move accelerometer to the right, the body moves to right as well.

      I'm sorry to say, but current version (0.1.0) of MSPhysics doesn't have a scripting feature, so we'll write the code for SketchyPhysics. I assume you have sketchy physics 3.2 installed on SketchUp 7 or on SketchUp 8.

      Before I attempt to write a script, I want you to verify what kind of accelerometer you're using. Perhaps a url to where you bought it would be helpful. ➡

      My accelerometer is a MPU9150 which is actually an IMU. My idea is, having a board with the MPU9150 and a Bluetooth Low Energy module (CC5541) that sends the values to a USB/BLE dongle (CC2540). The dongle is recognized by Windows as a Serial Port (COMxx). We master the Bluetooth component but we can’t get the accelerometer data into Sketchcup.

      We’ve made a DLL in C# that is able to get data from the IMU (via Bluetooth) and compute a x,y,z position from both accelerometer and gyroscope data. We would like to use this x,y,z coordinates to move a shape inside Sketchcup.

      My goal is that Sketchup, with these IMU values, make a movement on an object.

      posted in Plugins
      S
      Sofia Oliveira
    • RE: MSPhysics 1.0.3 (16 October 2017)

      @thomthom said:

      @sofia oliveira said:

      Hi! I am a student of electrotechnical engineering and i'm doing a project. I need a little help! How i get values from serial port to MSPhysics?

      Would help to be a bit more specific, like what data are you getting from the serial port and what do you want to use that data with in MSPhysics?

      Data from an accelerometer to move an object in MSPhysics.

      posted in Plugins
      S
      Sofia Oliveira
    • RE: MSPhysics 1.0.3 (16 October 2017)

      Hi! I am a student of electrotechnical engineering and i'm doing a project. I need a little help! How i get values from serial port to MSPhysics?

      posted in Plugins
      S
      Sofia Oliveira
    • RE: Read Serial port or USB interface

      Hi! I am a student of electrotechnical engineering and i'm doing a project. I need a little help! How i get values from serial port to sketchyphysics?

      posted in Developers' Forum
      S
      Sofia Oliveira
    • Get values from serial port to sketchyphysics

      Hi! I am a student of electrotechnical engineering and i'm doing a project. I need a little help! How i get values from serial port to sketchyphysics?

      posted in SketchUp Feature Requests sketchup
      S
      Sofia Oliveira
    • 1 / 1