-
Notifications
You must be signed in to change notification settings - Fork 31
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
How to properly pass parameters? #6
Comments
I suggest you change the PCA9685_activity.cpp file directly. Once changed don't forget to catkin make the directory. This seems to work for me. |
I'm not seeing any topics published when I run this node. |
I Publish to the node from my motor driver code in python. This motor driver code receives the cmd_vel Twist command and publishes the motor drive commands. self.pub_drive = rospy.Publisher('command', Int32MultiArray, queue_size=1) #command is PCA9685 driver identifier self.drive=Int32MultiArray(data=[-1,-1,left_motor[0],left_motor[1],left_motor[2],right_motor[1],right_motor[2],right_motor[0],-1, |
I have been trying to pass parameters to the node and cant seem to figure out what is going on. Here is what I tried:
rosrun pwm_pca9685 pca9685_node timeout:=[100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100]
but it still runs for 5 seconds. I have also triedrosrun pwm_pca9685 pca9685_node _timeout:=[100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100]
and the same thing. Any advice?The text was updated successfully, but these errors were encountered: