diff --git a/docs/assets/foxglove.png b/docs/assets/foxglove.png new file mode 100755 index 0000000..96a9961 Binary files /dev/null and b/docs/assets/foxglove.png differ diff --git a/docs/setup.md b/docs/setup.md index 6a8487a..dc63a96 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -339,6 +339,8 @@ ros2 run foxglove_bridge foxglove_bridge --ros-args -p use_sim_time:=true Launch your Foxglove client and open a connection of type _Foxglove WebSocket_ with url `ws://localhost:8765`. +![foxglove example](./assets/foxglove.png) + **Note:** when restarting the simulations and the foxglove_bridge, you might have to restart Foxglove client too to re-establish the connection. ### Recompiling the ROS 2 workspace diff --git a/foxglove/roscon-25-workshop.json b/foxglove/roscon-25-workshop.json index b585b3b..592d46c 100755 --- a/foxglove/roscon-25-workshop.json +++ b/foxglove/roscon-25-workshop.json @@ -3,13 +3,13 @@ "3D!3c6twjg": { "cameraState": { "perspective": true, - "distance": 5.839780486774139, - "phi": 37.84769027445185, - "thetaOffset": 71.76783004554098, + "distance": 11.376001845525893, + "phi": 75.49906642124344, + "thetaOffset": 90.92379334829621, "targetOffset": [ - -1.1470649488131002, - 0.36757256620934675, - -3.6636032303607414e-18 + 4.665970937961196, + -0.14898348825041471, + 4.508385905766857e-18 ], "target": [ 0, @@ -27,7 +27,7 @@ "far": 5000 }, "followMode": "follow-pose", - "followTf": "base_link", + "followTf": "map", "scene": { "enableStats": false, "transforms": { @@ -182,7 +182,7 @@ "isSynced": true, "xAxisVal": "timestamp", "sidebarDimension": 240, - "foxglovePanelTitle": "Drone estimated altitude (ENU)", + "foxglovePanelTitle": "Drone estimated altitude (NED)", "xAxisLabel": "t [s]", "yAxisLabel": "z [m]" } diff --git a/px4_roscon_25/px4_roscon_25/README.md b/px4_roscon_25/px4_roscon_25/README.md index 2020299..08a52ce 100644 --- a/px4_roscon_25/px4_roscon_25/README.md +++ b/px4_roscon_25/px4_roscon_25/README.md @@ -20,5 +20,5 @@ The launchfile will You can use [Foxglove client](https://foxglove.dev/) to visualize the drone position and get other insights. The [roscon-25-workshop](../../foxglove/roscon-25-workshop.json) layout provides 3D visualization, xy-map and altitude plot. -Gazebo, PX4 and QGC are not automatically started by this launchifle. +Gazebo, PX4 and QGC are not automatically started by this launchfile. Please refer to [the setup](../../docs/setup.md) to know more on how to start them.