Giter VIP home page Giter VIP logo

dira's Introduction

DiRa

alt text

DiRa Platform Website - update soon

DiRa Youtube Channel - update soon

Research Pages AutoRally is associated with:

  • link - update soon

Contributing

We welcome bug fixes, ehancements, new features, and feedback at: https://github.com/fpt-corp/DiRa/issues or email: [email protected]

Please contact to me before submit pull requests We use Gitflow, so master branch is reserved for releases.

Contents

  1. DiRa_Platform_Instructions - setup, construct, operate and assembley a complete physical Dira platform.
  2. DiRa_Software - software for DiRa research platform

The documents contained in this repository provide all of the information required to construct and operate a complete DiRa platform. The platform has two primary parts, the chassis and compute box. The platform has two version:

  • Pack1: Jetson TK1 with Scale AG car
  • Pack2: Jetson TX2 with Traxxas car

DiRa Platform Instructions

Getting started

Look though the documentation and Download Pack1 or Download Pack2 for our latest release. Look over the Getting Started section in the chassis and compute box instruction documents, followed by the parts list and the operating procedures to get a sense of the build process, skill requirements, fabrication methods, and testing procedures. The AutoRally platform can be fabricated by a small team (2-3 students) of non-professionals. The build will go most smoothly if there is at least one person on the team familiar with basic soldering, 3D printing, Ubuntu and ROS configuration. We also link to tutorials for all of the skills required, so any interested party can easily acquire them.

Include folder:

  1. Components - Spreadsheet of all parts required to build an DiRa Platform
  2. Design_File - CAD models and 3d deisgn components.
  3. Diagrams - Wiring diagrams for the custom DiRa car chassis and compute box assemblies.
  4. Hardware - Product support and extent sensor to Jetson. Power by FPT.
  5. Manuals - Product manuals for individual parts involved in the build.

DiRa Software

Getting started

After learning How to build a DiRa car with DiRa Platfrom Instructions, You can learn and change Software package. You need to start concerning Prerequisite learning programs in Reference folder

Include folder:

  1. Jetson_TK1 - Pack1 Platform software
  2. Jetson_TK2 - Pack2 Platform software
  3. Reference - Paper referent, Prerequisite learning programs, Code form Digital Race contest.

dira's People

Contributors

badungphan99 avatar dungvvo avatar hack4day avatar kinginthenet avatar lamhoangtung avatar linhndm avatar shirmplord avatar totai02 avatar tuanln avatar vietanh125 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dira's Issues

Unstable FPS on current simulator

Hi. I'm trying to run the simulator provided in here

The problem is sometimes the simulator run very well on my computer with 60-70+ FPS, but almost other time it only staying bellow 30 FPS, which is very annoying and hard to work with.

Here is my computer spec:

  • Dell G7-7588 with Ubuntu 18.04.3 LTS
  • Intel® Core™ i7-8750H CPU (6 cores)
  • 16 GB DDR4 RAM
  • GeForce GTX 1050 Ti 4GB
  • HDD only

Other small thing to note:

  • I have a dedicated monitor hook up to my machine via an HDMI cable, it's only 1080p at 60Hz, same as the laptop screen.

