TSC21
e83a3a6cf7
microRTPS: update RTPS message list naming from 'ids' to 'msgs'
4 years ago
TSC21
0b23679f98
msg: templates: update empy contexts, required fields and license header years
4 years ago
TSC21
ffa70ac0fd
microRTPS: generate_microRTPS_bridge: run fastrtsgen only once for all files
...
Reducing the generation time to a 4th of the time (!!)
4 years ago
TSC21
a8a56a03a4
microRTPS: rename uorb_to_ros_rtps_ids to uorb_to_ros_urtps_topics and remove the 'id' references on it
4 years ago
TSC21
4609949bbb
microRTPS: generate_microRTPS_bridge: only run the generator for the topics that are actually marked to be used
4 years ago
TSC21
695e1fa574
uorb_to_ros_rtps_ids: add an header with a notice regarding the autogneration of the 'px4_ros_com' urtps_bridge_topics.yaml file
...
Although it can be modified manually, we are going to recommend the developer to generate it from the PX4-Autopilot side instead
4 years ago
TSC21
c478e2985a
microRTPS: simplify the attribution of the RTPS IDs by makiing it automatic
...
1. The RTPS IDs are now automatically assigned to the topics
2. Only the topics that get defined to be sent or received in the urtps_bridge_topics.yaml (renamed, since now it doesn't contain IDs) receive the IDs
3. Any addition or removal on the urtps_bridge_topics.yaml file might update the topic IDs - this will require that the agent and the client ID list has to be in sync. This will further require a robustification of the way we check the IDs and the message definitions when starting the bridge.
4 years ago
TSC21
ba3dbbd38d
microRTPS: send the system ID with the RTPS packet header and remove the need for extra id fields in uORB
...
This allows that all messages (not only timesync messages) that get received on the same system that sent them do not get parsed. As the microRTPS agent is built currently, this will only happen right now if someone sets the same UDP port to send and receive data, or by manually changing the agent topics (which were always autogenerated).
4 years ago
TSC21
a10dab516c
timesync: remove system ID field from the timesync message
4 years ago
TSC21
25dbffe1aa
microRTPS: agent: split FMU input from output topics in Pubs/Subs
4 years ago
TSC21
d31b7feb31
microRTPS: agent: publish timesync status
4 years ago
TSC21
a324e5465a
timesync: extend timesync_status message with protocol source field and enum
4 years ago
TSC21
6d4f65a47a
microRTPS: allow timesync using ROS time
4 years ago
Julian Oes
0c9fefce32
urtps: rectify comment
4 years ago
Julian Oes
31b1241de8
uorb_microcdr: collect all messages
...
Without this we are potentially too slow to collect them all which can
lead to the buffer in protocol_splitter to overflow and be reset.
4 years ago
bresch
01d0b8800e
commander: report GNSS yaw fault to user
4 years ago
Beat Küng
86dc35022a
generate_msg_docs.py: simplify logic a bit
4 years ago
Hamish Willee
bf59fd84ba
Add simple comment parser
4 years ago
Beat Küng
da6275e43a
msg: add script structure to generate docs from .msg files
4 years ago
Daniel Agar
93aa6e3f78
ekf2: baro bias publish minor cleanup
...
- naming consistency (estimator prefix as "namespace")
- only publish if baro is available and bias is changing as a small logging optimization
- avoid unnecessary copying (get const reference to status directly)
- trivial code style fixes
4 years ago
Igor Mišić
af2247bd94
mavlink: use dynamic camera comp id instead of hardcoded value
4 years ago
Dima Ponomarev
d08d0443bc
Add internal combustion engine status uavcan bridge and mavlink EFI_STATUS stream
4 years ago
Daniel Agar
713a1d08a3
sensors: add accel/gyro current priority to sensors_status_imu
...
- later the sensor priorities (user configurable) can be factored into the estimator selection criteria
4 years ago
TSC21
205d4400eb
add baro_bias_estimate to RTPS list
4 years ago
Oleg
8fbbf56c4d
microRTPS: fix setting UART communication flags
...
bitwise not should be used instead of logical not
4 years ago
bresch
54c7e74de3
EKF: add baro bias estimator using GNSS altitude
4 years ago
TSC21
e39e3b3418
events interface: chance uORB 'sequence' to 'event_sequence'
...
The reason is that sequence is an IDL reserved keyword, which results on failure when parsing with FastRTPSGen.
4 years ago
Beat Küng
e3972d563a
cmake: ensure generated source files exist before extracting events
...
Only needed for Makefile-based builds:
gmake[3]: *** No rule to make target 'src/modules/flight_mode_manager/FlightTasks_generated.hpp', needed by 'events/px4.json'. Stop.
4 years ago
Beat Küng
38f3b8d356
mavlink & system: add events interface
...
- sending protocol
- uorb event message & template methods for argument packing
- libevents submodule to send common events and handle json files
- cmake maintains a list of all (PX4) source files for the current build
(PX4 modules + libs), which is used to extract event metadata and
generate a json file
4 years ago
Daniel Agar
1b5e65df04
gyro_fft: change default length 1024 -> 512 to decrease latency
...
- change default FFT length (1024 -> 512)
- this doubles the update rate because half the number of samples are required for each
- decrease number of peaks (4 -> 3)
- so far 3 seems to be sufficient on most vehicles
- increase median filter window (3 -> 5)
- decrease SNR requirement (likely needs to be configurable)
4 years ago
Daniel Agar
a5ee28883a
gyro_fft: track FFT peaks and median filter frequency
4 years ago
Matthias Grob
b824f33ae9
battery: publish measured values also when battery not connected
4 years ago
Matthias Grob
9c0c85c9e2
battery_status: naming consistency current_filtered_a -> current_average_a
4 years ago
TSC21
4741ec25ce
microRTPS: increase base message ID space to 179
4 years ago
TSC21
0c5f2d3b8c
microRTPS: add missing header for PRIu32 and PRIu16 macros
...
Co-authored-by: squizz617 <seulbae@gatech.edu>
4 years ago
TSC21
084a992572
microRTPS: agent: only allow to whitelist the localhost when using FastDDS as the rmw
4 years ago
TSC21
79f7986715
apply ROS2 default memory management and publish mode QoS policies; make sure that SharedMemory is only used with FastDDS as the rmw
4 years ago
TSC21
d3a23cee40
microRTPS: agent: fix double free memory problem on SIGINT
...
It fixes also some minor issues when exiting the agent, including the printed stats
4 years ago
TSC21
6d5f12d2a2
microRTPS: client: add TX rate limiter
4 years ago
TSC21
ac2b38603c
microRTPS: client: add missing "-p" option for the UART poll timeout and use microsecs for the send/rcv thread sleeps
4 years ago
TSC21
0cc79f3e48
microRTPS: client: show diagnostic of current bandwidth usage on the 'status' option
4 years ago
TSC21
d6ee15596d
microRTPS: client: show diagnostic of average bandwidth usage on the 'status' option
4 years ago
TSC21
40462bfc1f
microRTPS: client: reduce name set by pthread_setname_np since Linux requires names (with NUL) to fit in 16 chars, otherwise returns ERANGE (34)
4 years ago
TSC21
773d81f208
microRTPS: client: fix send per allocated topic
4 years ago
TSC21
f2fad6d966
microRTPS: by default, when FastDDS >= 2.0, enable Shared Memory transport for the agent participants when the localhost network is enabled
4 years ago
TSC21
320b414511
microRTPS: client: match the code style from the PX4 Firmware
4 years ago
TSC21
63571b3e3f
microRTPS: agent: match the code style from the PX4 Firmware
4 years ago
TSC21
323ce797f8
microRTPS: allow communications only in the localhost network when ROS_LOCALHOST_ONLY env variable is set
4 years ago
TSC21
578e426e9e
microRTPS: set trajectory_waypoint to be sent only, as this is outgoing data with vehicle_trajectory_waypoint_desired
4 years ago
David Sidrane
026d36dee8
microRTPS:Use inttypes
4 years ago