Open in app

Sign In

Write

Sign In

Kohei Otsuka
Kohei Otsuka

128 Followers

Home

About

Published in Level Up Coding

·Pinned

ROS Spinning, Threading, Queuing

Effective use of multi spinner threads, different queues in ROS — Robot Operating System (ROS)¹ is a popular framework for developing robotics application. One of the main facilities that ROS provides is the publisher-subscriber communication² that is used for message-passing between components. While it is easy to implement the publisher-subscriber, it is not obvious what is going on underneath it and…

Programming

8 min read

ROS Spinning, Threading, Queuing
ROS Spinning, Threading, Queuing
Programming

8 min read


Published in Level Up Coding

·Pinned

Memory Model Basic

Memory orderings for multi thread programming in C++ — Introduction As many know, since C++11, std::atomic<T> was introduced as a part of the standard library. Probably the most obvious part of the functionality is that each instantiated type of std::atomic<T> can be atomically operated on from different threads without causing any data race. But also, there is another aspect of…

Programming

10 min read

Memory Model Basic — Memory orderings for multi thread programming in C++
Memory Model Basic — Memory orderings for multi thread programming in C++
Programming

10 min read


Mar 1

Understanding std::visit in C++: A Type-Safe Way to Traverse Variant Objects

In this post, we explored the use of std::visit in C++, which is a powerful utility that enables us to apply different functions to a variant object based on its current type. std::visit can be useful in scenarios where we need to handle variant objects with multiple possible types, such…

Programming

4 min read

Understanding std::visit in C++: A Type-Safe Way to Traverse Variant Objects
Understanding std::visit in C++: A Type-Safe Way to Traverse Variant Objects
Programming

4 min read


Dec 8, 2022

Launching CppExpert

Free website to learn C++ interactive way. If you’re looking to learn C++ in a free and enjoyable way, then you’re in luck! There’s a new website that offers just that. …

Cpp

2 min read

Launching CppExpert
Launching CppExpert
Cpp

2 min read


Published in Level Up Coding

·Dec 27, 2020

CMake Variable Scope

add_subdirectory vs include, function vs macro in CMake — Introduction As you may already know, CMake is a popular open source tool that manages the build process of software. With CMake, you can define variables along with a set of directives and instructions to describe your project processes (building, testing, packaging etc). You can consider the variables in CMake like…

Programming

6 min read

CMake Variable Scope
CMake Variable Scope
Programming

6 min read


Published in Level Up Coding

·Jul 24, 2020

C++ Detection Idiom explained

Introduction of the popular meta-programming pattern — Introduction Templates are a useful feature with which we can define a generic function or a generic class that can be used with different types. Among all other cool things you can do with Templates, there is a popular templates technique called “detection idiom”. Detection idiom is a kind of pattern…

Programming

7 min read

C++ Detection Idiom explained
C++ Detection Idiom explained
Programming

7 min read


Published in Level Up Coding

·Jul 14, 2020

Useful Preprocessor Macro Tricks

Effective preprocessor meta programming tips C/C++ preprocessor¹ is a tool that is used to process source codes before the compilation process. The preprocessors process certain directives that begin with hash(#) symbol in source codes. There are several preprocessor directives. …

Software Development

6 min read

Useful Preprocessor Macro Trick
Useful Preprocessor Macro Trick
Software Development

6 min read


Published in Level Up Coding

·Jul 6, 2020

C++ Templates type identity technique

Introduction of “type identity” trick and introduction of std::common_type — Templates are a useful feature with which we can define a generic function or a generic class that can be used with different types. To use the templates function, we need to specify the concrete types as the templates arguments on each call to the function. In practice, explicitly specifying…

Programming

5 min read

C++ Templates type identity technique
C++ Templates type identity technique
Programming

5 min read


Published in Level Up Coding

·Jun 23, 2020

Little endian vs Big endian

Things to know about endianness in programming Endianness The terms endian and endianness refer to the convention that decides the ordering of bytes when processor stores a word data from its register to memory or the other way around, loads a word data from memory to its register. Word data is…

Programming

5 min read

Little endian vs Big endian
Little endian vs Big endian
Programming

5 min read


Jun 19, 2020

How to test a self-driving car

Introduction of X-in-the-loop test method Even though the topic “self-driving car” has become trendy recently, the technology itself had been known for a long time already, more than decades. In fact, there are many companies and academic institutions that successfully demonstrated running self-driving car. However, as of today, we don’t…

Technology

5 min read

How to test a self-driving car
How to test a self-driving car
Technology

5 min read

Kohei Otsuka

Kohei Otsuka

128 Followers

Software architect in automotive industry. Interested in technology, Science. www.linkedin.com/in/koheiotsuka

Following
  • Karl Wiegers

    Karl Wiegers

  • Andreas Stegmann

    Andreas Stegmann

  • Vanand Gasparyan

    Vanand Gasparyan

  • Islam Babaev

    Islam Babaev

  • Guanghua Shu

    Guanghua Shu

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech