'잡동사니'에 해당되는 글 13318건

  1. 2020.11.05 NMEA / GPS 날짜&시간
  2. 2020.11.05 c# gps(nmea parser)
  3. 2020.11.04 c# label rotate
  4. 2020.11.04 c# tooltip
  5. 2020.11.04 c# GIF picturebox 4
  6. 2020.11.04 컴퓨터...
  7. 2020.11.03 라이젠 내장 그래픽 vs RX560
  8. 2020.11.02 오늘의 중고로운 평화장터
  9. 2020.11.02 모니터 고민중..
  10. 2020.11.02 openBMC

epoch로 계산해야 하는줄 알았는데 자릿수가 적어서 고민때리다가 발견

그냥 두자리씩 자르면 된다 -_-

 

GPGGA는 위치와 시간 정보가 들어있는 녀석인데

011557.00은 시간으로

01:15:57.00 UTC (KST는 +9니까 한국은 10시)

 

261020은 날짜로

DD/MM/YY

26/10/20 -> 2020년 10월 26일 로 출력된다.

 

마지막의 CRC만 계산하는 법 찾으면 그냥 라이브러리 만들어서 쓰는게 편할지도?

+

[링크 : https://en.wikipedia.org/wiki/NMEA_0183#C_implementation_of_checksum_generation]

 

$GPGGA,011557.00,3724.048737,N,12659.412849,E,1,27,0.3,90.1,M,18.4,M,,*5E
$GPRMC,011557.00,A,3724.048737,N,12659.412849,E,002.0,069.3,261020,,,A*56

 

 

for example:

$GPRMC,040302.00,A,3209.992,N,11052.530,W,0.00,93.70, 070807,11.30,E*7C

 

I would extract 040302.00 and 070907 and converted to milliseconds of the week (0000 SUnday GMT).

Tuesday August 07, 2007 04:03:02.00 AM UTC  would equal to: 187,382,000 milliseconds

[링크 : https://social.msdn.microsoft.com/.../how-to-convert-gps-utc-time-to-millisecond-of-the-week?forum=netfxbcl]

[링크 : https://blog.naver.com/6k5tvb/120061235070]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

gps 체크섬  (0) 2020.11.17
GPX, NMEA 포맷 변환  (0) 2020.11.05
온프레미스  (0) 2020.10.27
NMEA 포맷  (0) 2020.10.26
NUMA, SMP  (0) 2020.09.25
Posted by 구차니
Programming/c# & winform2020. 11. 5. 15:00

내가 필요한건 NMEA 값을 받아와서 파싱하고

그 값을 내가 원하는대로 수정해서 원래 GPS 데이터로 출력하는 건데..

 

괜찬아 보이는데 쓰기 쉬울려나?

 

 

Features
  • Most common NMEA messages fully supported
    • GNSS: BOD, GGA, GLL, GNS, GSA, GST, GSV, RMB, RMA, RMB, RMC, RTE, VTG, ZDA
    • Garmin Proprietary: PGRME, PGRMZ
    • Trimble Laser Range Finder: PTNLA, PTNLB
    • TruePulse Laser Range Finder: PLTIT
  • Automatic merging of multi-sentence messages for simplified usage.
  • Extensible with custom NMEA messages see here
  • Multiple input devices out of the box
    • System.IO.Stream (all platforms)
    • Emulation from NMEA log file (all platforms)
    • Serial Device: .NET Framework, .NET Core (Windows, Linux, Mac) and Windows Universal.
    • Bluetooth: Windows Universal and Android. .NET Core/.NET Framework is supported using the bluetooth device via the SerialPortDevice.

[링크 : https://www.nuget.org/packages/SharpGIS.NmeaParser/]

[링크 : https://dotmorten.github.io/NmeaParser/api/index.html]

'Programming > c# & winform' 카테고리의 다른 글

c#에서 ini 파일 사용하기  (0) 2020.11.05
C# UTC -> 지역시간  (0) 2020.11.05
c# label rotate  (0) 2020.11.04
c# tooltip  (0) 2020.11.04
c# GIF picturebox  (4) 2020.11.04
Posted by 구차니
Programming/c# & winform2020. 11. 4. 20:42

일일이 돌리려면 죽어 나겠는데 편하게 돌리는 법 없나?

 

[링크 : https://www.codeproject.com/Questions/1103814/How-to-rotate-a-label-by-keeping-autosize-in-Cshar]

[링크 : https://www.c-sharpcorner.com/forums/rotate-a-lable-in-c-sharp]

 

 

+ 2020.11.05

문자열이 얼마나 크게 그려지는지 pixel 단위로 돌려받는 함수.

[링크 : https://docs.microsoft.com/ko-kr/dotnet/api/system.drawing.graphics.measurestring?view=dotnet-plat-ext-3.1]

 

+ 2020.11.05

4분면 마다 다르게 설정해야 하는데 sin/cos 다시 공부하게 생겼다.. ㅠㅠ

아무튼 해당 코드 정상적으로 잘 작동하는 것 확인!

[링크 : https://stackoverflow.com/questions/1371943/c-sharp-vertical-label-in-a-windows-forms]

'Programming > c# & winform' 카테고리의 다른 글

C# UTC -> 지역시간  (0) 2020.11.05
c# gps(nmea parser)  (0) 2020.11.05
c# tooltip  (0) 2020.11.04
c# GIF picturebox  (4) 2020.11.04
C# 큰 이미지를 일부만 그리고 드래그 지원하기  (2) 2020.10.30
Posted by 구차니
Programming/c# & winform2020. 11. 4. 18:16

ToolTip.IsBalloon = true;

 

ToolTip.IsBalloon = false;

 

[링크 : https://stackoverflow.com/questions/9776077/how-can-i-add-a-hint-or-tooltip-to-a-label-in-c-sharp-winforms]

[링크 : http://www.gisdeveloper.co.kr/?p=2244]

Posted by 구차니
Programming/c# & winform2020. 11. 4. 17:51

ImageAnimator 클래스를 이용해서 비트맵과 프레임변경 핸들러를 추가하면

ImageAnimator.UpdateFrames()를 통해 다음 프레임을 원하는대로 그리는 듯

투명도 되려나?

 

using System;
using System.Drawing;
using System.Windows.Forms;
 
namespace BackgroundWorkerTest
{
    public partial class SandGlass : Form
    {
        public SandGlass()
        {
            InitializeComponent();
            this.StartPosition = FormStartPosition.CenterScreen;
        }
 
        Bitmap bit;
        protected override void OnLoad(EventArgs e)
        {
            bit = new Bitmap("sandglass.gif");
            ImageAnimator.Animate(bit, new EventHandler(this.OnFrameChanged));
            base.OnLoad(e);
        }
        protected override void OnPaint(PaintEventArgs e)
        {
            ImageAnimator.UpdateFrames();
            Graphics g = pictureBox1.CreateGraphics();
            g.DrawImage(this.bit, new Point(0, 0));
            base.OnPaint(e);
        }
        private void OnFrameChanged(object sender, EventArgs e)
        {
            this.Invalidate();
        }
    }
}

[링크 : https://blog.naver.com/goldrushing/130184365511]

[링크 : https://docs.microsoft.com/en-us/dotnet/api/system.drawing.imageanimator.animate?view=dotnet-plat-ext-3.1]

Posted by 구차니
개소리 왈왈/컴퓨터2020. 11. 4. 10:42

ryzen 2200g 으로 가는걸로 결정

i5-2500/HD7850에서 플루이드 돌리면 100W 먹고

모니터 20W 정도씩 먹었다고 적어놨는데 (그걸 두개는 켜놧었으니..)

 

2200g 로 4k 동영상 봐도 풀로드 걸어도 100W 미만으로 먹으니 전기측면에서는 괜찮을 듯

게다가 50W급 UHD 모니터만 사면 전기적으로도 dog 이득

 

어느정도 윤곽은 잡혀가는데

돈이 없네? ㅠㅠ

 

 

[링크 : http://www.ppomppu.co.kr/zboard/view.php?id=nas&no=31440&ismobile]

[링크 : https://www.clien.net/service/board/park/11772787]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

zotac GT1030 2GB  (0) 2020.11.12
G4560  (0) 2020.11.11
라이젠 내장 그래픽 vs RX560  (0) 2020.11.03
오늘의 중고로운 평화장터  (0) 2020.11.02
모니터 고민중..  (0) 2020.11.02
Posted by 구차니
개소리 왈왈/컴퓨터2020. 11. 3. 22:14

중고로 가격 보다가 고민중

RX560 + i5-2500으로 버티냐

라이젠 2200g 로 전기세도 아끼냐 고민

 

일단 성능은 3배 정도 차이나네..

 

[링크 : https://gpu.userbenchmark.com/Compare/AMD-RX-Vega-8-Ryzen-iGPU-vs-AMD-RX-560/m441833vs3926]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

G4560  (0) 2020.11.11
컴퓨터...  (0) 2020.11.04
오늘의 중고로운 평화장터  (0) 2020.11.02
모니터 고민중..  (0) 2020.11.02
이것저것 처분중  (2) 2020.11.01
Posted by 구차니
개소리 왈왈/컴퓨터2020. 11. 2. 23:41

VGA to HDMI 와 HDMI 케이블을 5천원에 업어옴

티비가 문제인지 저 컨버터가 문제인지 모르겠지만

1280x800 이런걸로 설정하니 안나오고

녹색이 형광색이 되는 느낌? ㅠㅠ

 

아무튼 오디오까지 잘 전송되서 대만족

express card to usb 3.0 + hdmi usb3.0 두개보다 매우싸게 해결되서 또 대만족 ㅋ

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

컴퓨터...  (0) 2020.11.04
라이젠 내장 그래픽 vs RX560  (0) 2020.11.03
모니터 고민중..  (0) 2020.11.02
이것저것 처분중  (2) 2020.11.01
갤럭시 북 12용 펜  (0) 2020.10.30
Posted by 구차니
개소리 왈왈/컴퓨터2020. 11. 2. 17:45

내 그래픽 카드가 HDMI 2.0 지원하지 안잖아?

안될거야 ㅠㅠ

 

아무튼 중고 구형 살바에는 이거 사는게

돈 + 전기세 아끼는 방법이 될 느낌인데.. 고민되네?

 

[링크 : http://itempage3.auction.co.kr/DetailView.aspx?itemno=C201012560]

[링크 : https://bbs.ruliweb.com/pc/board/320023/read/363912]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

라이젠 내장 그래픽 vs RX560  (0) 2020.11.03
오늘의 중고로운 평화장터  (0) 2020.11.02
이것저것 처분중  (2) 2020.11.01
갤럭시 북 12용 펜  (0) 2020.10.30
ADATA SSD 또 날아가려고 그러니? ㅜㅜ  (0) 2020.10.30
Posted by 구차니
프로그램 사용/openHPC2020. 11. 2. 15:29

 

Currently runs on…
▶ Barreleye, S822LC, S822LC For HPC, P8 Reference
▶ Witherspoon -- P9 AC922LC Power AI and CORAL
▶ P9 reference boards
▶ AST2400 and AST2500 BMC hardware

[링크 : https://cdn.openpowerfoundation.org/wp-content/uploads/2018/11/Andrew-Geissler-OpenBMC-Overview.pdf]

 

Barreleye, S822LC, S822LC

[링크 : https://wiki.raptorcs.com/wiki/OpenPOWER]

 

IBM Power System IC922

P9 reference boards

impitool, redfish 관련 용어 발견

[링크 : http://www.redbooks.ibm.com/redpapers/pdfs/redp5584.pdf]

 

AST2400 and AST2500 BMC hardware

[링크 : http://www.aspeedtech.com/server_ast2400/] 400MHz ARM926EJ 16KB/16KB Cache

[링크 : http://www.aspeedtech.com/server_ast2500/] 800MHz ARM11

 

[링크 : https://en.wikipedia.org/wiki/OpenBMC]

[링크 : https://github.com/openbmc/openbmc]

[링크 : https://github.com/openbmc]

'프로그램 사용 > openHPC' 카테고리의 다른 글

slurm 사용법  (0) 2020.11.16
slurm gpu  (0) 2020.11.16
HPL for CUDA , KNL  (0) 2020.11.02
slurm 계정이 생겼다?  (0) 2020.09.22
torque PBS on ubuntu  (0) 2020.09.21
Posted by 구차니