Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Robomaster_pi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emil Harlan
Robomaster_pi
Commits
904b3bf1
Commit
904b3bf1
authored
1 year ago
by
Emil Harlan
Browse files
Options
Downloads
Patches
Plain Diff
a
parent
f35f1f8b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
robomaster_pi/robot_ros_odom.py
+2
-0
2 additions, 0 deletions
robomaster_pi/robot_ros_odom.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
3 additions
and
1 deletion
robomaster_pi/robot_ros_odom.py
+
2
−
0
View file @
904b3bf1
...
...
@@ -60,6 +60,7 @@ class Robomaster_odom(Node):
def
__init__
(
self
,
ep_chassis
):
super
().
__init__
(
"
robomaster_odom
"
)
def
sub_position_handler
(
position_info
):
print
(
"
handler
"
)
tf_broadcaster
=
TransformBroadcaster
()
...
...
@@ -77,6 +78,7 @@ class Robomaster_odom(Node):
t
.
transform
.
rotation
.
w
=
q
[
3
]
tf_broadcaster
.
sendTransform
(
t
)
print
(
"
ok
"
)
ep_chassis
.
sub_position
(
freq
=
10
,
callback
=
sub_position_handler
)
print
(
"
sub
"
)
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
904b3bf1
...
...
@@ -20,7 +20,7 @@ setup(
tests_require
=
[
'
pytest
'
],
entry_points
=
{
'
console_scripts
'
:
[
"
conn
ection
= robomaster_pi.conn_odom:main
"
,
"
conn
_odom
= robomaster_pi.conn_odom:main
"
,
"
connection = robomaster_pi.connection:main
"
,
"
robot_ros_vel = robomaster_pi.robot_ros_vel:main
"
,
"
robot_ros_odom = robomaster_pi.robot_ros_odom:main
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment