Coder Social home page Coder Social logo

How can I train my dataset? about geosup HOT 3 CLOSED

feixh avatar feixh commented on September 21, 2024
How can I train my dataset?

from geosup.

Comments (3)

feixh avatar feixh commented on September 21, 2024

Rg is a 3x3 rotation matrix to bring the direction of gravity from the inertial frame (or world frame if the world frame coincides with the inertial frame) to camera frame. In the figure you showed, let's say gravity has direction a=(0, 0, -1) in the inertial/world frame meaning it points to the negative z axis. In your camera frame, the direction of gravity points to the positive y direction, i.e., having coordinates b=(0, 1, 0). Then, Rg is such that b=Rg a. You can find Rg is
[[1, 0, 0],
[0, 0, -1],
[0, 1, 0]] in this case.

from geosup.

sungonce avatar sungonce commented on September 21, 2024

thanks! I understand about Rg with your kind explanation :D
And how about wgc? What is wgc exactly(what is the base coordinate system of wgc) and how can i make it with given information?

from geosup.

feixh avatar feixh commented on September 21, 2024

By "wgc", do you mean g_{wc}? That's the rigid body transformation from camera (c) at current time step to world (w) with world being the inertial/spatial frame. If you have a VIO system, the world frame should be accordingly defined. In the example above, if Rg defined in world frame reads Rg_in_world = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]. And the rotation part of g_{wc} is R_{wc} = [[1, 0, 0], [0, 0, 1], [0, -1, 0]].
So to bring gravity to your current camera frame you have Rg_in_camera = R_{wc}.inv() * Rg_in_world

from geosup.

Related Issues (3)

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.