Closed CodeBravish closed 4 months ago
Hi,
Did u use the latest version on the main branch? This has been tested against a clean install of Ubuntu 20.04 LTS using apt ros-humble-desktop packages.
Did u setup the ROS environment correctly?
Run
source /opt/ros/humble/setup.bash
or add this to your profile, so it's initialized every time.
Kind regards, Randy
After a reinstall of all ROS packages, I was able to build. Although with these warnings:
Starting >>> mecanumbot_description
Starting >>> mecanumbot_control
Starting >>> mecanumbot_controller
Starting >>> mecanumbot_hardware
Finished <<< mecanumbot_description [0.74s]
Starting >>> mecanumbot_teleop
Finished <<< mecanumbot_hardware [0.98s]
Starting >>> mecanumbot_bringup
Finished <<< mecanumbot_control [1.32s]
Finished <<< mecanumbot_teleop [1.06s]
Finished <<< mecanumbot_bringup [1.57s]
--- stderr: mecanumbot_controller
/home/sahdeek/workspaces/ros2-mecanum-bot/src/mecanumbot_controller/src/mecanumbot_drive_controller.cpp: In member function ‘virtual controller_interface::return_type debict::mecanumbot::controller::MecanumbotDriveController::update(const rclcpp::Time&, const rclcpp::Duration&)’:
/home/sahdeek/workspaces/ros2-mecanum-bot/src/mecanumbot_controller/src/mecanumbot_drive_controller.cpp:60:90: warning: unused parameter ‘time’ [-Wunused-parameter]
60 | type MecanumbotDriveController::update(const rclcpp::Time & time, const rclcpp::Duration & period)
| ~~~~~~~~~~~~~~~~~~~~~^~~~
/home/sahdeek/workspaces/ros2-mecanum-bot/src/mecanumbot_controller/src/mecanumbot_drive_controller.cpp:60:121: warning: unused parameter ‘period’ [-Wunused-parameter]
60 | ler::update(const rclcpp::Time & time, const rclcpp::Duration & period)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
---
Finished <<< mecanumbot_controller [12.5s]
Summary: 6 packages finished [14.1s]
1 package had stderr output: mecanumbot_controller
Sorry for the hasty issue post, kinda on crunch brain right now.
@CodeBravish I'm aware of the warnings. Most of them (if not all warnings) are unused parameters. They have not been removed to resolve the warning as they still have to be implemented correctly.
Kind regards, Randy
Describe the bug Running
colcon build --symlink-install
returns the following error. I tried removing ros-humble-hardware-interface and reinstalling with rosdep but the error remains identical.To Reproduce Steps to reproduce the behaviour:
Operating system
ROS Distro