Skip to content

Commit

Permalink
Update ros_lib
Browse files Browse the repository at this point in the history
  • Loading branch information
sktometometo committed Jan 9, 2024
1 parent f6df3dc commit bf2bc34
Show file tree
Hide file tree
Showing 1,431 changed files with 14,577 additions and 7,338 deletions.
79 changes: 0 additions & 79 deletions ros_lib/ros_lib/ArduinoBluetoothHardware.h

This file was deleted.

6 changes: 2 additions & 4 deletions ros_lib/ros_lib/ArduinoHardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <WProgram.h> // Arduino 0022
#endif

#if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__) || defined(__MKL26Z64__)
#if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__) || defined(__MKL26Z64__) || defined(__IMXRT1062__)
#if defined(USE_TEENSY_HW_SERIAL)
#define SERIAL_CLASS HardwareSerial // Teensy HW Serial
#else
Expand Down Expand Up @@ -70,9 +70,7 @@ class ArduinoHardware {
}
ArduinoHardware()
{
#if defined(_SAMD21_) and defined(USE_USBCON)
iostream=&SerialUSB;
#elif defined(USBCON) and !(defined(USE_USBCON))
#if defined(USBCON) and !(defined(USE_USBCON))
/* Leonardo support */
iostream = &Serial1;
#elif defined(USE_TEENSY_HW_SERIAL) or defined(USE_STM32_HW_SERIAL)
Expand Down
8 changes: 4 additions & 4 deletions ros_lib/ros_lib/actionlib/TestAction.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace actionlib
{
}

virtual int serialize(unsigned char *outbuffer) const
virtual int serialize(unsigned char *outbuffer) const override
{
int offset = 0;
offset += this->action_goal.serialize(outbuffer + offset);
Expand All @@ -38,7 +38,7 @@ namespace actionlib
return offset;
}

virtual int deserialize(unsigned char *inbuffer)
virtual int deserialize(unsigned char *inbuffer) override
{
int offset = 0;
offset += this->action_goal.deserialize(inbuffer + offset);
Expand All @@ -47,8 +47,8 @@ namespace actionlib
return offset;
}

const char * getType(){ return "actionlib/TestAction"; };
const char * getMD5(){ return "991e87a72802262dfbe5d1b3cf6efc9a"; };
virtual const char * getType() override { return "actionlib/TestAction"; };
virtual const char * getMD5() override { return "991e87a72802262dfbe5d1b3cf6efc9a"; };

};

Expand Down
8 changes: 4 additions & 4 deletions ros_lib/ros_lib/actionlib/TestActionFeedback.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace actionlib
{
}

virtual int serialize(unsigned char *outbuffer) const
virtual int serialize(unsigned char *outbuffer) const override
{
int offset = 0;
offset += this->header.serialize(outbuffer + offset);
Expand All @@ -38,7 +38,7 @@ namespace actionlib
return offset;
}

virtual int deserialize(unsigned char *inbuffer)
virtual int deserialize(unsigned char *inbuffer) override
{
int offset = 0;
offset += this->header.deserialize(inbuffer + offset);
Expand All @@ -47,8 +47,8 @@ namespace actionlib
return offset;
}

const char * getType(){ return "actionlib/TestActionFeedback"; };
const char * getMD5(){ return "6d3d0bf7fb3dda24779c010a9f3eb7cb"; };
virtual const char * getType() override { return "actionlib/TestActionFeedback"; };
virtual const char * getMD5() override { return "6d3d0bf7fb3dda24779c010a9f3eb7cb"; };

};

Expand Down
8 changes: 4 additions & 4 deletions ros_lib/ros_lib/actionlib/TestActionGoal.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace actionlib
{
}

virtual int serialize(unsigned char *outbuffer) const
virtual int serialize(unsigned char *outbuffer) const override
{
int offset = 0;
offset += this->header.serialize(outbuffer + offset);
Expand All @@ -38,7 +38,7 @@ namespace actionlib
return offset;
}