Seem more than enough to run the simulator + some mild computation. But the simulator alone already seems bad ;(

Before asking for help, I had make sure the following things:

  • Computer is plugged in and fully charged (Computer run on AC, not battery)
  • Installed proper Nvidia Driver for my graphics cards, update all the software in my OS.

Here are some proof that my computer can run the simulator very fast:

Screenshot from 2019-10-21 01-51-14
=> 70.5 FPS
Screenshot from 2019-10-21 01-56-04
=> 67.8 FPS
Screenshot from 2019-10-21 01-56-07
=> 66.9 FPS

Please notice on the right side of the screen, I have 2 monitor program opened up: htop for CPU + RAM monitoring, nvtop for GPU monitoring. So, when the simulator are RUNNING well:

  • CPU is at 10-20% utilization at each core
  • 5-6GB of RAM
  • GPU running arround 1700MHz with 50-65% utilization, GPU mem arround 3500MHz with ~2.1GB of VRAM

Here is when the simulator performing very slow:

Screenshot from 2019-10-27 17-42-25
=> 28.5 FPS, even when I just stand still
Screenshot from 2019-10-27 17-42-45
=> 19.7 FPS, too slow
Screenshot from 2019-10-27 17-43-09
=> 20.4 FPS

Let's take a look at the hardware monitor this time:

  • CPU is at 10-20% utilization at each core
  • 5-6GB of RAM\
  • GPU running arround 1700MHz with 35-45% utilization, GPU mem arround 3500MHz with ~2.1GB of VRAM

My Conclusion

By looking at the hardware monitor in 2 cases, I don't see any hardware throttling at all, everything stay pretty much the same except when the simulator perform slowly, the GPU utilization is a bit smaller. Which indicating that's something is wrong with the software so that it can not utilize all the hardware available ???

What did I have tried ?

I have spent quite a lot of time digging into this and have try the following thing:

  • Restart the OS
  • Reinstall nvidia driver, lul my GPU still working great with pytorch and keras after many reinstallation
  • Delete and download and extract the simulator again (both 3). I also see this same problem on lower setting version of the simulator
  • Disconnect external monitor and try to run on a single monitor only
  • Go to NVIDIA X Server Setting, try to increase the performance setting of OpenGL and turn off VSync (cause sometime I felt like the simulator is being cap at 30fps). Here are some setting that I have tried, mainly to increase the GPU performance
    Screenshot from 2019-10-27 17-56-15
    Screenshot from 2019-10-27 17-56-23
  • I even went as far as install this game optimizer for linux: https://github.com/FeralInteractive/gamemode

All the things above haven't resolve the issue. At this points, I haven't been able to run the simulator smoothly for the past 2 days.

Soo then, what can I do to potentially fix this problem ? Not buying a new machine or reinstall the whole OS from scratch of course ;(. I guess that there are some saved configuration file that I can delete to make unity reset its setting about my laptop .... but I don't know how to do that ....

Maybe you guys can add Vulkan support for this to make it run faster and more reliable I guess ....

I'm not sure. But I hope that you guys can help me, especially the one who wrote these simulator since this is happening with all of them.

Again, I would do anything to help you guys resolve this problem. Thanks you and looking for yours help soon ;(

Attempt to unlock mutex that was not locked when running ROS_Package_example

Hi, I'm trying to run this example code with 3 new simulator in here on:

  • Latest Ubuntu 18.04.3 LTS
  • Melodic ROS

I can comfirm that I've connected to the simulator from this log:

linus@linus-G7-7588:~/catkin_ws$ roslaunch video_stream video_stream.launch
....
 - rosbridge_library.capabilities.unadvertise_service.UnadvertiseService
[INFO] [1571632234.778425]: Rosbridge WebSocket server started on port 9090
[INFO] [1571632255.004101]: Client connected.  1 clients total.
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[INFO] [1571632255.346756]: [Client 0] Subscribed to team1/set_speed
[INFO] [1571632255.350429]: [Client 0] Subscribed to team1/set_angle
[INFO] [1571632255.353589]: [Client 0] Subscribed to team1/set_camera_angle

Here is the log when I try to run video_stream package:

linus@linus-G7-7588:~/catkin_ws$ rosrun video_stream video_stream _image_transport:=compressed
[ERROR] [1571632345.491481355]: Tried to advertise a service that is already advertised in this node [/video_stream/compressed/set_parameters]

(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.507: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.522: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.551: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.551: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.607: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.628: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Attempt to unlock mutex that was not locked
Aborted (core dumped)

And lane_detect:

linus@linus-G7-7588:~/catkin_ws$ rosrun lane_detect lane_detect _image_transport:=compressed

(View:22023): GLib-GObject-CRITICAL **: 11:32:28.029: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(View:22023): GLib-GObject-CRITICAL **: 11:32:28.060: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(View:22023): GLib-GObject-CRITICAL **: 11:32:28.085: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(View:22023): GLib-GObject-CRITICAL **: 11:32:28.086: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(View:22023): GLib-GObject-CRITICAL **: 11:32:28.133: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(View:22023): GLib-GObject-CRITICAL **: 11:32:28.164: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(View:22023): GLib-GObject-CRITICAL **: 11:32:28.165: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(View:22023): GLib-GObject-CRITICAL **: 11:32:28.166: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(View:22023): GLib-GObject-CRITICAL **: 11:32:28.166: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(View:22023): GLib-GObject-CRITICAL **: 11:32:28.166: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Attempt to unlock mutex that was not locked
Aborted (core dumped)

I've noticed some screen poped up after I ran the above code but then it quick disappear with exception.

Since I don't see any proper traceback ;( I really need you guys help here. Thanks a lot <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.