Commit Graph

251 Commits

Author SHA1 Message Date
1efeeef279 CYCLONE DDS COMPATIBILITY: Add start delay in ROS action Server
Even with the previous commits, there still exist race conditions in
which if the Cyclone DDS implementation receives the initial HEARTBEAT
after the message has been sent, it is silently dropped (Volatile behaviour).
And since the Cyclone DDS implementation is ignoring HEARTBEATs of
yet unmatched endpoints (which is what happens to our init HEARTBEAT),
the best way to counter this is to just wait after the reception of the
first Cyclone DDS message (which signifies that it has matched all our
endpoints) until the HEARTBEAT timeout has also sent the respective
initial HEARTBEATs.
2022-04-16 20:01:37 +02:00
6bfcc241c2 Revert CycloneDDS compatibility change
Since we now send a HEARTBEAT on remote endpoint match, we can use the
PUSH_MODE without fear of "losing" messages with Cyclone DDS.
2022-04-16 13:51:31 +02:00
1ed234e85c rtps_writer: Send HEARTBEAT immediately on remote endpoint match 2022-04-16 13:02:28 +02:00
544717a9aa BUG FIX: Fix typename of cancel_goalReply Topic 2022-04-15 16:35:35 +02:00
6724156e72 TIMING CLOSURE: Split main FSM in dds_reader
The sequential logic of the main FSM in dds_reader was just to big to
pass the timing requirement of 50 MHz.
All the DDS READ/TAKE relevant states were removed from the main FSM,
and added to a seperate read FSM. This reduces the state numberes and
state tarnsition logic of the main FSM, allowing it to pass the timing
requirements.
2022-04-14 14:27:09 +02:00
d388e29c36 Convert dds_reader to Vector Endpoint 2022-04-10 11:04:59 +02:00
bc745fdcd9 BUG FIX: Instance memory process of dds_reader was writing to wrong address 2022-04-10 11:04:16 +02:00
ddacbb6d2b code refactoring 2022-04-10 11:04:16 +02:00
5e7ea79887 Convert dds_writer to Vector Endpoint 2022-04-10 11:04:02 +02:00
74af242bcc code refactoring 2022-04-05 17:20:32 +02:00
54602a1f21 Convert rtps_reader to Vector Endpoint 2022-04-05 17:20:22 +02:00
f6fec48a0e Convert rtps_writer to Vector Endpoint
rtps_writer now can be configured to simulate multiple endpoints. All
Testbenched were modified to reflect and test this change.
Packages were extended with array definitions.
2022-04-05 17:18:07 +02:00
979ec2423f Add vector_FIFO 2022-03-20 11:49:41 +01:00
ad03ae6ecd Remove RTPS_OUT_DATA_TYPE and modify rtps_out with generic 2022-03-20 11:49:41 +01:00
ab20cad4d6 code refactoring 2022-03-20 11:49:31 +01:00
70072a51bf Change memory format of rtps_discovery_module to use double linked list 2022-03-13 12:43:13 +01:00
290807f2ae BUG FIX: rtps_reader/rtps_discovery_module GAP Processing
An internal signal was initialized wrongly, and due to various
other reasons (testbench bug, to_integer conversion bug) was not picked
up by the testbenches.
2022-03-13 12:43:13 +01:00
76824037d1 Change memory format of rtps_reader to use double linked list 2022-03-13 12:43:13 +01:00
1e2a835c02 Change memory format of rtps_writer to use double linked list 2022-03-13 12:43:12 +01:00
70f9a08802 Add/Modify synthesis entities to synthesize Fibonacci_ros_action_server
NOTE: Synthesized design does not fit
2022-03-13 12:43:12 +01:00
fba065e59e BUG FIX: Remove inferred Latches 2022-03-13 12:43:12 +01:00
e7ed1eab28 BUG FIX: Change Fibonacci_ros_action_server memory operation guard 2022-03-13 12:43:12 +01:00
27e5b808b0 BUG FIX: Fix instance_handle Port Directions of Writer interfaces 2022-03-13 12:43:12 +01:00
e38c1dcf55 Add Level 2 ROS Action Test (Fibonacci) 2022-03-13 12:43:04 +01:00
90a8aaad19 Add RTPS to ROS time converter 2022-03-09 15:37:10 +01:00
7c423467bc Add multipier implementation 2022-03-09 15:36:32 +01:00
7292cedeb5 Add ROS Action glue logic 2022-03-08 14:03:39 +01:00
bd1f803906 Modify rtps_discovery_module to send a PARTICIPANT Announcement immediately on startup 2022-03-08 14:03:33 +01:00
5f01a94b31 Code refactoring 2022-03-08 13:12:18 +01:00
e4e702ebc4 Add GEN_FIRST_GOAL and GET_NEXT_GOAL opcodes to ROS action server
The functionality was already there, so we just extended the opcodes to
allow the user to also make use of them.
2022-03-08 13:12:11 +01:00
a064a44dc4 Add Fibonacci ROS Action Implementation
A complete ROS action server and client implementation of the
example_interfaces Fibonacci action is done, along with accompaning
testbenches.
2022-03-05 11:47:58 +01:00
b86ef8ec53 Add request ID comparisons to ROS Service Level 1 Tests 2022-03-05 02:19:24 +01:00
6bbb5fc102 Add ROS Action Server implementation 2022-03-04 23:48:51 +01:00
f759f0d201 Code refactoring 2022-03-02 11:00:37 +01:00
cf3daa12b0 Define record for sample_info of DDS Reader 2022-02-19 11:58:40 +01:00
f29df9b41c Add Fibonacci Action Result Service 2022-02-05 15:23:54 +01:00
c6c19299b5 Add Fibonacci Action Goal Service 2022-02-05 15:20:40 +01:00
f9cb1a8d0e Change Testbench String to reflect file names 2022-02-05 13:35:33 +01:00
f1cc87c25f Add ROS CancelGoal Service 2022-02-05 13:35:32 +01:00
c9d4b55d4a Change decoding convention
In muti-word decoding do not call the "FETCH" stage in the
last-to-second sub-stage.
2022-02-05 13:35:20 +01:00
158ab05a4d Add Little Endian tests for Fibonacci_ros_action_feedback and GoalStatusArray_ros 2022-02-04 20:31:49 +01:00
f137e8b06b Add "ros" identifier to ROS files 2022-02-04 18:37:02 +01:00
1e1a896613 Add ROS Publisher/Subscriber Templates 2022-02-03 17:06:01 +01:00
0a84093edd Add GoalStatusArray ROS Publisher/Subscriber 2022-02-03 16:07:38 +01:00
4784ee02ff Change UUID encoding/decoding
For efficiency purposes no memory is generated for the UUID
2022-02-03 16:04:38 +01:00
ba58d1a8ba Add ROS UUID definition 2022-02-03 15:13:42 +01:00
b7fd9bfcfe BUG FIX: Decoder may not read last byte of payload
The SKIP_PAYLOAD stage of decoders would not read the last word
(last_word_in = '1').
The <NAME>_MEMBER_END stage was removed from encoders/decoders, since it
could happen that the last aggregated member of a last collection entry
could also be the last type member overall, which would miss toggling
the "last_word_out" correctly. The logic was instead put inside the last
member stage (instead of defining a separate MEMEBR_END stage).
2022-02-03 15:05:10 +01:00
a26faff89a Move functions between rtps_package and rtps_config_package 2022-02-03 14:35:54 +01:00
dc47f72942 Add Fibonacci Action Feedback Topic 2022-02-01 15:26:58 +01:00
45556ab136 Add ROS Action Documentation/References 2022-02-01 14:58:03 +01:00