virtual int deserialize(unsigned char *inbuffer)
virtual int deserialize(unsigned char *inbuffer) override
{
int offset = 0;
offset += this->header.deserialize(inbuffer + offset);
Expand All @@ -47,8 +47,8 @@ namespace actionlib
return offset;
}

const char * getType(){ return "actionlib/TestActionGoal"; };
const char * getMD5(){ return "348369c5b403676156094e8c159720bf"; };
virtual const char * getType() override { return "actionlib/TestActionGoal"; };
virtual const char * getMD5() override { return "348369c5b403676156094e8c159720bf"; };

};

Expand Down
8 changes: 4 additions & 4 deletions ros_lib/ros_lib/actionlib/TestActionResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace actionlib
{
}

virtual int serialize(unsigned char *outbuffer) const
virtual int serialize(unsigned char *outbuffer) const override
{
int offset = 0;
offset += this->header.serialize(outbuffer + offset);
Expand All @@ -38,7 +38,7 @@ namespace actionlib
return offset;
}

virtual int deserialize(unsigned char *inbuffer)
virtual int deserialize(unsigned char *inbuffer) override
{
int offset = 0;
offset += this->header.deserialize(inbuffer + offset);
Expand All @@ -47,8 +47,8 @@ namespace actionlib
return offset;
}

const char * getType(){ return "actionlib/TestActionResult"; };
const char * getMD5(){ return "3d669e3a63aa986c667ea7b0f46ce85e"; };
virtual const char * getType() override { return "actionlib/TestActionResult"; };
virtual const char * getMD5() override { return "3d669e3a63aa986c667ea7b0f46ce85e"; };

};

Expand Down
8 changes: 4 additions & 4 deletions ros_lib/ros_lib/actionlib/TestFeedback.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace actionlib
{
}

virtual int serialize(unsigned char *outbuffer) const
virtual int serialize(unsigned char *outbuffer) const override
{
int offset = 0;
union {
Expand All @@ -36,7 +36,7 @@ namespace actionlib
return offset;
}

virtual int deserialize(unsigned char *inbuffer)
virtual int deserialize(unsigned char *inbuffer) override
{
int offset = 0;
union {
Expand All @@ -53,8 +53,8 @@ namespace actionlib
return offset;
}

const char * getType(){ return "actionlib/TestFeedback"; };
const char * getMD5(){ return "49ceb5b32ea3af22073ede4a0328249e"; };
virtual const char * getType() override { return "actionlib/TestFeedback"; };
virtual const char * getMD5() override { return "49ceb5b32ea3af22073ede4a0328249e"; };

};

Expand Down
8 changes: 4 additions & 4 deletions ros_lib/ros_lib/actionlib/TestGoal.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace actionlib
{
}

virtual int serialize(unsigned char *outbuffer) const
virtual int serialize(unsigned char *outbuffer) const override
{
int offset = 0;
union {
Expand All @@ -36,7 +36,7 @@ namespace actionlib
return offset;
}

virtual int deserialize(unsigned char *inbuffer)
virtual int deserialize(unsigned char *inbuffer) override
{
int offset = 0;
union {
Expand All @@ -53,8 +53,8 @@ namespace actionlib
return offset;
}

const char * getType(){ return "actionlib/TestGoal"; };
const char * getMD5(){ return "18df0149936b7aa95588e3862476ebde"; };
virtual const char * getType() override { return "actionlib/TestGoal"; };
virtual const char * getMD5() override { return "18df0149936b7aa95588e3862476ebde"; };

};

Expand Down
8 changes: 4 additions & 4 deletions ros_lib/ros_lib/actionlib/TestRequestAction.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace actionlib
{
}

virtual int serialize(unsigned char *outbuffer) const
virtual int serialize(unsigned char *outbuffer) const override
{
int offset = 0;
offset += this->action_goal.serialize(outbuffer + offset);
Expand All @@ -38,7 +38,7 @@ namespace actionlib
return offset;
}

virtual int deserialize(unsigned char *inbuffer)
virtual int deserialize(unsigned char *inbuffer) override
{
int offset = 0;
offset += this->action_goal.deserialize(inbuffer + offset);
Expand All @@ -47,8 +47,8 @@ namespace actionlib
return offset;
}

const char * getType(){ return "actionlib/TestRequestAction"; };
const char * getMD5(){ return "dc44b1f4045dbf0d1db54423b3b86b30"; };
virtual const char * getType() override { return "actionlib/TestRequestAction"; };
virtual const char * getMD5() override { return "dc44b1f4045dbf0d1db54423b3b86b30"; };

};

Expand Down
8 changes: 4 additions & 4 deletions ros_lib/ros_lib/actionlib/TestRequestActionFeedback.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace actionlib
{
}

virtual int serialize(unsigned char *outbuffer) const
virtual int serialize(unsigned char *outbuffer) const override
{
int offset = 0;
offset += this->header.serialize(outbuffer + offset);
Expand All @@ -38,7 +38,7 @@ namespace actionlib
return offset;
}

virtual int deserialize(unsigned char *inbuffer)
virtual int deserialize(unsigned char *inbuffer) override
{
int offset = 0;
offset += this->header.deserialize(inbuffer + offset);
Expand All @@ -47,8 +47,8 @@ namespace actionlib
return offset;
}

const char * getType(){ return "actionlib/TestRequestActionFeedback"; };
const char * getMD5(){ return "aae20e09065c3809e8a8e87c4c8953fd"; };
virtual const char * getType() override { return "actionlib/TestRequestActionFeedback"; };
virtual const char * getMD5() override { return "aae20e09065c3809e8a8e87c4c8953fd"; };

};

Expand Down
8 changes: 4 additions & 4 deletions ros_lib/ros_lib/actionlib/TestRequestActionGoal.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace actionlib
{
}

virtual int serialize(unsigned char *outbuffer) const
virtual int serialize(unsigned char *outbuffer) const override
{
int offset = 0;
offset += this->header.serialize(outbuffer + offset);
Expand All @@ -38,7 +38,7 @@ namespace actionlib
return offset;
}

virtual int deserialize(unsigned char *inbuffer)
virtual int deserialize(unsigned char *inbuffer) override
{
int offset = 0;
offset += this->header.deserialize(inbuffer + offset);
Expand All @@ -47,8 +47,8 @@ namespace actionlib
return offset;
}

const char * getType(){ return "actionlib/TestRequestActionGoal"; };
const char * getMD5(){ return "1889556d3fef88f821c7cb004e4251f3"; };
virtual const char * getType() override { return "actionlib/TestRequestActionGoal"; };
virtual const char * getMD5() override { return "1889556d3fef88f821c7cb004e4251f3"; };

};

Expand Down
8 changes: 4 additions & 4 deletions ros_lib/ros_lib/actionlib/TestRequestActionResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace actionlib
{
}

virtual int serialize(unsigned char *outbuffer) const
virtual int serialize(unsigned char *outbuffer) const override
{
int offset = 0;
offset += this->header.serialize(outbuffer + offset);
Expand All @@ -38,7 +38,7 @@ namespace actionlib
return offset;
}

virtual int deserialize(unsigned char *inbuffer)
virtual int deserialize(unsigned char *inbuffer) override
{
int offset = 0;
offset += this->header.deserialize(inbuffer + offset);
Expand All @@ -47,8 +47,8 @@ namespace actionlib
return offset;
}

const char * getType(){ return "actionlib/TestRequestActionResult"; };
const char * getMD5(){ return "0476d1fdf437a3a6e7d6d0e9f5561298"; };
virtual const char * getType() override { return "actionlib/TestRequestActionResult"; };
virtual const char * getMD5() override { return "0476d1fdf437a3a6e7d6d0e9f5561298"; };

};

Expand Down
Loading

0 comments on commit bf2bc34

Please sign in to comment.