the issue
when launching the robot in simulation, the box will appear on the track. We would like to update the world so this is not the case.
a successful fix will be able to remove the boxes from a clean launch, with just the changes directly from this repo.
Steps to recreate this issue.
- Install ROS2 Humble, and ROS2 tools
- Install Webots
- Create your ros workspace, a dir of
ws_name/src
- In
src, clone this repo with Git
- Still in
src, run cat Phoenix/phoenix.repos | vcs import to import source dependencies
- Cd to the workspace root, and run
rosdep install --from-paths src --ignore-src -r -y to install binary dependencies
- Still in workspace root, run
colcon build to build the workspace. If using clang in your IDE,
run colcon build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON (this command takes care of depthai errors)
- If using the compile commands, they are often created in build. Move it to the workspace root, and import it into
your IDE tooling.
- Make sure your user is a part of the unix
dialout group. This allows for it to connect to USB devices. In addition,
make sure you
have set the udev rules for the OAK-d camera,
to allow for it to connect.
The repo should now be built, and launch-able in sim or on the kart.
You can just launch webots with:
ros2 launch phoenix_gazebo common.launch.py
do not forget to source the repo first with . install/setup.bash
the issue
when launching the robot in simulation, the box will appear on the track. We would like to update the world so this is not the case.
a successful fix will be able to remove the boxes from a clean launch, with just the changes directly from this repo.
Steps to recreate this issue.
ws_name/srcsrc, clone this repo with Gitsrc, runcat Phoenix/phoenix.repos | vcs importto import source dependenciesrosdep install --from-paths src --ignore-src -r -yto install binary dependenciescolcon buildto build the workspace. If using clang in your IDE,run
colcon build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON(this command takes care of depthai errors)your IDE tooling.
dialoutgroup. This allows for it to connect to USB devices. In addition,make sure you
have set the udev rules for the OAK-d camera,
to allow for it to connect.
The repo should now be built, and launch-able in sim or on the kart.
You can just launch webots with:
ros2 launch phoenix_gazebo common.launch.pydo not forget to source the repo first with
. install/setup.bash