Open skohlbr opened 7 years ago
Try it like this to run the upload
target of your catkin package:
catkin build --no-deps <base_pkg> --make-args <upload-target>
I'm assuming your package is called hector_mpu6050_imu_driver
, and the rosserial subproject you're trying to upload is called mpu6050_imu
. If not, change it accordingly.
catkin build --no-deps hector_mpu6050_imu_driver --make-args hector_mpu6050_imu_driver_firmware_mpu6050_imu-upload
Let me know if it works, so I can add the instructions to the tutorial for using catkin tools.
Hi @vmatos. I had the same problem as OP and your instructions worked for me. Thanks!
Thanks @messham. Just added the instructions to the Tutorials: http://wiki.ros.org/rosserial_arduino/Tutorials/CMake
So I've been successfully using a pure CMake-based setup (to not depend on the crappy Arduino IDE) using catkin_make. Uploading worked by executing this script: https://github.com/skohlbr/simple_2wd_robot/blob/master/simple_2wd_control_arduino/scripts/upload.sh
When naively replacing
catkin_make
withcatkin build
the script does not work anymore and does not find the target:I've seen #189, which is closed, but no real resolution to the problem is stated there.