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

: I don't know how to control the DC and servo motors of Jetracer. #142

Open
jaeaehun opened this issue May 11, 2023 · 0 comments
Open

: I don't know how to control the DC and servo motors of Jetracer. #142

jaeaehun opened this issue May 11, 2023 · 0 comments

Comments

@jaeaehun
Copy link

I need to submit my graduation project soon, but my code is not working. I'm using Python code and I'm getting the following error:
I wrote the code like this:
from jetracer.nvidia_racecar import NvidiaRacecar car = NvidiaRacecar()

Then I get the following error:
no module named 'jetracer.nvidia race car'

The code works in Jupyter Notebook, but when I create a python file directly in catkin_ws/src/jetracer_ros/scripts, I get an error. I want to control the Jetracer directly with Python code, like in the "BASIC MOTION" example in Jupyter Notebook. In other words, I want to make the car go forward by writing car.throttle = 0.3 in my code. How can I solve this?

Environment:

Using ROS
Developing on Nomachine
Completed all tutorials except for multi-machine configure (cannot receive ROS msg)
Jetracer does not work with Keyboard Control.

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

1 participant