Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while uploading firmware into teensy #37

Open
phaneesh2 opened this issue Jul 21, 2023 · 11 comments
Open

Issue while uploading firmware into teensy #37

phaneesh2 opened this issue Jul 21, 2023 · 11 comments

Comments

@phaneesh2
Copy link

I am using linorobot2 ROS2(Galactic) Ubuntu 20.04 Raspberrypi4 teensy3.1
Screenshot 2023-07-21 145228

pio run --target upload -e teensy31

While using above command i am facing issue as mentioned below

Downloading micro-ROS dev dependencies
KeyError: 'galactic':
File "/home/ubuntu/.platformio/penv/lib/python3.8/site-packages/platformio/builder/main.py", line 175:
env.SConscript("$BUILD_SCRIPT")

Help would be much appreciated.

@grassjelly
Copy link
Member

can you try the latest changes in https://github.com/linorobot/linorobot2_hardware/tree/galactic-fix

@phaneesh2
Copy link
Author

phaneesh2 commented Jul 21, 2023 via email

@atticusrussell
Copy link
Contributor

atticusrussell commented Jul 21, 2023

@grassjelly I troubleshot a similar issue in #35 . Would love to get your thoughts on PR #34, which could detect issues like these before a user runs into them and let maintainers know to address them.

I'd love to work on a PR that fixes this issue and #35, but would want to know it would work (through CI) and has a shot at being merged.

@grassjelly
Copy link
Member

hey @atticusrussell commented on your PR

@grassjelly
Copy link
Member

@phaneesh2 could you post what's the error you're getting now?

@atticusrussell
Copy link
Contributor

hey @atticusrussell commented on your PR

@grassjelly I really don't wanna derail this issue off topic, but I can't see any comments from you on PR #34

If comment visibility continues to be an issue, maybe we discuss in a new issue in the repo to keep this one on track.

@atticusrussell
Copy link
Contributor

@phaneesh2 this is a guess and a temporary fix ( read (#35 (comment)) and #35 (comment) for reason), but try the following for me:

In firmware/platformio.ini, try changing
lib_deps = https://github.com/micro-ROS/micro_ros_platformio
to
lib_deps = https://github.com/micro-ROS/micro_ros_platformio#1.0.0

then do the following to install a dependency manually and try again:

cd ~
git clone -b $ROS_DISTRO https://github.com/ros2/rosidl.git
cp -r rosidl/rosidl_typesupport_introspection_c linorobot2_ws/linorobot2_hardware/firmware/.pio/libdeps/teensy31/
cd linorobot2_ws/linorobot2_hardware/firmware/
pio run -e teensy31

@phaneesh2
Copy link
Author

phaneesh2 commented Jul 22, 2023 via email

@phaneesh2
Copy link
Author

phaneesh2 commented Jul 22, 2023 via email

@atticusrussell
Copy link
Contributor

@phaneesh2
Haneesh,
Can you test if the firmware will upload with the 'galactic' branch of this repo? Was recently updated and should work now. If so, could you close this issue?

Your second question should go in a new issue, and we can work it out from there .

Thanks

@bibinthomas007
Copy link

Hello All, I had to come back again related to my earlier issue. Now everything is configured properly with teensy. But some issue with micro ros - agent. ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyACM0 [1690032787.162839] error | TermiosAgentLinux.cpp | init | open device error | device: /dev/ttyACM0, errno: 16 Error while starting serial agent! I tried to control it with a keyboard but the robot is not driving. Looking forward to your reply. Regards, Haneesh P. On Sat, Jul 22, 2023 at 9:22 AM Haneesh Penubolu @.> wrote:

Thanks a lot. I reinstalled everything and it worked with the above link. Thankyou for your support. On Fri, Jul 21, 2023 at 3:01 PM Juan Miguel Jimeno < @.
> wrote: > can you try the latest changes in > https://github.com/linorobot/linorobot2_hardware/tree/galactic-fix > > — > Reply to this email directly, view it on GitHub > <#37 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/A5QDJOPMJY4TYWU6LDBBSB3XRJ4T7ANCNFSM6AAAAAA2SZXLZU > . > You are receiving this because you authored the thread.Message ID: > @.***> >

have you been able to sort it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants