Browse Source

feat: change name

Author: Leon <echo_ai@foxmail.com>
tags/0.3.8-rc
Leon 1 year ago
parent
commit
12b6ae3b99
13 changed files with 27 additions and 21 deletions
  1. +14
    -14
      Cargo.lock
  2. +1
    -1
      Cargo.toml
  3. +0
    -0
      node-hub/dora-kit-car/.env_example
  4. +2
    -2
      node-hub/dora-kit-car/Cargo.toml
  5. +6
    -0
      node-hub/dora-kit-car/README.md
  6. +2
    -2
      node-hub/dora-kit-car/pyproject.toml
  7. +0
    -0
      node-hub/dora-kit-car/src/command.rs
  8. +0
    -0
      node-hub/dora-kit-car/src/config.rs
  9. +0
    -0
      node-hub/dora-kit-car/src/enums.rs
  10. +0
    -0
      node-hub/dora-kit-car/src/error.rs
  11. +0
    -0
      node-hub/dora-kit-car/src/json_data.rs
  12. +1
    -1
      node-hub/dora-kit-car/src/lib.rs
  13. +1
    -1
      node-hub/dora-kit-car/src/main.rs

+ 14
- 14
Cargo.lock View File

@@ -2341,20 +2341,6 @@ dependencies = [
"eyre",
]

[[package]]
name = "dora-chongyoucar"
version = "0.3.7"
dependencies = [
"dora-node-api",
"dotenv",
"eyre",
"pyo3",
"serde",
"serde_json",
"serial",
"thiserror",
]

[[package]]
name = "dora-cli"
version = "0.3.7"
@@ -2493,6 +2479,20 @@ dependencies = [
"uuid",
]

[[package]]
name = "dora-kit-car"
version = "0.3.7"
dependencies = [
"dora-node-api",
"dotenv",
"eyre",
"pyo3",
"serde",
"serde_json",
"serial",
"thiserror",
]

[[package]]
name = "dora-message"
version = "0.4.1"


+ 1
- 1
Cargo.toml View File

@@ -34,7 +34,7 @@ members = [
"node-hub/dora-rerun",
"node-hub/terminal-print",
"node-hub/openai-proxy-server",
"node-hub/dora-chongyoucar",
"node-hub/dora-kit-car",
"libraries/extensions/ros2-bridge",
"libraries/extensions/ros2-bridge/msg-gen",
"libraries/extensions/ros2-bridge/python",


node-hub/dora-chongyoucar/.env_example → node-hub/dora-kit-car/.env_example View File


node-hub/dora-chongyoucar/Cargo.toml → node-hub/dora-kit-car/Cargo.toml View File

@@ -1,5 +1,5 @@
[package]
name = "dora-chongyoucar"
name = "dora-kit-car"
edition = "2021"
version.workspace = true
description.workspace = true
@@ -8,7 +8,7 @@ license.workspace = true
repository.workspace = true

[lib]
name = "dora_chongyoucar"
name = "dora_kit_car"
path = "src/lib.rs"
crate-type = ["lib", "cdylib"]


node-hub/dora-chongyoucar/README.md → node-hub/dora-kit-car/README.md View File

@@ -11,3 +11,9 @@ Accepts an array of six f64's
- six f64 array [x, y, z, rx, ry, rz] only used x, rz

see [https://docs.ros.org/en/noetic/api/geometry_msgs/html/msg/Twist.html](https://docs.ros.org/en/noetic/api/geometry_msgs/html/msg/Twist.html)

## Environment

The default serial port is `/dev/ttyUSB0`

Added definition of default serial port number. Can additionally define the environment variable `SERIAL_PORT`

node-hub/dora-chongyoucar/pyproject.toml → node-hub/dora-kit-car/pyproject.toml View File

@@ -3,10 +3,10 @@ requires = ["maturin>=0.13.2"]
build-backend = "maturin"

[project]
name = "dora-chongyoucar"
name = "dora-kit-car"
version = "0.3.7"
authors = [{ name = "Leon", email = "echo_ai@foxmail.com" }]
description = "Dora Node for chongyoucar"
description = "Dora Node for dora kit car"
readme = "README.md"

[tool.maturin]

node-hub/dora-chongyoucar/src/command.rs → node-hub/dora-kit-car/src/command.rs View File


node-hub/dora-chongyoucar/src/config.rs → node-hub/dora-kit-car/src/config.rs View File


node-hub/dora-chongyoucar/src/enums.rs → node-hub/dora-kit-car/src/enums.rs View File


node-hub/dora-chongyoucar/src/error.rs → node-hub/dora-kit-car/src/error.rs View File


node-hub/dora-chongyoucar/src/json_data.rs → node-hub/dora-kit-car/src/json_data.rs View File


node-hub/dora-chongyoucar/src/lib.rs → node-hub/dora-kit-car/src/lib.rs View File

@@ -88,7 +88,7 @@ fn py_main(_py: Python) -> PyResult<()> {

#[cfg(feature = "python")]
#[pymodule]
fn dora_chongyoucar(_py: Python, m: Bound<'_, PyModule>) -> PyResult<()> {
fn dora_kit_car(_py: Python, m: Bound<'_, PyModule>) -> PyResult<()> {
m.add_function(wrap_pyfunction!(py_main, &m)?)?;
Ok(())
}

node-hub/dora-chongyoucar/src/main.rs → node-hub/dora-kit-car/src/main.rs View File

@@ -2,5 +2,5 @@
// Author:Leon <echo_ai@foxmail.com>

fn main() -> eyre::Result<()> {
dora_chongyoucar::lib_main()
dora_kit_car::lib_main()
}

Loading…
Cancel
Save