OTL / cozmo_driver

Anki cozmo ROS driver
Apache License 2.0
77 stars 35 forks source link

cozmo_driver - rosdep Error on Ubuntu 17.10 artful (melodic) #5

Open MiguelAnGuerrero opened 5 years ago

MiguelAnGuerrero commented 5 years ago

Hello, I was in the prosses of installing cozmo_driver using resdep. I am aware that I am using melodic which is not listed as tested on the repository. I just want to see if it works with Ubuntu 17.10. I came across an error when running the command: rosdep install cozmo_driver I got this error: ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: cozmo_driver: No definition of [rviz_imu_plugin] for OS version [artful] Is there a way around this error? Thanks for the help. -Miguel

OTL commented 5 years ago

How about trying to remove the below line?

https://github.com/OTL/cozmo_driver/blob/3c154cc23e694bbbe26fd379da2906943dc9b342/package.xml#L42

I don't know so much about melodic and 17.10.

MiguelAnGuerrero commented 5 years ago

Thank you for your reply. When I remove that line I get this error: ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: cozmo_driver: No definition of [twist_mux] for OS version [artful]

When I remove: <run_depend>twist_mux</run_depend> I get this error: ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: cozmo_driver: No definition of [tf2_msgs] for OS version [artful]

This same error keeps persisting when I remove a run_depend and build_depend. I keep getting: ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: cozmo_driver: No definition of [Any RUN_DEPEND and BUILD_DEPEND] for OS version [artful]

Would it be better if I downgrade Ubuntu to 16.04 to work with ROS Kinetic? Thank you.

OTL commented 5 years ago

I think it needs tf2_msgs at least. I recommend to use LTS Ubuntu(16.04 or 18.04) if you dive into ROS.

MiguelAnGuerrero commented 5 years ago

I'll try it with just tf2_msgs.

If I want to use LTS Ubuntu do I downgrade to Ubuntu 16.04 or do I uninstall Ubuntu 17.10 and reinstall Ubuntu 16.04?