Skip to content

Instantly share code, notes, and snippets.

View LinhIThust's full-sized avatar

LinhIThust

View GitHub Profile
Hướng dẫn sử dụng
@LinhIThust
LinhIThust / Line-Following-Robot
Created January 18, 2021 05:02
Line-Following-Robot
//4:05 PM 12/20/2019
#include "FirebaseESP8266.h"
#include <ESP8266WiFi.h>
#define FIREBASE_HOST "robot-follow-line.firebaseio.com"
#define FIREBASE_AUTH "HsiFZjJrr9YrNiIrNM3vJyMLVjwmX667npAKK6PL"
#define WIFI_SSID "Hien Nguyen"
#define WIFI_PASSWORD "12345678"
int Kp =120;
int Ki=0;
int Kd=160;
@LinhIThust
LinhIThust / template_sub_note
Created December 12, 2020 03:59
create new sub node dds
#include "adas_dds/include/adas_dds.h"
#include "adas_dds/include/adas_dds_topics.h"
namespace adas_dds {
class NodeSubscriber
{
public:
@LinhIThust
LinhIThust / NodePubDDS
Created December 10, 2020 10:59
Example node Pub in DDS
#include "adas_dds/include/adas_dds.h"
#include "adas_dds/include/adas_dds_topics.h"
namespace adas_dds {
class NodePublisher{
public:
NodePublisher(const adas_dds::NodeHandle& ns) :n_(ns){
// set up publisher
msg__publisher_= n_.advertise<adas_dds::VehicleState>("/template_node/string", 1);
}
void publishMsg(const adas_dds::VehicleState& pc_in){

Keybase proof

I hereby claim:

  • I am linhithust on github.
  • I am linhdzet (https://keybase.io/linhdzet) on keybase.
  • I have a public key ASAAhwQlRlqiXPzJPrzzf_OnKUru01q2RsX0LlNiFB2CGQo

To claim this, I am signing this object: